Product Price Converted to Rewards Points VALUE
Hello,
When I had an Xcart 4 (classic) Store, I had someone do a conversion for me where it would automatically convert the Price of the product into the quantity of Rewards Points needed to redeem for the same product, so the shopper could see BOTH Dollar Value & Rewards Points Value needed.
The conversion was:
{math|formatnumeric:',' equation="price * 1000 + 5" price = $product.price}
What needs to be changed in this conversion to work with Xcart 5 Multivendor?
ALSO:
How would the same conversion be added to this Xcart 5 Multivendor template:
<div class="product-price {{ this.getFingerprint() }}">
<ul class="product-price product-price-range">
<li class="product-price-base"><span class="price product-price min-of-range">{{ this.formatPrice(this.getMinListPrice(), this.null, 1)|raw }}</span></li>
<li class="product-price-base"><span class="price product-price range-delimiter">{{ this.getPriceRangeDelimiter() }}</span></li>
<li class="product-price-base"><span class="price product-price max-of-range">{{ this.formatPrice(this.getMaxListPrice(), this.null, 1)|raw }}</span></li>
</ul>
</div>
Thanks in advance for your help.
|