PrestaShop

Mastering PrestaShop B2B: Your Definitive Guide to Wholesale Pricing & VAT Exemption

Many PrestaShop merchants, eager to expand into the lucrative business-to-business (B2B) market, enable the B2B mode in their store settings, expecting a comprehensive wholesale solution. They observe the 'Company' and 'Identification number' fields appear on registration and assume their trade customers will automatically receive B2B pricing and VAT exemptions. However, this common misconception often leads to confusion and frustration: B2B customers log in only to find retail prices with VAT, and entering a VAT number changes nothing. As experts at Migrate My Shop, the PrestaShop Migration Hub, we frequently encounter this scenario. This guide will demystify PrestaShop's B2B functionalities, providing a clear, authoritative path to configuring your store for wholesale success.

PrestaShop VAT exemption conditions for B2B sales
PrestaShop VAT exemption conditions for B2B sales

Understanding PrestaShop's B2B Switch Limitations

Contrary to popular belief, activating the B2B switch in PrestaShop 8 and 9 is a minimal feature. It primarily:

  • Adds 'Company' and 'Identification number' fields to the customer registration form.
  • Enables back office customer search to match on company names.
  • Adds a 'Company' column (with a filter) to the order list in the back office.

Crucially, this switch does not automatically configure B2B pricing or VAT exemption. These essential elements require separate, manual setup, integrating various parts of your PrestaShop store.

Implementing Trade Pricing with Customer Groups and Specific Prices

To implement trade pricing, you must leverage PrestaShop's robust customer groups and specific price rules. This is where the real power for B2B pricing lies.

1. Create a Wholesale Customer Group

Your first step is to segment your B2B customers. Navigate to Shop Parameters > Customer Settings > Groups. Here, you'll create a new group, perhaps named "Wholesale" or "Trade Customers." When configuring this group:

  • Set a Default Discount Percentage: If you offer a blanket discount across your entire catalog for wholesale, apply it here.
  • Set Price Display Method to Tax Excluded: This is vital for B2B. Trade buyers typically expect to see net prices. This setting ensures that when a customer from this group logs in, they see prices without VAT on product pages and throughout the catalog.
  • Visibility: Ensure the group has appropriate permissions to view prices and order.

Important Catch: New sign-ups always land in the default 'Customer' group. Until you manually move their account into your 'Wholesale' group (via Customers > Customers in the back office), a trade buyer will continue to see retail prices. Consider implementing an approval process for new B2B accounts.

2. Use Specific Prices for Granular Control

Rarely does one flat percentage fit an entire wholesale catalog, especially if margins vary by product line. For more nuanced pricing, leave the group discount at 0% and utilize PrestaShop's specific price rules:

  • Navigate to Catalog > Products > Pricing > Specific prices for a given product.
  • Add a new specific price rule. Here, you can restrict the price to your 'Wholesale' customer group.
  • This is also where you can implement volume breaks: for example, one rule offering 10% off from 1 unit, another offering 18% off from 10 units, using the 'From quantity' field.

Understanding Discount Stacking and Replacement

PrestaShop's pricing logic, primarily handled by the Product::priceCalculation() method, can sometimes lead to confusion regarding how discounts are applied:

  • Stacked Discounts: Discounts stack in order. If a product has a 10% specific price for the wholesale group, and the wholesale group also has a 20% general discount, a $100.00 product will first be reduced to $90.00 (10% specific price), and then the 20% group discount will be applied to the remaining $90.00, resulting in a final price of $72.00. It's not $70.00.
  • Category Discount Replacement: If a customer group has a general discount (e.g., 15%) but also has a specific category discount for a product's category (e.g., 5%), the category discount replaces the group discount rather than adding to it. In this case, only the 5% category discount would apply.

Always test your pricing rules thoroughly to ensure they behave as expected.

Navigating VAT Exemption for B2B Sales

Here's the part that catches most stores out: displaying net prices is not the same as removing VAT. Setting a customer group to 'Tax excluded' only changes what's displayed on screen; the buyer still pays full VAT at checkout. Actually removing the tax on an intra-EU business sale requires three specific conditions to be met simultaneously:

  1. VAT Number Management Switched On: This is a crucial, often overlooked setting. The VATNUMBER_MANAGEMENT configuration has no screen in PrestaShop's core. You enable it by installing and activating the European VAT number module (often found in the official PrestaShop Addons marketplace or pre-installed in some distributions). If this module isn't installed and enabled, nothing in Shop Parameters will switch exemption on.
  2. A VAT Number on the Delivery Address: The VAT number must be saved on the specific delivery address used for the order, not just on the customer's account at registration. PrestaShop checks the address associated with the order.
  3. Delivery Address in a Different Country from the Shop's VAT Country: The delivery address must be in a country different from your shop's registered VAT country.

Miss even one of these conditions, and VAT will be charged as normal.

The VAT Number Validation Gap

It's vital to understand that PrestaShop's core functionality does not validate the entered VAT number. All that core checks is whether the $address->vat_number field is not empty. This means a placeholder like "ABC" on an address in another EU country will remove VAT just as effectively as a real, valid number. There's even a comment in the core code describing this logic as historic and noting its lack of validation.

For a store selling across borders, this presents a significant exposure. VAT that was never collected from the customer can still be owed by your business. Most successful B2B stores deal with this by:

  • Checking VAT numbers manually on the VIES (VAT Information Exchange System) before approving a trade account.
  • Adding a third-party module that runs the VIES check automatically at checkout.
  • Keeping a meticulous record of the validation result either way.

Pre-Launch Checklist and Best Practices

Before taking your B2B setup live, thorough testing is non-negotiable:

  • Test Account: Create a dedicated test trade account with a foreign VAT number.
  • Order Simulation: Place a test order from this account.
  • Verify All Stages: Carefully compare the product page price, the cart total, and the final invoice PDF. Each of these components calculates tax independently, so one looking correct proves nothing about the others.
  • Consider Advanced Modules: For complex B2B needs, such as customer-specific contract pricing without overriding core code, or advanced automated VAT validation, explore the PrestaShop Addons marketplace for specialized modules.

Configuring PrestaShop for B2B sales requires a clear understanding of its distinct pricing and tax mechanisms. By carefully setting up customer groups, specific prices, and the necessary VAT exemption conditions, you can create a robust wholesale experience for your trade customers. At Migrate My Shop, we specialize in helping businesses like yours optimize their PrestaShop stores and ensure smooth, compliant operations. If you're planning a migration or need expert assistance with your B2B setup, don't hesitate to reach out!

Share:

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools