Announcement

Collapse
No announcement yet.

Runtime_Product_Load_ID Function Doesn't Show Discounting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Runtime_Product_Load_ID Function Doesn't Show Discounting

    Is there another function like Runtime_Product_Load_ID() that will show discounting? In this particular instance, its not showing a 'customer' level discount for specific price.
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    #2
    Here is the function:

    <mvt:do name="l.success" file="g.module_feature_tui_ut" value="CommonComponentFields_Initialize_Product_Di scounts_Runtime( l.settings:products, g.product_count )" />

    Here is link to code sample:

    https://docs.miva.com/code-samples/d...discount-price

    If you are on a product page you can check the 'Calculate Predicted Discounts and Sale Price' checkbox on the display tab.

    Here is a code snippet I use on a Product page:

    Code:
            <div>
            <mvt:if expr="l.settings:product:discount_count" >
            <div>Discounts Applied</div>
                <div>Retail: &mvt:product:formatted_retail;</div>
                <mvt:foreach iterator="discount" array="product:discounts">
                    <div>&mvt:discount:descrip; - &mvt:discount:formatted_discount;</div>
                </mvt:foreach>
            <mvt:else>
                  <div>Discounts available for this item. <a href="&mvte:urls:LOGN:secure;" title="Account Log-In">Log-in</a>.</div>
            </mvt:if>
            </div>
    http://www.alphabetsigns.com/

    Comment

    Working...
    X