Back to Top

Magento Product Title & amp Error

Updated 12 October 2012

Magento Product Title & amp Error : Sometimes this strange error comes when you are using “&” in your magento product or category title and it replaces “&” to “&amp” . here is the simple solution for the product page . You can find the same for the category page .

Go to /app/design/frontend/default/your_theme/template/catalog/product

replace this code

echo $_helper->productAttribute($_product, 
$this->htmlEscape($_product->getName()), 'name')

to this

echo $_helper->productAttribute($_product, $_product->getName(), 'name')

Happy Coding 🙂

Searching for an experienced
Magento Company ?
Find out More
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home