How to enable sidebar on product details page in Virtue Theme


woocommerceIf you are using Virtue Theme with woocommerce, you might encounter that the sidebar in product details page will not enable even you enable the settings in the Theme Options. No worry, the theme author has release a piece of code For those who want to enable sidebar at product details page. Just a copy and paste and the sidebar will be shown automatically!

virtue enable product sidebar before

To enable product details page sidebar in virtue theme, follow the steps below:-

Advertisements

  • Open your functions.php file and copy and paste the code below at the bottom of the file.
  • Once you save the changes, refresh your product page and you will see the changes like below:-
    virtue enable product sidebar, virtue enable sidebar

Hope this helps!

Related posts:






Share this with your friends:-

Leave a Reply