Showing posts with label after. Show all posts
Showing posts with label after. Show all posts

23 Jan 2014

Magento: event observer with save before and save after

Here I am going show how to create a simple product attribute programatically.I have created a simple script which is creating the product attribute when I do install my module or upgrade my module.So please look at the below code which I have created.

8 Nov 2013

Magento : Set Meta Title Automatically Save After Product

Here I would just like to save the meta tilte field automatically with similar to produuct name If I save click on the Save or Save and continue edit button in magento admin.for This I will create a Observer through which I can Update the meta_title attribute and save in data base so that If I create a product then meta title filed will be filled up automatically by help of product name .For that I will be using an magento events catalog_product_save_after.The event which called after save of catalog product So please check the below code for reference :