购物车价格规则

Magento版本:1.14.2.0

产品属性和产品属性分配部分之间有什么区别 状况 创建规则时选项卡?

两者都包含相同的选项集可供选择,但两者之间有什么区别。enter image description here

有帮助吗?

解决方案

两个部分之间的区别如下:

  • Product Attribute 条目可用于根据以下条件选择产品 价值 产品属性,使用以下运算符之一: is, is not, equals or greater than, equals or less than, greater than, less than, contains, does not contain, is one ofis not one of (产品属性的输入类型决定了可以使用这些运算符中的哪一个)。
  • Product Attribute Assigned 条目可用于根据产品属性是否是产品来选择产品 分配的 到一个产品。看看实际执行情况 Mage_SalesRule_Model_Rule_Condition_Product_Attribute_Assigned::validate 方法,当满足以下两个条件时,将产品属性分配给产品:
    1. 该属性包含在产品的 属性集.
    2. 产品的产品类型包含在属性中 适用产品类型.
许可以下: CC-BY-SA归因
scroll top