Okay
  Public Ticket #2965182
Best Practice for Price Management
Closed

Comments

  •  6
    Nicolai started the conversation

    Hi,

    I'm building a site for B2B business, where different business group have access to different products and different pricing. This is control using B2BGroup with your interface. 

    In addition to the above several users has lower pricing than their group on specific products. So each user belongs to a group, but can have 10-30 products with a lower price (fixed price). Different user will have special pricing on different products - no logic ruleset is defined, as it is the salesperson who negotiates individual pricing with each customer. 

    What is the best way to control this in your plugin? I'm currently working down the "Dynamic Rules" path, but this requires one rule pr. product pr. user. So with f.x. 500 customers with 25 products with specific pricing, it is 12.500 dynamic rules..... Alternatively I need to create one group pr. customer. But I'm unsure where I can get best performance and ease of use. 

    I'm planning on controlling everything using REST API. 


  •  2,218
    WebWizards replied

    Hi,

    Indeed it does not make sense to create 1 group per customer - admin backends would barely even load trying to show pricing for 500 groups.

    So the only option to set prices per customer per product would be with dynamic rules (fixed price, like you mentioned, would be best).

    This should work fine for 12500 rules. Fixed price rules have a very good performance algorithm - some of our customers have even 500,000+ fixed rules working fine.

    So I think you're on the right track. Each negotiated price can be a fixed price rule. And you can create the rules with REST API, or any other method you'd like.

    Kind regards,

    Stefan

  •  6
    Nicolai replied

    OK - thanks. I'll continue down that path. Thanks :)