How to display the description tab in Jigoshop Sommerce Theme

May 29, 2012   /   by Marco  / Categories :  jigoshop, Technology

By default, Jigoshop loads the Related products tab when displaying a product. If you want to change this so that another tab (e.g Description) is displayed then follow these instructions:

1. Open the Jigoshop.php file in /wp-content/themes/sommerce/inc
2. From line 212 to 222 replace with the following:

if ( get_the_content() == ” && ! yiw_if_related() && ! $_product->has_attributes() && ! comments_open() )
return;
$current_tab = ‘#tab-description’; /*
if ( yiw_if_related() )
$current_tab = ‘#related-products’;
elseif ( get_the_content() != ” )
$current_tab = ‘#tab-description’;
elseif ( comments_open() )
$current_tab = ‘#tab-reviews’;
elseif ( $_product->has_attributes() )
$current_tab = ‘#tab-attributes’;*/

So it should look like this:

 

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


WHICH TOOLS TO USE WHEN CREATING ONLINE COURSES?

WHICH TOOLS TO USE WHEN CREATING ONLINE COURSES?

Online education has quickly become a widespread tool for any student around the world. It’s convenient, affordable, and allows for greater access to education for those who don’t have the opportunity to attend the courses at a physical location. Online courses are also a great way to supplement traditional education, allowing students to experience more […]

read more
BEST TOOL TO BACKUP MY WEBSITE

BEST TOOL TO BACKUP MY WEBSITE

If you’re an entrepreneur, business owner or simply someone who manages a website, you need to make sure your website is constantly backed up. I use to just write bash scripts on my VPS server to backup the website to an external NAS drive and sometimes the backup process would fail or the storage space […]

read more

Subscribe

Receive the latest news and awesome deals via email

Like our Page

site auditing tools