Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Very Weird Bug - Cart empties when product added


westkoast

Recommended Posts

I'd like to say at this point I'm pretty familiar with how OSC works, but I cannot figure this bug out that I'm getting:

 

1. Add a product to shopping cart

2. Add a different product to cart and the cart looses all other items

 

This only happens with one type of product, i.e. Baby Tee's. I cannot replicate the error with Womens or Maternity Tee's.

 

If anyone has any ideas, please let me know. I'm stumped for the moment.

 

Link:

http://fortuneteeshirt.com/shop

 

Thanks!

I need to read the rules more often...

Link to comment
Share on other sites

K, I found my problem.

 

echo tep_href_link("product_info.php?products_id=35")

 

I had hard-coded the links on the index page, and OSC was adding a "?oscID=blahbalah" to the end.

 

So the link would appear like this: product_info.php?products_id=35?oscID=adsfsad

 

The extra ? instead of an & was making OSC think it was a new user and the cart would empty.

I need to read the rules more often...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...