Search code examples
magentoproductmeta

Magento product meta data to be same as product description


I am very new to Magento and one of the tasks on hand is to use the existing product description as the meta data. As the site has over 600 products it does not make sense to add the meta data manually. Can I please get some advice on how this can be done? Thanks


Solution

  • If you check product view block (app/code/core/Mage/Catalog/Block/Product/View.php), you'll see that in the prepare layout method, Magento uses product name and description for keywords and meta description if meta data is not set.

    So if modules haven't overwritten this block, you should be fine. :)