E-junkie - We help you sell online
World Class Solution - Damon @ PayPal
Sell & promote your products Join affiliate programs offered by sellers Shop Community
  Google Custom Search

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Variants always replaced instead of added to cart



oVan
member
Posts: 12


Hi! After much trying, I've finally finished my shopping module that allows variants to be selected and added to the cart. The problem is that every time I add a product to the cart, this totally replaces whatever there is in the cart.
At some point in development I had it working, but I can't find what the problem is. I suspect the "this" reference to EJEJC_lc has something to do with it?

Here's the test page: http://test.tierkrematorium.superwasp.net/urnen.aspx

Any idea or suggestion is welcome! Thanks...


#
POSTED ON: January 16, 2009 @ 08:11 GMT -7




oVan
member
Posts: 12


Some more info:
If I open these urls manually, they add to a cart correctly, although that cart is not the same as the one I see with ViewCart.
https://www.e-junkie.com/ecom/gb.php?c=cart&cl=4646&i=u002&ejc=2& o1=Small
https://www.e-junkie.com/ecom/gb.php?c=cart&cl=4646&i=u001&ejc=2& o1=Red&o2=Small


#
POSTED ON: January 16, 2009 @ 08:29 GMT -7




oVan
member
Posts: 12


Somehow I made it work, but I have no idea what the problem was. Isn't there any in-depth information on the EJEJC_lc function, so that debugging a problem like this is easier?


#
POSTED ON: January 16, 2009 @ 09:48 GMT -7




Tyson
E-Junkie Crew
Posts: 1486


Glad to hear you resolved the problem. Did you happen to clear your browser cookies at any point, or switch to using a different browser or computer? Sometimes when a Merchant is editing settings in Admin while also testing a cart at the same time, the browser cookie we set to track their cart's contents can get confused, so deleting your cookies or using a different browser resolves that issue.


#
POSTED ON: January 18, 2009 @ 13:15 GMT -7




oVan
member
Posts: 12


Hi Tyson. I might have switched from notebook to workstation at that point. It's good to know that cookies could be responsible for this behavior, thanks!


#
POSTED ON: January 19, 2009 @ 00:09 GMT -7


You must be logged in to make a post. Please click here to login.

PayPal Certified Integration Google Checkout Certified Integrattion 30 Day Money Back Guarantee Slam the Online Scam
 Share this page!