• Resolved gailor

    (@gailor)


    It’s a great plugin, congratulations and thank you, it works for me, I just have a problem, I have several product pages that filter by categories, I use DIVI to create them and the page that is marked as a store in woocommerce (/shop) works perfect, but those that are not in that route but in another as for example /white-labels does not show the buttons to select variation. What can I do to show them on other product pages? my website under construction is: https://6m7.62a.myftpupload.com/

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Aamir

    (@aamiribsf)

    Hello?@gailor ,

    Greetings for the day!

    First of all, thank you for your kind words. We appreciate your positive feedback.

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

    If you want to display the swatches on other pages, you can enable it on any page by using this filter.

     add_filter( 'cfvsw_requires_shop_settings', function( $status ){
    			if( is_page() ) {
    				return true;
    			}
    			return $status;
    		});
    is_page can be replaced by the desired condition.

    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.

    Let me know how it goes

    Thread Starter gailor

    (@gailor)

    Thank you! this worked perfect!

    Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @gailor,

    I’m so glad that we were able to find a solution together. It was a pleasure assisting you and I hope that everything is working smoothly now.

    If you have a few moments, I would really appreciate it if you could leave a positive review on our?WordPress plugin page. Your feedback helps us improve our services and lets other users know that we’re here to help. Plus, it would mean a lot to me personally to know that I was able to assist you to your satisfaction.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘does not show the variation options with a different shop page.’ is closed to new replies.