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 Help (https://forum.x-cart.com/showthread.php?t=24310)

alan_ 08-22-2006 08:00 PM

Add to Cart Button Help
 
How do I go about making it possible for the customer to add an item to their shopping cart without having to use javascript?

balinor 08-23-2006 02:22 AM

Re: Add to Cart Button Help
 
Have them click on the 'If Javascript is disabled click here' link in the login area of the default X-Cart menu.

alan_ 08-23-2006 05:46 AM

Re: Add to Cart Button Help
 
I began testing the cart with javascript disabled, and when I would try to add a product to the shopping cart, I would be taken to the shopping cart page, where it should display the product I just attempted to add. On the cart page though, it displays "Your shopping cart is empty", so I assumed I was missing a setting to allow customers with javascript disabled to order products.

After I enabled javascript, when I add a product I get the same message on cart.php as I get with javascript disabled.

Is there some obscure setting I'm missing to allow customers to add products to their shopping carts?

balinor 08-23-2006 05:58 AM

Re: Add to Cart Button Help
 
Do you happen to be using Internet Explorer with the security settings set to 'High'? Also make sure you have cookies enabled.

alan_ 08-23-2006 06:22 AM

Re: Add to Cart Button Help
 
I have been testing in firefox, and I just tested in IE with the security settings set at various levels and I still get the same results.

alan_ 08-23-2006 06:30 AM

Re: Add to Cart Button Help
 
I figured it out...for some reason i commented out
Code:

<INPUT type="hidden" name="amount" value="1">

Thanks for your help Ryan.

balinor 08-23-2006 06:55 AM

Re: Add to Cart Button Help
 
That would do it :)


All times are GMT -8. The time now is 03:48 AM.

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