Generate Dynamic Coupon Code In The Magento Admin Panel
Follow the below mentioned steps to Generate Dynamic Coupons for your Magento eCommerce website
Step 1: Rule Information
- Log in to Magento Admin Panel.
- Navigate to Promotions >> Shopping cart price rule
- Click ‘Add New Button‘ to create a new shopping cart coupon.
- Rule Name: This is simply the name of the rule, as it will appear in the backend – eg. Receive 20% off your entire order
- Description: A description of the rule should include the purpose of the rule, and explain how it is used.
- Status: This is simply where the rule is set to Active or Inactive. Changes to the status will take an immediate effect on the front end, once saved from the backend.
- Customer Groups: This section allows you to choose which customer groups for which this particular promotion should be applied to.
- Coupon: Here choose ‘Specific coupon’ from 3 options:
If you want to give same coupon code for all your customers, specify the coupon name. Ex: 20OFF.
If you want to give different coupon codes for each of your customers, then you can choose the “Use auto generation” option.
Use Auto Generation: Select the checkbox to automatically generate multiple coupon codes which can be used along with the promotion and follow the step 6 to generate dynamic coupon code.
- Uses Per Coupon: This is usually set to allow number of times the coupon code can be used.
- Uses Per Customer: Determines how many times the coupon code can be used by the same registered customer who belongs to any selected customer group. In case of no limit, leave it blank.
- From Date: When a rule is set to be Active, this date will specify the commencement of the rule that will be applicable on the front end. The rule will be automatically turned on at 12:01 AM on the From Date.
- To Date: When a rule is set to be Active, this date will end of the rule..The rule will be automatically turned off at 11:59 PM on the To Date
- Priority: This section allows you to assign a numerical priority sequence for promotions running at the same time. This section is often used for a particular spend and save type of promo, when multiple promos apply to a similar set of conditions. The rule with the higher priority number will take precedence over the other(s).
Step 2: Conditions
Leave it as blank.
Step 3: Action
This section is where you apply the specific discount/promotion and outline some specifics for the rule. In the example of receiving 20% off a purchase, the actions are applying the 20% off.
The following are the specific fields that need to be filled out in the actions section for the shopping cart price rule. Please note that we will be using Percentage of Product Price Discount in this example:
- Apply: This drop down menu contains the options available to you for setting up your discount. The four options are:
- Percentage Of Product Price Discount: With this type of rule, you will specify a numerical value in the Discount Amount field (below) and this will become the percentage amount taken off for that shopping cart price.
- Fixed Amount Discount: With this type of rule you will specify a numerical value in the Discount Amount filed (below) which will be the amount taken off of applicable products.
- Fixed Amount Discount For Whole Cart: With this type of rule you will specify a numerical value in the Discount Amount filed (below) which will be the amount taken off the entire cart.
- Buy X Get Y Free ( Discount Amount Is Y ): This is a BOGO rule where you can specify for how much one of item needs to be purchased (X) in order to get another specified amount (Y) for free.
- Discount Amount: This section allows you to specify the numerical amount of the discount.
- Maximum Quantity Discount Is Applied To: Sets the maximum number of products that the discount can be applied to in the same purchase.
- Discount Qty Step (Buy X): Sets the number of products represented by “X” in a “Buy X Get Y Free” promotion.
- Apply To Shipping Amount: If this setting it set to OFF, the most popular of the two, then the discount will be applied to the subtotal before shipping is calculated [(subtotal – discount) + shipping]. If this is turned ON, then the discount will be applied to the subtotal after the shipping is calculated and added [(subtotal + shipping) – discount].
- Free Shipping: This setting is used to specify if the rule is set for free shipping or not.
- Stop Further Rules From Processing: This setting it often set to yes, which will prevent another rule from processing if this one is applied
Step 4: Label
This is a very simple section of the rule as it denotes the title of the rule as seen by customers in the checkout. Please note that these labels may or may not show up in your cart depending on the architecture of your site.
Step 5: Click ‘Save And Continue Edit’ To Save The Rule
If you are using single coupon code for all the customer, then skip step #6.
Step 6: Manage Coupon Codes
- Coupon Quantity: This section allows you to specify the number of coupon code to be generated.
- Code Length: This section allows you to specify the number of characters the coupon code should contain.
- Code Format: This section allows you to specify the format of the coupon code, whether code should be only numerical, alphabets or a combination of alphabets and numbers.
- Click ‘Generate‘ button to generate the dynamic coupon codes.
- Click ‘Save‘ to save the rule.