设置用户不同的属性路径?
我想要做的是有一个产品页面,其中包含一个名为“选择您的路径”的属性,例如,其中包含 2 个选项。如果用户选择选项 1,他们将沿着这条路径设置一组可用的新属性,我们将它们称为属性 a、b 和 c。但如果用户选择选项 2,则可以使用一组完全不同的属性,我们将这些属性称为 d、e 和 f。
这个功能是默认内置到magento中的吗?或者类似的东西?或者是否有一些扩展可以做类似的事情?
what im looking to do is have a product page with a single attribute called “choose your path” for example, which contains 2 options. if the user chooses option 1, they are set down this path with a set of new attributes available to them, lets call them attributes a, b, and c. but if the user chooses option 2, a completely different set of attributes becomes available, lets call those attributes d, e, and f.
is this functionality built into magento by default? or anything like this? or is there some extension available somewhere that does something similar?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这不是 Magento 中内置的东西,并且使用现有的属性机制来做到这一点意味着您必须使它们成为非必需的(这不是最佳的)。
我的建议是为此使用 2 个产品(每个路径一个),并提供一种消歧页面,让您选择这两个产品之一。这样做的缺点是您将很难正确跟踪产品的库存。这可以通过使用可配置产品而不是具有所需选项的简单产品来解决。
希望有帮助!
谢谢,
乔
This is not something that is built into Magento, and to do it with existing attribute mechanisms will mean that you have to make them non-required (which is nonoptimal).
My suggestion would be to use 2 products for this (one for each path), and to have a sort of disambiguation page that lets you choose one of the two products. The downside to this is that you will have a more difficult time tracking the inventory on your products properly. This may be solveable by using configurable products rather than simple ones with required options.
Hope that helps!
Thanks,
Joe