Showing different prices by customer group on PrestaShop
PrestaShop natively handles two mechanisms for showing different prices depending on the customer: customer groups, with a blanket percentage discount, and specific prices, for targeting one particular product. What’s missing is automatically assigning a customer to a group based on a business rule: that needs development.
Two native mechanisms, not to be confused
Customer groups, under Customers > Groups, let you set a percentage discount applied globally to every product for customers in that group: a -15% reseller rate, for example.
Specific prices, in the Prices tab of a product sheet, target one particular product for a group, a given customer, or a date and quantity range. The two can combine: a customer in a discounted group who also gets a specific price on a particular product ends up with a final price that stacks both, which sometimes produces an unexpected result if that combination wasn’t planned for.
What isn’t native: automatic assignment to a group
PrestaShop can’t, on its own, assign a customer to a group based on a business rule such as a validated intra-EU VAT number or a cumulative spend threshold reached. Natively, group assignment is done manually, one customer record at a time, or through an import.
Automating this needs development hooked into something like actionCustomerAccountAdd, or a recurring job that recalculates groups based on past orders. It’s a common need for B2B shops, but it goes beyond standard configuration.
How I trace an unexpected price
-
The customer’s actual group
I check which group the customer is really in at the moment of display, not just the group expected in theory.
-
Active specific prices on the product
I list every specific price rule on the product, with its date, quantity and group bounds, to spot the one matching by mistake.
-
Group discount and specific price stacking
I check whether the two combine in this exact case, and whether that combination matches what was actually intended.
Related pages
-
Custom PrestaShop module development
When automatically assigning a customer to a group based on a business rule goes beyond native settings.
-
PrestaShop carriers and delivery
Shipping costs can also vary by customer group, following the same logic of rules that need correct bounds.
-
PrestaShop 1.6 to 1.7 or 8 migration
Why specific price rules can behave differently after a version upgrade.
Describe your need in one minute
A few targeted questions so I can reply with an estimate rather than another questionnaire.