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?”

How to show/hide elements using javascript equivalent to jQuery.show() and hide() DOM?

You can show or hide specific elements with native javascript without using jQuery.

<div class="mydiv">Content Goes here</div>

Continue reading “How to show/hide elements using javascript equivalent to jQuery.show() and hide() DOM?”

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?”