Jump to content
bacuri

Cart page products controller

Recommended Posts

Hello,

I'm using module totautoaddtocart to automatically add products to cart (prestashop 1.6.1.3). It works ok but I have error in one situation:

  • I'm adding product to cart and another product adds automatically to cart
  • I go to cart and I remove this automatically added product
  • checkout is set to one page checkout. I'm filling all data address, shipping and payment bankwire
  • then I go to confirm page 
  • from confirm page I go back to change data (e.g. shipping address)
  • back on cart page (opc) automatically added product (removed earlier) appears again. But total sum doesn't contain price of this product. So total sum is ok, but product shows but shouldn't be there
  • when I refresh page products in not present end everything is ok

What can be wrong, maybe some cache? I'd like to debug it. But I don't known where is controller responsible for getting and setting, smarty variable cart with products list.

Thx for any help

Edited by bacuri
Added prestashop version (see edit history)

Share this post


Link to post
Share on other sites

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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More