Adobe AD0-E704 Exam - Topic 12 Question 76 Discussion
You have a requirement to customize the Product Detail Page so users can enter their ID in a custom field and get a personalized price. The user has to see the lower of the personalized and the Magento price.Which two actions do you take to enable the personalized price on the Product Detail Page and the checkout?
B) Create an observer for the event catalog_product_load_after, access the $product object and set a new price using the setFinalPrice method and C) Create a plugin for the Magento\Catalog\Model\Product::getFinalPrice method
A) Add a price class to the prices parameter of the Magento\Catalog\Pricing\Price\Pool class and implement the getvalue method
D) Modify the indexer so all possible prices are listed in the price index table
Sharee
1 month ago