QuestionQ16
Catalog and ProductsAn Adobe Commerce Architect is preparing a sales campaign to introduce a new product on the site that enables customers to purchase a predefined set of products at a discount. Each product in the set must retain its own stock and tax class.
A requirement is to use a third-party reporting system with the REST API to retrieve the following data:
- SKU
- Qty
- Original price
- Sales price
- Tax amount
Which solution should the Architect use to satisfy these requirements?
- A Create Fixed Bundle Product for gathering simple products;Manage price for every selected option;Add extension attribute original_simple_price for \Magento\Sales\Api\Data\OrderItemExtensionInterface and populate value with price of simple product;
- B Create Dynamic Bundle Product for gathering simple products;Utilize Content Staging to manage special prices for bundle products on time for the campaign;Expose required data via Adobe Commerce Order API;
- C Create Grouped Product and create after plugin on \Magento\GroupedProduct\Model\Product\Type\Grouped::prepareForCartAdvanced for bunch products ordering;Utilize Content Staging to manage special prices on time for the campaign for simple products;Expose required data via Adobe Commerce Order API;
Community Discussion