View Single Post
  #2  
Old 07-17-2020, 04:05 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Product Price Converted to Rewards Points VALUE

You will need custom module to do that and to modify the appropriate template to show the numbers.

You can do something like

{{ (this.getMinListPrice() * 1000) + 5 }}

which will do the math and place it in the template but it looks cumbersome


Code:
<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> <ul class="product-price product-price-range"> <li class="product-price-base"><span class="price product-price min-of-range">{{ (this.getMinListPrice() * 1000) + 5 }}</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.getMaxListPrice() * 1000) + 5 }}</span></li> </ul> </div>
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote