Plugin Author
taisho
(@taisho)
Hello,
the plugin is not loaded on the linked page. By default, it is loaded only on the following WooCommerce pages: cart, product, shop, and category. I see that on product and cart page the plugin works correctly.
You can look for the following line in plugin’s .php file and comment it:
if (! is_cart() && ! is_product() && ! is_shop() && ! is_product_category()) return;
Then the plugin will load on all pages. Or you can apply a more robust solution and add another “!” condition that will get the current page URL and compare it with your page URL, therefore making this single link a single additional page where the plugin is loaded.
I’m receiving similar reports lately, so I’ll add an option to load the plugin on all pages (off by default) in my next release that will ignore the line I’ve pasted above.
Best regards,
Ryszard
Thread Starter
grabou
(@grabou)
Thanks for the reply and I will give that a go. Just to be clear, the plug in does add the increment buttons to the quick view pop up, they just don’t work.
The pop up is seen by clicking on the picture or name of item (I couldn’t work out how to paste the snip unfortunately).
Will your above solution still work given that the plugin seems to partially load on the page already?
Thanks,
Graham
Thread Starter
grabou
(@grabou)
Worked perfectly. Thanks!