Magento:同一商店下不同商店视图中的不同产品? [英] Magento: Different products in the different store views under the same store?

查看:128
本文介绍了Magento:同一商店下不同商店视图中的不同产品?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我拥有多个网站,多个存储的Magento商店,并且我需要在一个store_view中提供某些产品,而在另一个store_view中,这两个store_views都是同一商店和网站的一部分,而其他产品则不可用.

I have multi website, multi stored Magento shop, and I have a need to make some products available in one store_view, but not available in the other, where both store_views are part of the same store and website.

我所有的产品都可以通过附加了简单产品的方式进行配置.我想解决这个问题的唯一方法是注册一个新产品属性,通过该属性我可以控制每个产品的去向.这对于产品目录和产品列表非常有用,但是我在单一产品视图和选择可配置产品选项方面遇到了很大的问题.

All my products are configurable with simple products attached to them. Only way I could think of solving this is registering a new product attribute through which I control where each product goes. That works great for the catalog and lists of products, but I have huge problems with single product view and choosing the configurable product options.

我似乎找不到在Magento核心中生成这些选项的位置,因此我可以覆盖该选项,并严格限制每个商店视图的某些选项.基本上,我需要知道这在哪里

I can't seem to find where in Magento core those option are generated, so I could override that and strict some options for each store view. Basically, I need to know where is this

已生成.我的最后一招是通过AJAX进行管理,但是该页面上已经有很多AJAX代码和调用,这会造成混淆.

generated. My last resort would be managing this through AJAX, but there is already a lot of AJAX code and calls in that page that it would be confusing.

我们将不胜感激.

推荐答案

我非常确定上述方法无效,因为属性启用/禁用产品会在网站级别产生影响,而不会存储或存储视图! 因此,如果您确实喜欢tomakun所说,那么该产品将在整个网站上被禁用,而不仅仅是您首先选择的商店视图!

I am pretty sure that the way above is not working because the attribute enable/disable product has impact at website level and not store or store view! So if you do like tomakun says the product will be disabled at the whole website and not just for the store view you choose first!

我遇到了同样的问题,我想将不同的产品全部分配给一个网站,但分配给不同的商店.

I have the same problem that I want to assign different products all to one website but to different stores.

到目前为止,我只是找到了上面的解决方案来更改商店视图级别的可见性.

So far I just found the solution above to change the visibility at store view level.

但我认为这不是最佳解决方案.应该可以在商店级别禁用产品!

But I think this not the optimal solution. It should be possible to disable a product on store level!

这篇关于Magento:同一商店下不同商店视图中的不同产品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆