简体   繁体   English

magento1.7.0.2前端中显示的禁用产品

[英]Disabled products showing in magento1.7.0.2 front end

I am working with magento 1.7.0.2. 我正在使用magento 1.7.0.2。

I have disabled some products in magento admin and flush all magento cache and reindexed all data properly.but disabled products still showing on magento frontend. 我已经禁用了magento管理员中的某些产品,并刷新了所有magento缓存并正确地重新索引了所有数据。但是禁用的产品仍显示在magento前端上。

I want only enabled products showing on front end. 我只希望启用的产品显示在前端。

If you have a Multi-store setup it's possible you have disabled the products for one store font/store/website and not for the website you wanted. 如果您有一个多商店设置,则可能已禁用了一个商店字体/商店/网站的产品,而不是您想要的网站的产品。

You can enable/disable for each store front separately, or if you select default store from the dropdown store selector in the admin, this will disable for all stores (unless you have also overridden this setting on a lower level). 您可以分别为每个店面启用/禁用,或者如果您从管理员的下拉存储区选择器中选择默认商店,则这将对所有商店禁用(除非您也已在较低级别覆盖了此设置)。

You could goto the edit product page, and then use the store selector dropdown to check the settings in each store front / store to ensure you have disabled properly. 您可以转到编辑产品页面,然后使用商店选择器下拉菜单来检查每个商店/商店中的设置,以确保已正确禁用。

Is there a probability that your template code has not been implemented logically so your collection is grabbing disabled products as well. 您的模板代码是否有可能未在逻辑上实现,因此您的馆藏也正在抢占禁用产品。

I recommend you to switch to default theme that comes with Magento and check whether those products are still being displayed. 我建议您切换到Magento随附的默认主题,并检查这些产品是否仍在显示。

It is assumed that you have deleted cache via admin( recommended that you go into var folder and delete cache folder ) 假设您已经通过admin删除了缓存(建议您进入var文件夹并删除cache文件夹)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM