简体   繁体   中英

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?

您可以像这样将其称为数组:

$_maximumPriceValue =$_product[max_price];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM