php - Magento: Get min. and max. price for a product (from associated products attributes price configuration)


I try to get minimum and maximum price for a configurable product using its attributes. For example; I have defined prices for all associated products of Shoe XYZ (shoe_xyz_4 / size 4: $99, shoe_xyz_5 / size 5: $109, etc) and I want to display a price '$99—$109'.

Any Ideas?




You can call it as an array like this:

$_maximumPriceValue =$_product[max_price];

People are also looking for solutions to the problem: php - Clickable images instead of dropdown menu


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.