Jump to content

Cart page products controller

Recommended Posts


I'm using module totautoaddtocart to automatically add products to cart (prestashop 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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