0

If i activate Flat Catalog Product, than Magento do not view sku on Product and category page with this code:

<?php echo $this->htmlEscape($_product->getSku()); ?>
  • did you reindex product flat data? – Alex Dinca Sep 15 '14 at 13:53
  • yes, clear all cache + reindex, repeatedly – ManuHH Sep 15 '14 at 14:09
1

This means that the SKU attribute is not loaded. It should be enough to edit the sku attribute under Catalog - Attributes - Manage Attributes. If you want to use it on the product page, set "Visible on Product View Page on Front-end" to "Yes". If you want to use it on the category page, set "Used in Product Listing" to "Yes".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.