Forums / General Questions / move add to cart and cart goes blank

move add to cart and cart goes blank

Locked

Started by shoesocks_com on 24 Dec 2009, 11:52 PM · Views: 727

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Dec 2009, 11:52 PM
#1
shoesocks_com avatar

shoesocks_com

New Zenner

Join Date:
Dec 2009
Posts:
21
Plugin Contributions:
0

move add to cart and cart goes blank

I moved the add to cart code in tpl_product_info_display.php to go underneath my attributes section. I copy the tpl_product_info_display.php file to my templates directory for my custom template. Instead of the add to cart button being moved, my cart goes blank. What could be causing this issue?

24 Dec 2009, 11:54 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: move add to cart and cart goes blank

shoesocks.com:

I moved the add to cart code in tpl_product_info_display.php to go underneath my attributes section. I copy the tpl_product_info_display.php file to my templates directory for my custom template. Instead of the add to cart button being moved, my cart goes blank. What could be causing this issue?

Sh,
Please look at this: You have missed some of the coding while copying and pasting..

https://www.zen-cart.com/tutorials/index.php?article=5

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

25 Dec 2009, 8:14 PM
#3
shoesocks_com avatar

shoesocks_com

New Zenner

Join Date:
Dec 2009
Posts:
21
Plugin Contributions:
0

Re: move add to cart and cart goes blank

That's what I initially thought. I did it a few times with the same results. All of the code is being moved.

25 Dec 2009, 8:32 PM
#4
shoesocks_com avatar

shoesocks_com

New Zenner

Join Date:
Dec 2009
Posts:
21
Plugin Contributions:
0

Re: move add to cart and cart goes blank

So I decided to try something else. I moved the attributes code in the same way as I moved the cart code, and that worked.

25 Dec 2009, 8:45 PM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: move add to cart and cart goes blank

Shoe,
Great, now you are up and working correctly. Thanks for the post back on your fix..

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.