禁用不同 Magento 商店视图中的产品
我安装了 Magento 多商店(不是多站点),并且某些产品在多个商店中提供。但是,假设在 storeA 和 storeB 中提供的这些产品具有相关产品,但是,相关产品在两个商店中均不可用。
问题是这样的,StoreA 中出现了 Product1,其中有 Product2、Product3 和 Product4 作为相关产品。没问题。产品 1 在 storeB 中也有售,但产品 2-3-4 没有。然而,这些产品虽然未显示在 storeB 的总目录中,但在 storeB 中作为与 Product1 相关的产品可见。
如果我使用下拉列表来管理 storeB 中的产品,并且删除 Product1 中的相关产品,则会从 storeA 中的 Product1 中删除相关产品,这些产品应该在该位置可用。
我无法在“管理属性”中将状态属性更改为 storeview,因为唯一的选择是“全局”或“网站”,而不是“商店视图”。
我可以更改皮肤以显示 UPSELL 产品,并设置不同的 UPSELL 产品,但这将我的商店限制为只有两个。
有什么想法吗?
I have a Magento Multi-Store installation (not multi-site) and some products are available in more than one store. However, these products that are available in, let's say storeA and storeB, have related products, BUT, the related products are not available in both stores.
The problem is this, Product1, which has Product2, Product3, and Product4 as related products, appears in storeA. No Problem. Product1 is also available in storeB, but NOT Product2-3-4. However, those products, though not shown in the general catalog of storeB, are visible as related products to Product1 in storeB.
If I use the drop down to manage products in storeB, and I remove the related products in Product1, it removes the related products from Product1 in storeA, where they should be available.
I cannot change the status attribute to storeview in Manage Attributes, because the only choices are Global or Website, not Store View.
I can change the skin to show UPSELL products instead, and set up different UPSELL products, but that limits my stores to only two.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
StoreView 旨在具有相同的库存、发票等。
因此,您需要将抽象层更改为网站来更改此设置
StoreViews are intended to have the same inventore, invoices, etc.
So you need to change your abstraction-layer to website to changes this
您无法控制每个商店视图的库存,它是全局设置。您可以控制可见性以及是否启用产品。这行代码是如何将每个商店视图设置为不可见的。
这是您可以将其设置为可见的方法
You cannot control inventory per store-view, it's a Global setting. You can control visibility and whether or not the product is enabled. This line of code is how you can set to invisible per-store-view.
This is how you can set it to visible