• Resolved Tom M

    (@tominthephilippines)


    Hi there,

    I like the plugin which I used in another suite where I used Astra Pro + Woocommerce. But now I am working on a website where I used Jetwoobuilder for my Woocommerce page, and the swatches only seem to work on the single product page. I can’t get it to work on the product archive and shop pages.

    Any tips on this, or is it not possible?

    Thanks in advance.

    Cheers,
    Tom

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @tominthephilippines,

    By default, the variation swatches work on the default WooCommerce shop/archive pages and product pages.

    If you are not using WooCommerce [products] on the shop/archive pages the swatches may not be work.

    If you are using the WooCommerce [products] shortcodes on any page, you can enable swatches using this filtercode.

    add_filter( ‘cfvsw_requires_shop_settings’, function( $status ){

    if( is_page() ) {

    return true;

    }

    return $status;

    });

    If you’re not sure how to use this custom Code, please refer to the following article on our knowledge base:
    How and Where to Add the Custom JS, CSS & PHP Codes?

    Hope this helps.

    Thread Starter Tom M

    (@tominthephilippines)

    Hi Shravan,

    Thanks for your reply. I have added the code to my functions.php, but it doesn’t seem to make a difference. My Woocommerce pages are built with Jetwoobuilder and not with the standard Woocommerce templates or Woocommerce shortcodes, so I guess this won’t work for me.

    I’ll consider changing to the standard Astra Pro pages and see how well I can get the pages styled the way I want and make the variation swatches work on those pages.

    Cheers,
    Tom

    Plugin Support Shravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @tominthephilippines,

    Sure, please test with Astra pages and incase of any issues, please let us know.

    Best,

    Plugin Support Shravan Bhaskaravajjula

    (@bhshravankumar)

    Hello?@tominthephilippines,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to get it working when using Jetwoobuilder?’ is closed to new replies.