Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Add to Cart Button Help

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-22-2006, 08:00 PM
 
alan_ alan_ is offline
 

Member
  
Join Date: Jul 2006
Posts: 20
 

Default 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?
__________________
x-cart-4.0.18gold
Reply With Quote
  #2  
Old 08-23-2006, 02:22 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-23-2006, 05:46 AM
 
alan_ alan_ is offline
 

Member
  
Join Date: Jul 2006
Posts: 20
 

Default 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?
__________________
x-cart-4.0.18gold
Reply With Quote
  #4  
Old 08-23-2006, 05:58 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-23-2006, 06:22 AM
 
alan_ alan_ is offline
 

Member
  
Join Date: Jul 2006
Posts: 20
 

Default 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.
__________________
x-cart-4.0.18gold
Reply With Quote
  #6  
Old 08-23-2006, 06:30 AM
 
alan_ alan_ is offline
 

Member
  
Join Date: Jul 2006
Posts: 20
 

Default 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.
__________________
x-cart-4.0.18gold
Reply With Quote
  #7  
Old 08-23-2006, 06:55 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Add to Cart Button Help

That would do it
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:11 AM.

   

 
X-Cart forums © 2001-2020