Hi -I have just updated a site from v9 to v12 (2013). In v9 I have sucessfully used the code below to display prices on thumbnails on section pages:
which was sourced from here:
http://community.actinic.com/showthr...icelist&page=3
When I open my site in v13, the prices do not show on the thumbnails in page preview, or on the site when I publish to web.
Once the site has been published once, the prices show correctly.
Anybody any ideas?
<actinic:block php="true" >$prodprice = '';</actinic:block>
<actinic:block type="ProductList" >
<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductType%22%20%2f%3e%20%21%3d%202" >
<actinic:block php="true" >
if ( trim($prodprice) == '' )
{
$prodprice = <<<ENDOFCODE
<actinic:block type="PriceList" >
<actinic:variable name="TaxInclusivePrice" selectable="false" />
</actinic:block>
ENDOFCODE;
}
</actinic:block>
</actinic:block>
</actinic:block>
<actinic:block php="true" >echo $prodprice;</actinic:block>
<actinic:block type="ProductList" >
<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductType%22%20%2f%3e%20%21%3d%202" >
<actinic:block php="true" >
if ( trim($prodprice) == '' )
{
$prodprice = <<<ENDOFCODE
<actinic:block type="PriceList" >
<actinic:variable name="TaxInclusivePrice" selectable="false" />
</actinic:block>
ENDOFCODE;
}
</actinic:block>
</actinic:block>
</actinic:block>
<actinic:block php="true" >echo $prodprice;</actinic:block>
http://community.actinic.com/showthr...icelist&page=3
When I open my site in v13, the prices do not show on the thumbnails in page preview, or on the site when I publish to web.
Once the site has been published once, the prices show correctly.
Anybody any ideas?
Comment