I want to replace the price on the CTGY page only for products that have volume pricing. Basically I want to replace the price with "Pricing By Volume" for those specific products.
I tried to put in a conditional statement wrapped around the price, but to no avail:
Not sure if this is possible since the volume pricing doesn't actually show up until the PROD page. Would I have to add <mvt:item name="volprice" param="product:id" /> to the CTGY page somehow??
Any suggestions?
I tried to put in a conditional statement wrapped around the price, but to no avail:
<mvt:if expr="l.settings:volprice:table">
<p>Pricing By Volume</p>
<mvt:else>
<mvt:if expr="l.settings:product:base_price GT l.settings:product:price">
<p><strong class="strike">&mvt:product:formatted_base_price;</strong><strong class="red">mvt:product:formatted_price;</strong></p>
<mvt:else>
<p><strong>&mvt:product:formatted_price;</strong></p>
</mvt:if>
</mvt:if>
<p>Pricing By Volume</p>
<mvt:else>
<mvt:if expr="l.settings:product:base_price GT l.settings:product:price">
<p><strong class="strike">&mvt:product:formatted_base_price;</strong><strong class="red">mvt:product:formatted_price;</strong></p>
<mvt:else>
<p><strong>&mvt:product:formatted_price;</strong></p>
</mvt:if>
</mvt:if>
Not sure if this is possible since the volume pricing doesn't actually show up until the PROD page. Would I have to add <mvt:item name="volprice" param="product:id" /> to the CTGY page somehow??
Any suggestions?
Comment