In the Library / Layouts / Products, create a set of layouts containing text for each Producer and add them to a Selector called "Producer". In the Selector, check the Allow <No Layout> as an Option checkbox.
Edit layout TabbedProductDescription and look for the line:
Code: Select all
TBPRDSC;
Code: Select all
$producer = <<<TBPROD
<actinic:variable name="Producer" />
TBPROD;
if ( strlen(trim($producer)) )
{
if ( preg_match('/(.*?){}(.*)/s', $desc, $bits) ) // optional {} signifies end of tabbed text
{
$desc = $bits[1] . '{PRODUCER}' . $producer . '{}' . $bits[2];
}
else
{
$desc = $desc . '{PRODUCER}' . $producer;
}
}