Skip to main content

New answers tagged

0 votes

Is it possible to programmatically disable customer group pricing?

Yes, it is possible to programmatically disable customer group pricing for specific orders in Magento 2. One approach is to use a plugin to modify the quote item prices before the order is placed. You ...
Amal 's user avatar
  • 76
0 votes

Magento 2.3.2 Call to undefined function Magento\InventorySales\Model\IsProductSalableForRequestedQtyCondition\bccomp()

I was getting same error when i was using php 8.2 with Magento 2.4.6 when i switched to php 8.1 the issue was resolved !!
Syed Hassan Zamir's user avatar
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

Top 50 recent answers are included