Adobe AD0-E725 Exam - Topic 3 Question 2 Discussion
An Adobe Commerce Expert is tasked with implementing a custom condition on salable quantity with reservations. The condition needs to be applicable only when added to cart.Which option should the Developer implement?
C) XML
<virtualType name='IsProductSalableForRequestedQtyConditionChainOnAddToCart'>
<item name='is_salable_with_reservations' xsi:type='array'>
<item name='object' xsi:type='object'>Vendor\InventorySales\Model\IsProductSalableForRequestedQtyCondition\IsSalableWithReservationsCondition</item>
</item>
</virtualType>
A) XML
type='Vendor\InventorySales\Model\IsProductSalableForRequestedQtyCondition\IsSalableWithReservationsCondition'/>
B) XML
<type name='Magento\InventoryApi\Model\Stock\ValidatorChain'>
<item name='is_salable_with_reservations' xsi:type='object'>Vendor\InventorySales\Model\Stock\Validator\IsSalableWithReservationsValidator</item>
</type>
Sol
5 months agoLisandra
5 months agoAllene
6 months agoIzetta
6 months agoSol
6 months agoLisandra
7 months agoAllene
7 months agoReiko
7 months agoTammi
7 months agoMillie
7 months agoShawnee
7 months agoLashonda
8 months agoLoreta
8 months agoTheron
8 months agoAnissa
8 months agoAide
8 months agoIzetta
9 months agoMargart
9 months agoAyesha
9 months agoTina
9 months agoLanie
10 months agoLura
10 months agoStefania
10 months agoCelia
10 months agoMerlyn
10 months agoTyisha
11 months agoCheryl
11 months agoKerrie
5 months agoDorthy
5 months agoWilburn
5 months agoJani
8 months ago