Jump to content

Price combinations in product page


lorenzoripa

Recommended Posts

Good evening,

I would like to show in the product combinations the final price (base price + impact of the combination) directly in the combination selection box.

I found the file I should have to modify the product-variant.tpl code but I can't find the variables it is as if there are no prices in that piece.

image.thumb.png.fe8ac65d60652b866059bf9a9f4da960.png

Can you help me?

Thank you

Link to comment
Share on other sites

  • 1 month later...

Sorry.

I didn't realize it was a little more complicated.
You would need to override the Product.php file, add a function, and then call the function in the TPL template.
Here is the finished module.

https://www.prestatoolbox.com/front-office-features/382-display-attributes-prices-on-your-prestashop-products.html

I also found instructions here (click image):

obrazek.png.12839f6026ac2f81ff302909b9c637b0.png

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...