Jump to content

blockwishlist doesn't work with ajax page change (vue.js)


Recommended Posts

Hi, i'm using the blockwishlist module

https://github.com/PrestaShop/blockwishlist/commit/1446b1084b2a2231e789e52d8d62c863d420abb3

but the wishlist button doesn't appear when page is changed. I've found in _dev folder a MutationObserver that should listen #products and initialize the buttons again on dom change, but it doesn't work.. 

I'm testing this problem in a dev server, you can check it here (change page and button will not appear).

https://dev.produceshop.it/arredamento-interni

That's impossible to debug vue.js compiled bundle code, maybe someone who know vue.js can see the problem.
I've checked the selectors and mutation observer is placed correctly on #products so I don't know why is not working.

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

  • Pandal changed the title to blockwishlist doesn't work with ajax page change (vue.js)

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