Magento:可配置的产品选项未显示在视图页面上?
我有多商店 Magento 系统,当我尝试在我的主商店上查看可配置产品时,会发生奇怪的事情 - 选项选择列表根本不显示!主店95%的产品都是如此。
但在其他商店却效果很好?!
我看不出我做错了什么。我的所有产品都是可配置的,所有产品都设置了带有附加选项的简单产品,所有产品都设置为在所有商店上可见(WebsiteIds 属性),所有产品都在所有商店上启用,所有简单产品都有库存并设置了一些库存数量。
我想如果我做错了什么,所有商店都会出现这种情况,而不仅仅是主要商店。我完全没有头绪,请帮忙。我附上了几张图片来看看区别。
http://img51.imageshack.us/img51/3224/59155765.jpg http://img196.imageshack.us/img196/8145/98963713.jpg
I have multi-store Magento system and strange things happen when i try to see a configurable product on my main store - the options select lists don't show up at all! And that is the case for the 95% of the products on the main store.
But on the other stores it works fine?!
I can't see what am I doing wrong. All my products are configurable, all have set simple products with options attached to them, all are set to be visible on all stores (WebsiteIds attribute), all are enabled on all stores, all simple products are in stock and have some stock quantity set.
I think if I've done something wrong it would be like that on all stores, not just the main one. I'm totally clueless, please help. I've attached couple of images to see the difference.
http://img51.imageshack.us/img51/3224/59155765.jpg
http://img196.imageshack.us/img196/8145/98963713.jpg
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否尝试过清除缓存并重建索引?我将重建与产品相关的所有索引(产品属性、产品平面数据、库存状态等)。
Have you tried clearing cache and rebuilding indexes? I would rebuild all indexes related to products (Product Attributes, Product Flat Data, Stock Status, etc).
我认为您的模板可能有问题。请检查此文件:
app/design/frontend/your_theme/default/template/catalog/product/view/type/options/configurable.phtml。
下面的代码是否存在?
var spConfig = new Product.Config(getJsonConfig() ?>);
或者在 Chrome 的控制台调试中仔细检查您的 JavaScript。
祝你好运 :)
I think maybe something goes wrong with your template. Please check this file:
app/design/frontend/your_theme/default/template/catalog/product/view/type/options/configurable.phtml.
The following code is existed or not?
var spConfig = new Product.Config(getJsonConfig() ?>);
Or check carefully your javascript in console debug of Chrome.
Good luck :)