Discount for particular customer group in magento

Discount for particular customer group in magento

July 22, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Discount for particular customer group in magento

Providing Discount for Specific Customer Group in Magento

As a senior developer working on e-commerce platforms like Magento, you’ll frequently encounter requirements to offer special discounts to particular customer groups. This is a common scenario that allows businesses to reward loyal customers or target specific segments with promotional offers.

In this post, we’ll walk through the process of creating a discount for a specific customer group in Magento and ensuring it appears during checkout for eligible users.

Step 1: Create a Customer Group

To begin, you need to create a new customer group. In your Magento admin panel:

  1. Navigate to Customers > Customer Groups.
  2. Click on the Add New Group button.
  3. Enter a name (e.g., “VIP Customers”) and save it.

Step 2: Create a Shopping Cart Price Rule

Now, let’s create a price rule that applies the discount to your VIP customers:

  1. Go to Promotions > Shopping Cart Price Rules.
  2. Click on the Add New Rule button.
  3. Fill in the following fields:
    • Rule Name: Special Discount for VIP Customers
    • Description: 10% discount for all products (optional)
    • Customer Groups: Select your VIP group created earlier

Next, configure the discount details:

  1. In the Discount Amount field, enter “10” and select ”%”.
  2. Choose Fixed from the Discount Calculation Based On dropdown.
  3. Set Start Date and End Date for when you want this offer to be active.

Finally, click on Save Rule.

Step 3: Apply the Price Rule to Products

To ensure your discount applies to all products:

  1. Go to Catalog > Manage Categories.
  2. Select the main category.
  3. Open the Category Settings tab and scroll down to Price Rules.
  4. Click on Add Category Price Rule.
  5. Select the rule you just created (Special Discount for VIP Customers).
  6. Save the changes.

Step 4: Verify the Discount in Customer Account

Now, log into a test account that belongs to your new “VIP Customers” group. Here’s how to check if the discount is visible:

  1. Navigate to My Account > Discounts.
  2. Ensure you see the special discount listed here.

Step 5: Testing the Discount at Checkout

To confirm that customers can use the discount during checkout:

  1. Add a product to your cart.
  2. Go through the checkout process until you reach the Discount Code field.
  3. Enter any text in this field and click Apply.
  4. You should see a message indicating that no valid code was entered (this is expected, as we haven’t set up a discount code).
  5. Continue to the next step.
  6. Review your order summary and ensure you see the 10% discount applied without needing to enter any specific code.

Conclusion

In this post, we demonstrated how to create a shopping cart price rule in Magento that automatically applies a discount to customers belonging to a specific group during checkout. This approach allows you to reward loyal customers or target particular segments with promotional offers without requiring them to remember or enter discount codes manually.

Remember, you can customize the discount amount, select which products are eligible, and set up complex pricing structures using Magento’s advanced features. For more detailed information on configuring promotions in Magento, feel free to explore our resources at Laravel Company.

Don’t hesitate to reach out if you have any further questions or need assistance with your Magento development projects!

Checkout Catalog Admin Configuration

Our network