Last Updated 3 years ago
How to display the lowest price in a custom template location?
You can use the displayLowestProductPrice hook.Optional options are available:
- id_product_attribute = combination ID
- display =
- "alert", to display an information message
- "icon", to show an icon
- enter custom value to render /themes/*/modules/pshowpricelog/views/templates/price_box/.tpl
- skip or leave empty to display the lowest price only
{hook h='displayLowestProductPrice' id_product=5} {hook h='displayLowestProductPrice' id_product=$product.id display='alert'} {hook h='displayLowestProductPrice' id_product=$product.id display='icon'}