get_price_labels

Overview

Accepted Parameters

ParameterValuesDefaultDescriptionRequiredSample
product_idPositive IntegerThe Internal ID Aurora uses to identify a Product.Yes1

Data Returned

FieldValuesDescription
price_typeStringA value of either: product_price, product_price_rrp or product_price_was.
price_labelStringThe user entered value for the Price Label, e.g. the name given to it such as "RRP"
colourStringThe selected colour

Example template code

You can add the following to the product details page:  

    {get_price_labels product_id=$product.id price_labels="price_label_output_variable"}
    <h2>Price label</h2>
    <pre>{$price_label_output_variable|@print_r}</pre>