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


FILMORA 15.2.3 UPDATE: DID IT FIX PLAYBACK JITTER? A PRACTICAL TEST WITH GPU SETTINGS

FILMORA 15.2.3 UPDATE: DID IT FIX PLAYBACK JITTER? A PRACTICAL TEST WITH GPU SETTINGS

Wondershare Filmora has received a new point release, and for many editors the first question is simple. Has this update finally fixed that annoying playback jitter in the preview window. If you have felt a stutter during editing that makes your footage look as if frames are being skipped or shuffled rather than played smoothly, […]

read more
STOP NOISY CALLS: THE ANDROID SETTING YOU SHOULD SWITCH ON TODAY

STOP NOISY CALLS: THE ANDROID SETTING YOU SHOULD SWITCH ON TODAY

Phone calls still matter. Whether you’re speaking to a client, checking in with family, or handling something urgent on the move, clarity can make or break the conversation. If you’ve ever found yourself apologising for the construction noise behind you, the wind across your microphone, or the café chatter muddling your words, there’s an Android […]

read more

Like our Page