PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Disable js / css in all pages except archive / products tags / category pages etc.

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello, i have problem with disable all woof scripts and css in pages not related to woof.

I try :

 

https://c2n.me/44Lom5U.png

but i dont wanna do this like this - i will have 5000 products so... it takes forever.

i try:

if (!is_archive() && !is_admin()) {
return;
}
in woof index.php
but the scripts still exist,  and i have error message:
woof_is_ajax is not defined
at WoofTurboMode_obj.init (turbo_mode.js:107)
please help.

Hello

Try using masks for this setting. An  example /shop/, /product_cat/, /product/

Hello,

yes i try to using it but this is not working..

if i use /product-tag/ ask mask or product-tag for example and i have option yes enabled i see alasql, turbomode etc in woocommerce pages - category pages, product pages.

so it looks like im making something wrong.

And i dont have taxonomies -  /product_cat/ or /product/ - erased by SEO plugin - rank math.

Hello

Please drop me  exact  link to  the  issue

Hello,

im now on localhost ;/

This is my settings:

https://ibb.co/19rVtPC

I think  in those pages woof will be enabled, in others will be disabled.

But i still have woof enabled -  for example product pages.

 

 

 

 

 

Hello

what plugin version number are you using?

Hello,

well the newest -

v.2.2.6

But i have the same problem with older versions too.

I think the problem is because i have category links without  -> / on the end of url.

or because i don't have /product/ or /category/ in the link?

 

Hello

Paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png

i have category links without  -> / on the end of url.   i don't have /product/ or /category/ in the link - this cannot be the cause of the error

try using the full link

Hello,

License added.

Full link makes Woof not working in all pages.

Maybe is localhost?

Maybe is localhost?  - Oh!  Yes it is possible! you should check the variable -  $_SERVER['SCRIPT_URI']  - this feature works based(comparison) on this variable