CartManager::addOrderItem |
function |
modules/cart/src/CartManager.php |
Adds the given order item to the given cart order. |
CartManagerTest::testAddOrderItem |
function |
modules/cart/tests/src/Kernel/CartManagerTest.php |
Tests that order items without purchasable entities do not cause crashes. |
BuyXGetYTest::testAutoAddOrderItem |
function |
modules/promotion/tests/src/Kernel/Plugin/Commerce/PromotionOffer/BuyXGetYTest.php |
Tests the 'auto-add' offered item capability. |
CartManagerInterface::addOrderItem |
function |
modules/cart/src/CartManagerInterface.php |
Adds the given order item to the given cart order. |