• Closed by: Marek
  • Closed on: 15.04.18, 13:49
  • Reason: Closed
  • Comment: Glad to help!

Ticket #11881 - Basket icon not responding after having add a product to basket

Hi Marek,

Since the new update I have a bug regarding the basket. Once you just add a product into the basket, the basket icon is not “responding” anymore (meaning when hovering it the dropdown do not open and when clicking on the icon it does not redirect to the basket page). In order to have it working again, it needs a page refresh (or obviously that the user change of page).

Many thanks in advance for your help,
Nico

Comments

Marek 19 Mar 2018, 23:31

Hi, Nicolas.
It should work now, please check it out

Nicolas Bindels 20 Mar 2018, 09:06

Hi Marek,

It does work for the “clicking” action but not for the “hovering” (when hovering the icon the basket dropdown should appear and it still does not

Marek 20 Mar 2018, 10:40

it works like in the default prestashop theme http://demo.prestashop.com/en/?view=front

Nicolas Bindels 20 Mar 2018, 11:03

I see that you have made this changement on the entire theme (I mean it is not only on my website that it is behaving that way) which in my opinion is less good than before :( Additionally compare to the Prestashop default theme (where you never have a dropdown with the basket content when hovering the basket icon) in your version the dropdown is not appearing when you just had the product (and you do not refrash your page) but as soon as you refresh your page the dropdown is working again (see screenshots attached).

Will you go back to your version (where dropdown appears when hovering the basket icon) or no? If no could you please still adapt mine in order to have it working as before (each time the user hover the basket icon the basket dropdown appears, no need to refresh to have it working)?

Marek 20 Mar 2018, 12:27

“Will you go back to your version (where dropdown appears when hovering the basket icon) or no?” - but it appears after page reloading and it always worked this way

Nicolas Bindels 20 Mar 2018, 14:57

Are you 100% sure about that? :/ I am convinced it was not working that way before… Moreover the fact that a dropdown appears after a page refresh but not before is a strange behaviour (sounds like buggy). To me either there is never a dropdown or always but not related to a page refresh (looks like web 90’s where you had no dynamic on website…)

Nicolas Bindels 20 Mar 2018, 15:00

Additionally the actual behaviour is not the same as the Prestashop default as you said above as on Prestashop default you never have a dropdown (which is not the best to me but at least consistent and does not look buggy/missing dynamics)…

Nicolas Bindels 20 Mar 2018, 15:03

Please really think about the above because I am almost sure it was not acting like that before… (take as proof that even the clicking action was not working on my site before your fixing)

Marek 20 Mar 2018, 22:36

I’ll try to make it appear. For now I can offer you to hide dropdown cart at all like in the default prestashop theme

Nicolas Bindels 20 Mar 2018, 23:02

Hi Marek, thanks a lot for the offer but do not worry it is not too urgent so no need to have intermediate solution but I would be happy to see it appears within 1-2 weeks :)

Marek 20 Mar 2018, 23:02

Ok, I’ll try

Marek 23 Mar 2018, 19:17

Here is what I have found. Open the file /themes/alysum/modules/ps_shoppingcart/ps_shoppingcart.tpl and remove 4 lines like on the screenshot

Nicolas Bindels 25 Mar 2018, 11:38

I did but it does not solve the problem.. :/

Marek 25 Mar 2018, 11:55

I forgot about script. Now it must work

Nicolas Bindels 25 Mar 2018, 11:56

Indeed! Thx a lot!

Marek 25 Mar 2018, 11:57

glad to help