Jump to content

Add informations to each product (in list) with override


StepOne

Recommended Posts

Hi,

 

I would like to display available Carriers in a product.

 

So, I did it with override ProductController.php for Product detail :

$this->product->getCarriers();

 

But I need it in the list of products too (in each product miniature). But I don't know how to override because CategoryController seems not have the possibility to change each product in the list.

 

Could you help me on how to do this?

 

Thanks !

Link to comment
Share on other sites

Thanks a lot for your answer.

 

I didn't success with this so I've created a module directly (I Thought it was quicker with override). I passed the product parameters in the hook and then get the Carriers and finally displayed the result in the hook.

Edited by StepOne (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...