How to display the description tab in Jigoshop Sommerce Theme
May 29, 2012 / by Marco / Categories : jigoshop, TechnologyBy 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:
OTHER ARTICLES YOU MAY LIKE
USING BUTTERNUT.AI TO CREATE PROFESSIONAL WEBSITES
Having a professional and efficient website is crucial for any business looking to thrive online. With the constant advancements in technology, it can be overwhelming to keep up with the latest tools and platforms available for website creation. However, by leveraging the innovative capabilities of Butternut.ai, businesses can maximize their efficiency and create stunning websites […]
read moreEASY AND SIMPLE AI VIDEO EDITING SOFTWARE
Imagine your favourite movie scene transformed into a video in minutes, not hours. Thanks to advancements in technology, editing software has become increasingly user-friendly. Wondershare’s Filmora 14 stands as a prime example, boasting an array of AI features that simplify the editing process, with AI voice capabilities that could turn your voiceover dreams into a […]
read more