Jump to content

BUG - Block Cart error - PS 1.5.3.1


Recommended Posts

As you can see in attachment, when you position cart module to side column, the module do not run properly (probably JAVASCRIPT). There are problems:

  1. When you ad product do cart, it does not display in cart in right column (just in cart module on header). It only updates the price, shipping price, but it still writes no products. You have to reload the page to see the product in cart.
  2. When you want to delete the product by clicking on X button in cart in right column, it does not erase the product.

Both these cases works OK in cart in header, it just does not work in side column module.

 

Does have anybody any idea WHY?

Link to comment
Share on other sites

Please post this as a bug on the Forge, I have the same issue and have not found a solution yet.

If you notice when you click the delete button in the column cart the price disappears on first click if you click again products will be removed, but then the cart slightly collapses and the words No Products do not appear until you refresh.

Link to comment
Share on other sites

Please post this as a bug on the Forge, I have the same issue and have not found a solution yet.

If you notice when you click the delete button in the column cart the price disappears on first click if you click again products will be removed, but then the cart slightly collapses and the words No Products do not appear until you refresh.

 

Exactly same cart behaving.

 

Since i know that PS 1.5.1 did not have these problem I just copy the cart module form 1.5.1 do 1.5.3.1 ant it runs better.

It sowed the first problem, so I am able to add product do cart . But the sencond is the same. You have to click twice to delete the product.

Since the 1st problem was vital and the 2nd just small one, I and add to this topic partially SOLVED.

Link to comment
Share on other sites

  • 3 weeks later...

Hi !

 

I had exactly the same bug. I fixed it by copying the cart module from 1.5.1 and by editing the ajax-cart.js at line 310 and by replacing :

$('#'+removedIdProduct).addClass[...]

... by the following :

$(this).addClass[...]

 

It works for me.

(excuse my english)

Edited by demon-of-the-fall (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...

i update for prestashop 1.5.4.1 but 1.5.6.2 I do not know, sorry

and fix this problem? 

As you can see in attachment, when you position cart module to side column, the module do not run properly (probably JAVASCRIPT).There are problems:

  • When you ad product do cart, it does not display in cart in right column (just in cart module on header). It only updates the price, shipping price, but it still writes no products. You have to reload the page to see the product in cart.
  • When you want to delete the product by clicking on X button in cart in right column, it does not erase the product.

Both these cases works OK in cart in header, it just does not work in side column module.

 

Does have anybody any idea WHY? 

Link to comment
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...