Legacy Knowledge Base
Published Jul. 2, 2025

Discount with specific account is not applied

Written By

Pooja Bhambani

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • While assigning the discount to particular account, it is not getting applied
  • Steps to reproduce
    1. Create a Minium test site.
    2. Create vocabulary named "ipdc" and create one category named "Gold Jewellery" in it.
    3. Now, create product named "Gold Earrings" and select "Gold Jewellery" in ipdc category section.
    4. Next, create SKU named "gold" and give Base Price as $ 1500.00 and publish it.
    5. Create Discount named "Women's Day" and type is percentage and applied to categories.
    6. Give 30.00% in Amount.
    7. And, select category "Gold Jewellery".
    8. Now, create one user named "Woman Customer".
    9. Also, create one guest account named "Woman". And, assign "Woman Customer" User in it.
    10. Again, go back to Discount Eligibity Section select "specific account" in Account Selection and select Woman in Accounts.

    11. Now, login with Woman Customer and see the discount is not applied to product.
    12. If you delete the woman in account selection, it will show the discount.

        Expected Result:Discount must be applied to specific account.
        Actual Result: Discount is not applied to specific account.

Environment

  • Liferay DXP 7.3
  • Commerce 3.0

Resolution

  • Currently, there is a limitation for Guest and Personal accounts. But, it is working for Business Accounts with a buyer role.
  • Assign the buyer role for particular user by Navigating to Roles -> Site Roles -> Select Buyer

Additional Information

  • This behavior only works with Minium Template not with Speed-well Template. And, it is recommended to use Minium Template.
Did this article resolve your issue ?

Legacy Knowledge Base