show percentage value from product price with html box pro module for prestashop

I wonder if you can help me. I have HTML Box pro from you.

My problem:
I have a product i sell that the customer get 25% back from the goverment in Sweden.
I want to show are customers on product list page and product page how much they get back on the product.

The product we sell (Electric bike) have diffrent prices so the customer will gett back diffrent amount but always 25%. Is there a HTML code i can put in that conects with the product price so the customer can see total what they will get back.

PrestaShop expert answer
i analysed your expectactions and updated the module to support the feature you need.
now you can use variable:
{product_price_tax_excl*X} - where x is a number (it will be a math calculation)
{product_price_tax_incl*X} - where x is a number (it will be a math calculation)

so you can use:

if you will use these shortcodes in hook that is executed on list of products (for example displayProductDeliveryTime) - module will show the value you expect :)

please update module to v3.2.4, you will be able to use these shortcodes then
Share on Google Plus


This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment


Post a Comment