Witty and insightful observations on the world? Sorry to disappoint, this is a techie blog purely for self reference - published online in the hope it will help others!

Adding a ‘New Product’ icon in Magento for new products

This is actually quick and easy but if you are new to Magento custom attributes you might struggle to work out how to set things up and then access the value of your attribute on the front end. What I am talking about here is setting up a flag for the product, if it's set to 'Yes' (ie the product is a new product) then a little icon or banner appears in the corner of the image. Like this; So, first things first. You need to set up a new Attribute in Catalogue -> Attributes -> Manage Attributes . Set is as a boolean, give it an id of new_product. ... Read more

Categories