#How to retrieve a product object associated with a product_id in backend folder
8 messages · Page 1 of 1 (latest)
8 messages · Page 1 of 1 (latest)
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.
In what file?
the service is called productService
Then you use retrieve on the productService to get the product by id
I want to customise the calculateVariantPrice Method so I need this there