Page 1 of 1

Remove Tab Names from product feeds.

Posted: Wed May 01, 2019 2:59 pm
by norman
To remove the {Tab Name} heading from the product feeds, do the following:

Go to Design / Library / Layouts / TabbeDescriptions.
Right-click UntabbedProductDescription and choode Copy.
Rename that copy to be StrippedProductDescription.
Open StrippedProductDescription and replace the contents with:

Code: Select all

<actinic:block php="true">
// Tabbed Product Description V3.14
$desc = <<<TBPRDSC
<actinic:variable name="ProductDescription" encoding="Strip and Encode" selectable="false" />
echo preg_replace('/&#123;(.*?)&#125;/s', ' ', $desc);
Ok out.

Go to Design / Library / Layouts / XML Feeds / Google Product Feed Layout.
Replace the line:

Code: Select all

				<![CDATA[<actinic:variable encoding="Strip and Encode" name="ProductDescription" />]]>

Code: Select all

				<![CDATA[<actinic:variable name="TabbedDescription" value="StrippedProductDescription" />]]>
Ok out and that should be you fixed.