Friday, June 17

How to Enable Email to Friend Option for Guest Users in Magento

when I do Magento sites for my customers, they want to show a button, EMAIL TO A FRIEND or SEND TO A FRIEND on the product details page. Magento doesnt show you that, until and unless you are logged in.
So here is a small trick to get it :
Goto System > Configuration > Email to a Friend.
Enable it for GUESTS.
Refresh your cache from System > Cache management and then open any of your product.
You will see a new link, EMAIL TO A FRIEND.
Normally, the link will look like this,
http://www.example.com/sendfriend/product/send/id/174/
SO, just copy that link and use it for your product details page customization or any other purpose also.
Product Details page are controlled from this file ,
/public_html/app/design/frontend/default/your-theme/template/catalog/product/view.phtml

Hope it Helps .. thanks ...

No comments:

Post a Comment