关系下拉/选择Magento后端中的产品属性

时间:2014-11-23 23:49:26

标签: php magento drop-down-menu

我正在为汽车配件公司开发Magento商店。有许多车辆特定项目需要Make / Model / Year属性,但是我找不到允许创建关系属性下拉列表的扩展 - 我需要三个下拉列表,其选项根据之前的下拉列表选择动态变化,例如:

下拉A有四个车辆制造。选择Make然后使用一组特定选项填充Model下拉列表,依此类推Year下拉列表。

这可能在Magento吗?我查看了一些Make / Model / Year扩展,但它们都是文本输入 - 工作人员输入错误的空间太大。我也尝试过VehicleFits,但它没有工作/抛出很多错误,看起来开发已经停止了。

我搜索过高低,任何帮助都会非常感激。

1 个答案:

答案 0 :(得分:0)

无法在“管理属性”下直接或直接创建相关的产品属性。但是,您可以通过创建可配置产品使您的属性相互依赖。

让我们说你有2种颜色(黑色和蓝色)和2种尺寸(L,XL),你想让你的颜色取决于尺寸。

At first create 2 attributes size and color of type dropdown under Manage attributes and create the attribute options and values. and Assign it to the right attribute set.

Now create the simple products , lets say product A with size L and color Black and product B with color Blue and size XL.

Now create a configurable product lets say AB and associate these two simple products A and B. Save the product.

如果客户打开产品AB,如果他们选择尺寸L,他们只能找到黑色。这就是您可以使产品属性相互依赖的方法。

来源:here

或者这可能是您正在寻找的: 的 http://www.magentocommerce.com/magento-connect/dependent-custom-options-configurable.html

希望它有所帮助。