How do you implement this, keeping simplicity in mind?
You are working on a project that contains a million SKUs. The merchant has requested the product view page to have a custom color schema and page layout depending on the product price range.
How do you implement this, keeping simplicity in mind?
A . Create a custom block which will dynamically choose the appropriate template
B . Specify custom layout update XML in the admin panel for every product
C . Write a Data Patch which will set the appropriate layout update XML for every product record
D . Enable the dynamic product page UI component and configure it to use a different layout per price range
Answer: A
Explanation:
https://www.rohanhapani.com/magento-2-change-product-view-page-layout-based-on-price/
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments