Upon inspecting our site for Miva 9 functionality, I noticed that &mvt:product:formatted_price; was not displaying correctly for price group customers on the product display page. It works fine on the category display page using the same exact code. I updated to the new template &mvt:product:formatted_base_price; with no luck.
Disclaimer: Product Display uses Sebenza Product Template Manager and this code uses Sebenza Toolkit tucked into a Latu Widget. However, this should not affect the displaying of &mvt:product:formatted_price;
Disclaimer: Product Display uses Sebenza Product Template Manager and this code uses Sebenza Toolkit tucked into a Latu Widget. However, this should not affect the displaying of &mvt:product:formatted_price;
Code:
<mvt:item name="sebenzatools" param="product_lookup|retail|l.all_settings:product:code" /> <mvt:if expr="l.settings:product:price LT l.settings:product:customfield_values:customfields:RTP"> <div id="productRetailPrice"> <span class="productLabel retail">Retail:</span> <span class="productValue retail" itemprop="highPrice">$&mvt:product:customfield_values:customfields:RTP;</span> </div> <mvt:item name="sebenzatools" param="var|yousave|(l.all_settings:product:customfield_values:customfields:RTP - l.all_settings:product:price) ROUND 2" /> <div id="productSavings"> <span class="productLabel savings">You Save:</span> <span class="productValue savings">$&mvt:global:yousave;</span> </div> <div id="productYourPrice"> <span class="productLabel">Your Price:</span> <span itemprop="price"><span class="productValue" itemprop="lowPrice">&mvt:product:formatted_price;</span> </span> </div> <mvt:elseif expr="l.settings:product:price NE 0"> <div id="productPrice"> <span class="productLabel">Retail Price:</span> <span class="productValue" itemprop="price">&mvt:product:formatted_price;</span> </div> <meta itemprop="seller" content="Appalachian Offroad MC" /> <meta itemprop="condition" content="new" /> </span> <mvt:elseif expr="l.settings:product:weight NE 675"> <div id="productNotAvailable"> <p>Product Not Available</p> <p><em>This product is discontinued, superseded<br /> or currently not available to order.</em></p> </div> </mvt:if>
Comment