Skip to main content
1 vote

How to Remove cart products if a specific product is added in cart

Here is the working code that I have tested and verified. <?php use Magento\Framework\App\Bootstrap; use Magento\Quote\Api\CartRepositoryInterface; require __DIR__ . '/app/bootstrap.php'; $...
Devang Hingu's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible