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
3 months agoLisandra
3 months agoAllene
4 months agoIzetta
4 months agoSol
4 months agoLisandra
4 months agoAllene
4 months agoReiko
5 months agoTammi
5 months agoMillie
5 months agoShawnee
5 months agoLashonda
5 months agoLoreta
5 months agoTheron
6 months agoAnissa
6 months agoAide
6 months agoIzetta
6 months agoMargart
7 months agoAyesha
7 months agoTina
7 months agoLanie
7 months agoLura
7 months agoStefania
8 months agoCelia
8 months agoMerlyn
8 months agoTyisha
8 months agoCheryl
8 months agoKerrie
2 months agoDorthy
3 months agoWilburn
3 months agoJani
6 months ago