ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 18 - AD0-E718 discussion

Report
Export

An Adobe Commerce Architect designs a data flow that contains a new product type with its own custom pricing logic to meet a merchant requirement.

Which three developments are valid when reviewing the implementation? (Choose three.)

A.
Content of the etc/product_types.xml file
Answers
A.
Content of the etc/product_types.xml file
B.
Hydrator for attributes belonging to the new product type
Answers
B.
Hydrator for attributes belonging to the new product type
C.
Custom type model extended from the abstract Product Type model
Answers
C.
Custom type model extended from the abstract Product Type model
D.
A new class with custom pricing logic, extending the abstract Product model class
Answers
D.
A new class with custom pricing logic, extending the abstract Product model class
E.
Data patch to register the new product type
Answers
E.
Data patch to register the new product type
F.
New price model extending \Magento\Catalog\Model\Product\Type\Price
Answers
F.
New price model extending \Magento\Catalog\Model\Product\Type\Price
Suggested answer: A, C, F

Explanation:

According to some tutorials45, creating a custom product type in Adobe Commerce involves several steps, such as:

Creating a product_types.xml file in etc folder to declare the new product type

Creating a custom type model that extends from an abstract product type model

Creating a custom price model that extends from an abstract price model

Creating a layout file for the new product type

Creating a data patch to register the new product type

Based on these steps, I would say that three possible developments that are valid when reviewing the implementation are:

1. Content of the etc/product_types.xml file

2. Custom type model extended from the abstract Product Type model

3. New price model extending \Magento\Catalog\Model\Product\Type\Price

These developments would allow creating a new product type with its own custom pricing logic and attributes.

asked 02/10/2024
Muhammed Seyda UCAK
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first