How to add a Facebook like button to your products in Magento

I thought it was time to do a post on how to implement the Facebook like button in your Magento product pages, the right way.

Ever since Google admitted to using social network data for the calculation of their SERPs the remainder of online businesses have finally started taking social media seriously. Therefor I thought it was time to do a post on how to implement the Facebook like button in your Magento product pages, the right way. Here’s how..

Getting all product information in Magento

Fetching all the product data, custom attributes or ratings information, in Magento can be really easy, you just have to know how.

Whilst working on a Magento webshop I was asked to show the ratings and several custom attributes for the related products. Sadly I found out that the data collection Magento fetches by default for related products is limited to the data they want to show in their default theme so I had to find another way. Find out how I did this.

Resetting the session storage options in Magento

If you ever want to switch between saving session data for Magento in the database or in the filesystem just follow these easy steps.

During the Magento installation you’re given the option whether you want to save session data in the database or in the filesystem. Generally, saving the session information in the database is the better option for larger sites, as this allows easier clustering for multiple servers. For smaller websites you might want to save the extra queries and just go with saving the session data in the filesystem, although this could be a bit slower. If you ever want to switch between the two options just follow the following steps. Continue reading “Resetting the session storage options in Magento”