Jump to content

Get attributes' price by ID


Cenzy

Recommended Posts

I'm new in Prestashop and this is my problem:

How can I get the price of an attribute from a combination, having his ID ?

example:

A product has an attribute called "RED" with ID '3'. With shortcut "Combination Generator" I set that attribute with price of $20,00. Can I get that price?

I searched in product.tpl and product.js but nothing...

 

Sorry for bad english. Thank you.

Edited by Cenzy (see edit history)
Link to comment
Share on other sites

  • 6 years later...
On 12/28/2016 at 9:49 AM, hakeryk2 said:

You can show attribute impact for price using the code that I mentioned in the last post in this thread.

 

https://www.prestashop.com/forums/topic/29219-variable-to-display-attribute-price/page-3

Hello, I did not find your code in product.php file. There is no such code. Can you help? Your solution is from year 2009, maybe developers change it since then.

Link to comment
Share on other sites

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...