Jump to content

Edit History

Darkpingouin

Darkpingouin

Hello,

I am very new to prestashop development  and I am trying to build a module that would display custom data (from an API) depending on the product info.
I want this data to be displayed inside the product list block so that it is dependant on the product itself (see image). But I don't know how to proceed. 

I looked for hooks but I don't fully understand which one to use for this specific case.. 
 

Do I need to create a Module that will overide products.tpl or product-prices.tpl inside /themes/classic/templates/catalog/_partials ? 

Or is there simply a way to add a custom hook in a loop maybe ? 

 

 

Sans titre.png

Darkpingouin

Darkpingouin

Hello,

I am very new to prestashop development  and I am trying to build a module that would display custom data (from an API) depending on the product info.
I want this data to be displayed inside the product list block so that it is dependant on the product itself (see image). But I don't know how to proceed. 

I looked for hooks but I don't fully understand which one to use for this specific case.. 
 

Do I need to create a Module that will overide products.tpl or product-prices.tpl inside /themes/classic/templates/catalog/_partials ? 

Or is there simply a way to add a custom hook in a loop maybe ? 

 

 

Sans titre.png

×
×
  • Create New...