0

So I want to update the price of a specific products in product listing page programatically. To update, I created product attribute and I would like to take that value and update the price in an observer. Which product listing page event should I use to achieve this? If there is any alternative to update the price I am open to suggestions as well.

1 Answer 1

0

Please try below event

catalog_block_product_list_collection

You need to allow your new attribute to use in product list to get value for that attribute.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.