#How to retrieve a product object associated with a product_id in backend folder

8 messages · Page 1 of 1 (latest)

open marsh
#

I want to develop a custom functionality that requires to get the product associated with the product id in one of the file in the backend folder.

grand fiber
#

In what file?

#

the service is called productService

#

Then you use retrieve on the productService to get the product by id

open marsh
#

I want to customise the calculateVariantPrice Method so I need this there