php - Unable to Display Products in Magento -
our client using custom search i.e., searchperience @ present want remove custom search , enable default magento search. while removing aoe_searchperience related folders products not displaying @ all. how can solved?
perhaps have not removed files , there xml file pointing template doesn't exist.
are concerned category page or product page or both?
if displaying on category page except products suggest add quick echo('products here');
first line of code in file /app/design/frontend/[your theme or base]/catalog/product/list.phtml
if can see string in shop know have identified correct phtml file , should check see if product collection populated.
if not see string need work out list.phtml being called magento. search files list.phtml turning on magento's system->configuration->developer->debug->template path hints (and add block names hints) expose .phtml file being called , block class - flesh out if wrong .phtml file being used or if of wrong class.
if correct list.phtml being called product collection empty there funny going on.
to remedy magento behaving funny:
- log out of admin area , log admin area
- turn compilation off
- turn compilation on
- re-index everything
- refresh magento caches including magento cache , cache storage
- refresh external caches
- try refresh page , see if helped.
if didn't help, switch default magento theme , repeat steps above. if product still aren't there in default theme suggests there still module files getting in way or maybe core files have been changed odd. start .phtml , block class (discerned debug hints mentioned above , follow code until figure out why category page has empty product collection)
if default magento theme display product know fault theme specific turn theme on , study file local.xml very carefully.
Comments
Post a Comment