Copied to clipboard

Flag this post as spam?

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


  • Srdjan Milic 5 posts 76 karma points
    Sep 19, 2016 @ 09:52
    Srdjan Milic
    0

    Custom prices and custom price calculations depending of login member

    Hi,

    Is there any possibility that to show special prices for a different login member on the site?

    Is there any possibility that to make custom calculation price workflow, in order to calculate total price differently depending of login member?

  • René 327 posts 852 karma points
    Mar 24, 2017 @ 12:54
    René
    1

    Hi

    I have the same setup. Did you find amy solution for this

    I need to add a discount pr costumer

    René

  • Henry 21 posts 141 karma points
    Apr 25, 2017 @ 16:02
    Henry
    0

    How did you get on with this?

    I'm about to implement something similar. I was thinking of just adding the different price points as product variants.

    Then I would hide / show the relevant variants depending on the customer's member type (or could use a field too I suppose!)

    I know it's not as clean as adding a percentage discount across every product, but will probably be the simplest solution.

  • Jorge 34 posts 116 karma points
    Jul 12, 2017 @ 11:22
    Jorge
    0

    Anyone? I also need to implement it to my site.

  • William Zhang 39 posts 243 karma points
    Aug 27, 2017 @ 11:20
    William Zhang
    2

    Hi,

    I've been looking into this as well. I think that a potential solution would be to take advantage of Merchello's data modifiers - unfortunately I haven't had the time to try this yet. The basic idea is as follows:

    1. Add an extended property "Member price" to the product.
    2. Create a custom MemberPriceDataModifierTask, and add it to the merchello.config. This task will modify the product price if the customer is logged in.
    3. To get member prices, use MerchelloHelper with enableDataModifiers = true when querying for products.

    Hope this helps!

  • Puck Holshuijsen 104 posts 420 karma points
    Aug 28, 2017 @ 06:35
    Puck Holshuijsen
    0

    This I like! I need this in the near future, will definitely give this a try!

  • skp 12 posts 80 karma points
    Dec 27, 2018 @ 14:35
    skp
    0

    Hi William,

    Could you please share some piece of code here to work this Done.

Please Sign in or register to post replies

Write your reply to:

Draft