Swift - make Before text into a tab.
Posted: Thu Aug 11, 2022 11:17 am
You can put text that appears before the first {tab name}... into its own tab.
Edit layout Swift Tabbed Product Description and look for:
Replace it with:
Edit layout Swift Tabbed Product Description and look for:
Code: Select all
echo ($before != '' ? '<div id="tbbefore_<actinic:variable name="EncodedProductAnchor" />" class="tabberbefore">' . $before . '</div>' : '');
Code: Select all
// make any prefix text into a tab
if ($before != '' )
{
$tabcode = '{Description#125;<h3>Product Description</h3>' . $tabcode;
}