Zen Cart Logo
Forums / General Questions / Checkout page doesn't load when purchasing a gift certificate

Checkout page doesn't load when purchasing a gift certificate

Views: 1,261

Results 1 to 14 of 14
2 May 2016, 12:03 AM
#1
tk42one avatar

tk42one

New Zenner

Join Date:
Jun 2015
Posts:
27
Plugin Contributions:
0

Checkout page doesn't load when purchasing a gift certificate

Hi all,

Bit of a problem here, I just tried enabling Gift Certificates on my site and everything seems fine except when you proceed to checkout with a GC, then you are greeted with a completely null page and sometimes a "too many redirects" error. Attached are screen caps of my GC product, the attributes and the GC orders module. Anybody know where I went wrong?

NOTE: I've tried disabling FEC and changing back to the default template but I always get the same results.

Attachment 16279
Attachment 16280
Attachment 16281

2 May 2016, 2:16 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Checkout page doesn't load when purchasing a gift certificate

Might be these settings

Product Qty Minimum: leave blank
Product Qty Maximum: 0 = Unlimited, 1 = No Qty Boxes or Max ##
Product Qty Units: leave blank
Product Qty Min/Unit Mix: leave blank

https://www.zen-cart.com/content.php?106-how-do-i-set-up-gift-certificates

2 May 2016, 2:18 AM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Checkout page doesn't load when purchasing a gift certificate

While still reviewing things, I would suggest changing your admin folder's name as soon as possible as it is included in the discussion. If it is the same as your live site, I would suggest changing that as well.

2 May 2016, 4:19 AM
#4
tk42one avatar

tk42one

New Zenner

Join Date:
Jun 2015
Posts:
27
Plugin Contributions:
0

Re: Checkout page doesn't load when purchasing a gift certificate

mc12345678:

While still reviewing things, I would suggest changing your admin folder's name as soon as possible as it is included in the discussion. If it is the same as your live site, I would suggest changing that as well.

thanks for the spot, should of cropped that out :/

2 May 2016, 4:21 AM
#5
tk42one avatar

tk42one

New Zenner

Join Date:
Jun 2015
Posts:
27
Plugin Contributions:
0

Re: Checkout page doesn't load when purchasing a gift certificate

Product Qty Minimum and Product Qty Units auto-filled to '1' each and the Product Qty Min/Unit Mix is a radio selection so i'm not sure what else I could do

2 May 2016, 8:21 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Checkout page doesn't load when purchasing a gift certificate

Product Qty Minimum and Product Qty Units auto-filled to '1' each
Change these auto fill entries
Try selecting the "No" radio button

Just checked and one can not make this blank???

This is what I have that works

Product Qty Minimum: 1
Product Qty Maximum: 0 
Product Qty Units: 1
Product Qty Min/Unit Mix: No
2 May 2016, 2:55 PM
#7
tk42one avatar

tk42one

New Zenner

Join Date:
Jun 2015
Posts:
27
Plugin Contributions:
0

Re: Checkout page doesn't load when purchasing a gift certificate

Just tried with values:

Product Qty Minimum: 1
Product Qty Maximum: 0
Product Qty Units: 1
Product Qty Min/Unit Mix: No

and it's still broke. Same issue as before, null page or "too many redirects" error. Note that checkout works great when not having a GC in the shopping cart.

2 May 2016, 3:16 PM
#8
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,099
Plugin Contributions:
56

Re: Checkout page doesn't load when purchasing a gift certificate

You said a "null page", aka whitescreen ... did you check your installation's /logs folder for any myDEBUG*.log files?

Would you post (or PM) the link to your site so that we can see what's happening for ourselves?

2 May 2016, 3:30 PM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Checkout page doesn't load when purchasing a gift certificate

You say that "checkout" is an issue, but is it at arrival to the shopping cart or when departing the shopping cart towards checkout_shipping/checkout_payment?

If not mistaken FEC does dig into accessing those two pages and would want to know how the includes/modules/pages/problem_page/ files have been modified to affect standard operation. I can't say that turning off FEC completely removes any operation it could possibly do from program flow so it may require removal of files related to it or another plugin.

The reason I call the files into question is because the same response occurs while in your template as well as the classic template which means either the same files were loaded to both template directories (unlikely if maintained as suggested in this forum) or the issue is in a file not overrided which includes the above directory(ies)

2 May 2016, 3:51 PM
#10
tk42one avatar

tk42one

New Zenner

Join Date:
Jun 2015
Posts:
27
Plugin Contributions:
0

Re: Checkout page doesn't load when purchasing a gift certificate

lat9:

You said a "null page", aka whitescreen ... did you check your installation's /logs folder for any myDEBUG*.log files?

Would you post (or PM) the link to your site so that we can see what's happening for ourselves?

Nothing relating to this in my logs and the website is camppacs.com/newsite

2 May 2016, 3:54 PM
#11
tk42one avatar

tk42one

New Zenner

Join Date:
Jun 2015
Posts:
27
Plugin Contributions:
0

Re: Checkout page doesn't load when purchasing a gift certificate

It happened when departing the shopping cart towards checkout_shipping/checkout_payment. However I have got it working! I started disabling other order total modules and when ot_loyalty_discount is disabled it works great! I appreciate all the help, and if anyone has an idea why disabling ot_loyalty_discount fixed it I'd really like to know, I'll be exploring it myself.

2 May 2016, 4:03 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Checkout page doesn't load when purchasing a gift certificate

when ot_loyalty_discount is disabled it works great!
The fact that you had several addon modules installed should have been disclosed up front

I see that you are relatively new - but in the future Please read the posting tips at the top when posting and provide the information outlined there...

Glad you sussed this one though

2 May 2016, 4:05 PM
#13
tk42one avatar

tk42one

New Zenner

Join Date:
Jun 2015
Posts:
27
Plugin Contributions:
0

Re: Checkout page doesn't load when purchasing a gift certificate

will do, sorry if I caused any headaches. I absolutely appreciate the help

2 May 2016, 10:20 PM
#14
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Checkout page doesn't load when purchasing a gift certificate

Those that post here do so (as far as I know) because they want to or are willing to not because they "have to". Good brain teasers tend to keep things interesting and there certainly are learning points throughout the above discussion.

But yes, Monday morning quarterbacking it perhaps that information would have been known to provide and if it were known that "all those" order total modules were a part of the problem this thread probably wouldn't have been started.
‎
While I think the point about answering the questions related to the posting tips has been made, the last thing needed is for someone who has a problem with how their site is operating to not want to post because of receiving such "should have known to post" comments. At least when someone is putting their best foot forward in seeking assistance and answering questions that are asked when insufficient information was originally provided.

Posting the list of order total modules up front for all issues is non-beneficial and it appears was only discovered as a part of ‎following the code from the point where there was no problem to the next location where satisfactory response was to be provided. This is the exact type of review that is helpful in diagnosing the issue whether the OP does so or someone helping does.