X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   add to cart button disappeared (https://forum.x-cart.com/showthread.php?t=7781)

sherwood 05-27-2004 05:38 AM

add to cart button disappeared
 
uh oh, hope someone can help with this! My add to cart button on my product pages has disappeared. Im not sure where to go or what to do to get it back....help

Mod King 05-27-2004 06:11 AM

I am not sure what version of x-cart you are running but here is the one on mine. (3.5.7)
Code:

{if $product.forsale ne "B"}
{include file="buttons/add_to_cart.tpl" style="button"}

{if $login ne "" and $active_modules.Wishlist ne ""}
{include file="customer/add2wl.tpl"}
{/if}
{else}
{$lng.txt_pconf_product_is_bundled}
{/if}
{else}
{include file="submit_wo_js.tpl" value=$lng.lbl_add_to_cart}
{/if}
{/if}



Look in your skin1/customer/main/product.tpl

And see if you can find lines similar to those and see if you are missing anything.

If not you may have accidently deleted an image or skin1/buttons/add_to_cart.tpl

sherwood 05-27-2004 06:25 AM

Had to go back into the languages/labels
 
I check the code you supplied (I am using the same version) and it looked fine and the button/add_to_cart.tpl was intact so I went into the languages/labels, reset the value of the add_to_cart and it is working now. Thank you for your help!


All times are GMT -8. The time now is 05:10 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.