I have used custom options to create a drop down for prices based on weight for products, like 250gms-$10, 500gms-$20.
When the user selects the required weight of the product, the price of the product will change. It is working in the product view page, as the changes are automatically handled.
I am looking to add it in product listing page, where the product price change is not handled.
The steps could be, like
- Create a select menu in default/template/catalog/product/list.phtml
- When a selection is performed, an event is triggered
- An observer handles the event to update the price of the product in the listing page
Can this be done (using event-observe)? If so, how to do it? What should be the triggered event(like catalog_product_collection_load_after)?