• Resolved magsmyk00

    (@magsmyk00)


    I would like to disable variant selection on the search results page.
    There is a problem with filtering results and a conflict with the HUSKY – Products Filter Professional for WooCommerce plugin.
    I would like your plugin to work everywhere except the url containing the phrase: “swoof”.
    Example:
    https://domain.com/swoof/attribute-material-gold
    There is a possibility?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    Thanks for reaching out to us. Unfortunately, the link you have given is not working from my side: https://snipboard.io/nydTRo.jpg

    Can you please give us a working link? Hope to hear from you soon.

    Thanks

    Thread Starter magsmyk00

    (@magsmyk00)

    Hi. The link was just an example. I have my store locally.

    Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    Is it a product list page? After filtering, do you have a list of filtered products?

    Could you record me reproducing your issue using a tool like this??https://www.useloom.com
    It helps me to quickly figure out the issue.

    Thread Starter magsmyk00

    (@magsmyk00)

    Yes, this is an archive page with a url with a phrase “swoof”.

    I have products in two colors – silver and gold.

    After selecting a filter using the HUSKY – Products Filter for WooCommerce Professional plugin, they filter correctly,
    but the variant image after loading the js from your plugin changes it to the default variant.

    I would like to disable your plugin on the search results page or, as a last resort, disable the following option:
    “Show default selected attribute swatches on archive / shop page.”

    Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    It seems like your query is not related to our standard/free version.

    As per this support forum rule, we can only provide support for the free version. We can’t provide any support for our commercial product, even any pre-sale-related discussion is not allowed here. Please check this?forum guideline. If you have any questions related to the commercial product, please knock us directly here:?https://getwooplugins.com/tickets/

    Thanks

    Thread Starter magsmyk00

    (@magsmyk00)


    No, I use the free version of your plugin and the free version of the filter plugin

    Plugin Support fizanzvai

    (@fizanzvai)

    “Show default selected attribute swatches on archive / shop page.”

    Please check again. The feature you have mentioned is not available in our free version.

    Thread Starter magsmyk00

    (@magsmyk00)

    I have a paid version on another website and that’s why I asked about this option – for example.
    I want to disable free plugin for one subpage only.

    Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    Yes, this is an archive page with a url with a phrase “swoof”.

    Our free version doesn’t load on the archive page or search page. So, there is no chance to load swatches on the other pages except single product page.

    If you have only the free version and still have swatches on the archive/search page, please kindly do a plugin compatibility check by doing these steps to identify the plugin that loads swatches :

    => Deactivate all of your additional plugins except WooCommerce and WooCommerce Variation Swatches Plugin.

    => See if the problem persists.

    => If the problem is resolved, you can tell which plugin might be the culprit of this error by activating your additional plugins one by one.

    You can also record me reproducing your issue using a tool like this-?https://www.useloom.com
    It helps me to quickly figure out the issue.

    Thread Starter magsmyk00

    (@magsmyk00)

    Ok.
    I have one more question.
    How to remove js from your plugin?
    I tried:
    add_action( ‘wp_footer’, ‘cst_deregister_scripts’, 999999 );

      function cst_deregister_scripts() {

        wp_dequeue_script( ‘wc-add-to-cart-variation’ );

        wp_dequeue_script( ‘wc-add-to-cart-variation-js’ );

        wp_dequeue_script( ‘woo-variation-swatches-js’ );

        wp_dequeue_script( ‘woo-variation-swatches’ );

        wp_dequeue_script( ‘woo-variation-swatches-pro’ );

        wp_dequeue_script( ‘woo-variation-swatches-frontend’ );

    ? }


    but it doesn’t work.
    Could you help me please?

    Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    You can try the following:

    add_action( 'wp_enqueue_scripts', function(){
    	wp_deregister_script( 'woo-variation-swatches' );
    });

    Thanks

    Thread Starter magsmyk00

    (@magsmyk00)

    It works perfectly.
    Many thanks for your help???

    Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    If you found our support helpful, please share some words for us here: https://www.ads-software.com/support/plugin/woo-variation-swatches/reviews/

    It will inspire us a lot.

    Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Disabling the plugin only under a specific URL’ is closed to new replies.