Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sander Los 27 posts 160 karma points
    Jan 17, 2023 @ 14:08
    Sander Los
    0

    Vendr: Show product price based on discount rule

    Hi,

    When we have an active discount in our vendr store, the discount is applied correctly in the checkout process.

    Is it possible to get the discount rules and apply these on the product detail page? (20 % discount on all products of a certain category for example)

    Kind Regards,

    Sander

    Our setup:

    Umbraco 10.2.1 (not hosted on umbraco cloud) Vendr 3.0.4

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jan 17, 2023 @ 14:17
    Matt Brailsford
    100

    Unfortunately not.

    The discount engine can handle rather complex discount rules so it can't really decide which discounts apply until a product is in an order.

    For example, say you have a discount rule that says

    20% off all products in category X, where the shipping method is Y, and order total is < £20

    This isn't possible to calculate to display on the product page as it is totally dependent on the state of the order.

    The only way I've seen people to "fake" this is to generate a temporary order, add the product to that order then see what discount is applied, but this can be pretty intensive for the sake of showing the discounted price.

  • Sander Los 27 posts 160 karma points
    Jan 17, 2023 @ 14:26
    Sander Los
    0

    Thanks for your answer.

    We will further look into it and see if "faking" an order might be a solution or that we will build something custom around it.

Please Sign in or register to post replies

Write your reply to:

Draft