How would they go about correcting this?

An Adobe Commerce Developer is tasked with creating a custom module which implements a new product type. Upon completion, they find that any quantity information they enter against the product does not get saved, and reverts back to 0.

How would they go about correcting this?
A . In the modules ete/product_types.xml file, set the isQty-"true" property on their product type declaration node.
B . Add a <stockmodel> node inside their product type declaration in the etc/product_types.xml file, with an instance attribute pointing a class extendingMagentoCatalogModelProducttypeStock .
C . Implement MagentoInventoryCatalogApiApiDefaultStockProviderlnterface on their product type class and implement the required methods.

Answer: A

Latest AD0-E709 Dumps Valid Version with 135 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments