Announcement

Collapse
No announcement yet.

Points & Loyalty Function

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

    Points & Loyalty Function

    Ok, I give up. Can someone point me to the correct function to display on the product page the amount of points that can be earned for that product.

    #2
    You can find the function here: https://docs.miva.com/how-to-guides/...alty#functions

    HTML Code:
    Product_Points
    Product_Points( basket var, product var, subterm_id, variant_id, quantity, points_information var)
    
    :points_information:base_points = Number
    :points_information:base_points_total = Number
    :points_information:points = Number
    :points_information:points_total = Number
    :points_information:promotions[ x ]:descrip = String
    :points_information:promotions[ x ]:display = Boolean
    :points_information:promotions[ x ]:points = Number
    
    Example
    <mvt:item name="points" param="Product_Points( l.settings:basket, l.settings:product, 0, 0, 1, l.settings:product:points_information )" />
    Nicholas Adkins
    Technical Training Specialist / Miva, Inc.
    [email protected]
    https://www.miva.com/mivalearn

    Comment

    Working...
    X