为什么我的相关产品没有显示在我的产品页面上?
我已经去了管理员->管理产品->产品信息页->相关产品
然后我添加了相关产品并保存。
我转到该产品并刷新了页面,但没有任何变化。为什么不呢?
I have gone to admin -> manage product -> product information page -> related products
Then I added a product that is related, and saved.
I went to that product and refreshed the page, but nothing changed. Why not?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
另外,请务必检查您要在“相关产品”中查看的产品是否已在您的购物车中。 Magento 应用了一个默认过滤器,可以从相关产品集合中删除购物车中的商品。
Also, be sure to check that the product you're trying to see in 'Related Products' is not already in your cart. Magento has a default filter applied that removes items in the cart from the related products collection.
解决方案:
参考:Magento 追加销售交叉销售和相关产品未显示
Solution:
Reference: Magento Up-sells Cross-sells and Related products are not showing up
因此,我知道您会在产品信息页面底部显示产品,您应该选择追加销售而不是相关产品。
如果您想要相关产品(我可能会误解您),请执行以下操作:
As a result, I understand that you would show products bottom of the product info page, you should choose upsells instead of related products.
If you want related products ( which I can misunderstanding you ) do following things :
单击相关产品列表顶部的“重置过滤器”按钮。它将列出表中的所有产品。或者您可以清除缓存+重新索引数据。
Click on the "Reset Filter" button on top of the related product listing. It will list all products in table. Or you can clear cache + reindex data.
我有同样的问题。前一段时间后,我发现产品没有在可见性部分中可见,并且产品没有设置在任何网站中。
希望这就是答案,而且应该是答案,因为如果你把一切都设置正确,就不会有任何问题。
I had the same issue. After some time ago, I found that the products are not made to be visible in the visibility section, and that the products are not set to be in any website.
Hope this is the answer, and should be, because if you set up everything right there is nothing that can make problems.
确保产品和相关产品位于同一网站下。添加相关产品时这一点并不明显。
Make sure the product and related product are under the same website. This isn't apparent when adding the relating products.
您可能遇到的一个陷阱是您使用的模板没有右列。在这种情况下,您必须使用 unsetChild 和 insert 来移动相关的产品块。
One possible pitfall you can run into is that you use a template without a right column. In that case you have to use unsetChild and insert to move the related product block.