简体   繁体   English

Magento:快点。 和最大 产品价格(来自关联产品属性价格配置)

[英]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'. 我已经为Shoe XYZ的所有相关产品定义了价格(shoe_xyz_4 / size 4:$ 99,shoe_xyz_5 / size 5:$ 109等),我想显示一个价格“ $ 99- $ 109”。

Any Ideas? 有任何想法吗?

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

$_maximumPriceValue =$_product[max_price];

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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