Jump to content

[Solved} Blockcart JSON retaining old values


yesdev

Recommended Posts

I'm having a fairly unique issue with the cart logic at the moment.

 

I've added in a couple of extra variables to be passed from the product page to the cart. When a customer adds in a second variant of the same product into the cart it's retaining the old values & duplicating when it should be seen as a separate product attribute variant

 

I've tried a JQuery form reset of the product page and the blockcart-json.tpl file is still reporting the earlier values.

 

e.g. Customer enters a value of 1200 for one variant of product. Adds to cart fine.

Customer then enters a value of 925 for 2nd variant of same product. Instead of it being seen as a separate variant, it ends up being seen as a duplicate of 1st product added.

 

Any ideas on how to fix this? - NVM fixed it

Edited by yesdev (see edit history)
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...