Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Unanswered

Sitebuilder: How to enable discounts to be visible at the product card?

(0) ShareShare
ReportReport
Posted on by 100

Right now, the discount price is only shown on the PDP and cart level. I want to show the discounted price at the category page level too so that customers can see the price difference when browsing. See below for an example of what I'm looking for. Is there a setting I need to enable in Site Builder or in F&O?

pastedimage1653070177482v1.png

  • CU30081315-0 Profile Picture
    CU30081315-0 5 on at
    Sitebuilder: How to enable discounts to be visible at the product card?
    I see this post is for long time ago but I think that I have similar problem. I can not find discount price on product card, searchbox and search container. The only place I can find it is buybox component. I am wondering if I need to call function like GetActivePrice to show discount price on other modules or is there any better solution to show it?  I am using fabrikam theme btw.
  • Weicheng Gao Profile Picture
    Weicheng Gao on at
    RE: Sitebuilder: How to enable discounts to be visible at the product card?

    Currently in PLP it uses Azure Search Index to get the price. It doesn't contain enough information (e.g. customer affiliation) to calculate complex discounts.

    If you would like to show discount price in PLP (whether you need price range), you can use frontend extension to call GetActivePrices API like it in PDP. Note that there might be performance degradation, because calculating discounts is slower than just getting price from Azure Search Index.

  • ToddB Profile Picture
    ToddB on at
    RE: Sitebuilder: How to enable discounts to be visible at the product card?

    Hi MicrosoftLearne95,

    On a similar issue here is what I was able to find out


    Price ranges not visible on Category pages on B2B site


    If you would like to show a price in PLP, you can make the Trade Agreement apply to the master product.

    If you would like to show a price range in PLP, you will need to make a frontend extension to call GetActivePrices with "includeVariantPriceRange: true" and one single master product id for each product in PLP.

    Note there might be performance issues because searching price range will search all variant products' price.  If you have a hundred variants per master product, this will be a big performance factor loading the page.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,904 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans