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


HOW TO GET FREE UPGRADE TO PERPLEXITY.AI PRO FOR 12 MONTHS AND TESTING PRO FEATURES

HOW TO GET FREE UPGRADE TO PERPLEXITY.AI PRO FOR 12 MONTHS AND TESTING PRO FEATURES

If you spend time researching, comparing, or synthesising information online, you have probably encountered Perplexity.ai — a research-focused assistant that blends large language models with live web search and citation trails. The Pro plan supercharges that experience with priority access to powerful models, higher usage limits, and premium capabilities baked directly into the interface. Right […]

read more
VidTechy: The Ultimate Tool for AI-Powered Video Optimization

VidTechy: The Ultimate Tool for AI-Powered Video Optimization

Unlock the potential of your videos with VidTechy, the ultimate AI-powered tool for seamless video optimization and enhanced viewer engagement.

read more

Like our Page