How to generated Auto Coupon Sales rule by message queue in Magento 2?

Auto Coupon sales rule Magento will be helpful to create automatically discount codes for the admin user.

You don’t need to create manual action to generate it, By default that will be auto-generated 12 characters long.

In the Sales rule, From Magento 2.3 Message Queue will be used to generate coupon codes in Magento. Continue reading “How to generated Auto Coupon Sales rule by message queue in Magento 2?”

What is the difference between Sales Rule Auto vs Specific Coupon vs No Coupon setting in magento 2?

In Magento, Module SalesRule provided the functionality to discount based on the different criteria set up by the site admin.

When setting up new sales rules for Magento, You need to understand a few of the stuff regarding Coupons.

There is a Coupon field in the rule form.
When you check the coupon field, it will be three predefine options. Continue reading “What is the difference between Sales Rule Auto vs Specific Coupon vs No Coupon setting in magento 2?”

How to fix Magento Upgrade error Cannot instantiate interface while running CLI command?

Recently I have just upgraded Magento to the latest version 2.4.5.

After completing the upgrade successfully and when I try to run the CLI command it will throw an error.

Cannot instantiate interface Klevu\Search\Api\Service\Catalog\Product\StockServiceInterface#0 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Klevu\\Search\\Ap...')
#1 /var/www/html/vendor/klevu/module-productsearch/Helper/Stock.php(29): Magento\Framework\ObjectManager\ObjectManager->get('Klevu\\Search\\Ap...')

In My case, I have enabled the Redis session and that will cause the issue. Continue reading “How to fix Magento Upgrade error Cannot instantiate interface while running CLI command?”