Which two methods will load the product model by ID as specified in the URL?(Choose two.)

You have created a module controller that responds to the following URL: /mycompany/product/load/id/123.

A. MagentoCatalogModelResourceModelProduct::load($productModel, $id)
B. MagentoCatalogModelResourceModelProductCollection::load()->fetchById($id)
C. MagentoCatalogModelResourceModelProductCollection::fetchItemById($id)
D. MagentoCatalogApiProductRepositoryInterface::getById($id)

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x