JS Hooks – Struggling to add event listeners to .wps-item with ‘after.ready’
-
Hi there, first of all really appreciate the plugin. Make’s life so easy to integrate Shopify ??
My issue is trying to add an event listener to the actual product divs ‘.wps-item’. I am using the ‘after.ready’ hook but it seems the items are being reinitialised after this hook. I have also tried ‘items.init’ but have the same issue.
Can you please guide me on the best way to add an event listener as I can’t seem to work it out with the hooks that are provided.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘JS Hooks – Struggling to add event listeners to .wps-item with ‘after.ready’’ is closed to new replies.