Hi, I've been trying to get this working for days and have all but given up. I want to display both regular price and wholesale price when available on a product. This code works great and behaves as expected except when being applied to a product which also has options enabled (in this case, the product has a wholesale price and color option). Any ideas?
Running v 4.0.19
Code:
{if $product_wholesale ne ""}
{section name=wi loop=$product_wholesale}
{if $smarty.section.wi.last}
<font style="font-weight: normal; font-size: 10px; ">Full Roll:</font> {include file="currency.tpl" value=$product_wholesale[wi].price}
<font style="font-weight: normal; font-size: 10px; ">Partial Roll:</font> {include file="currency.tpl" value=$product.price}
{/if}
{/section}
{else}
{include file="currency.tpl" value=$product.price}
{/if}