Product Page Template updates broke Compare button
-
Hello, I recently made a number of customizations to the single product page template and for some reason, the Compare button no longer works. When you click the button, the browser is simply redirected to the homepage for my domain and it seems like the AJAX isn’t firing.
The HTML is still exactly the same for the Compare button itself, and we did not change any of the settings.
<a href="http://www.MYSITE.wp?action=yith-woocompare-add-product&id=2686" class="compare button" data-test="12345" data-product_id="2686" rel="nofollow">Compare</a>
I do not have any console errors before, or after, clicking the Compare button.
I cannot tell what would have changed to break the functionality of the button. Any help would be extremely appreciated – thank you!
- The topic ‘Product Page Template updates broke Compare button’ is closed to new replies.