• Resolved temology

    (@temology)


    Hello,

    I am starting to sue your plugin at seem solving all the problems I wanted! Good Job!

    I have one problem, I want mywebsite.com/shop to have sidebar in the shop view and the vendor page mywebsite.com/vendor/vendor_name not to display the sidebar of the shop.

    Is there a way to do this?

    * given URL-s are just an example to make my question more understandable.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter temology

    (@temology)

    sorry for the typo:
    ** I am starting to USE your plugin )))

    To display the sidebar on the Shop page, please activate the desired WooCommerce widgets (wp-admin >> Appearance >> Widgets) as the Shop page appears from the default WooCommerce’s shop option. And for not displaying the sidebar option on the Vendor Shop page, please deactivate all the WCMp widgets (wp-admin >> Appearance >> Widgets). Hope I am able to cover your concern.

    Regards,
    Rimpa

    Thread Starter temology

    (@temology)

    Thanks for reply! But you didn’t understand the question.

    I want Vendor Shop Page NOT TO SHOW SIDEBAR, and general WooCommerce shop to SHOW SIDEBAR.

    Is there a way to write a code snipped for that?

    Please override the theme template’s content-page-archive.php file, using the below given code snippet.

    if (!is_tax('dc_vendor_shop')) {
            do_action( 'woocommerce_sidebar');
        }

    Hope this will help you.

    Regards,
    Rimpa

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Vendor Page without sidebar’ is closed to new replies.