Navigating PrestaShop B2B: Unraveling Pricing & VAT Exemption Beyond the Basic Switch

Many PrestaShop merchants, eager to expand into the 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, the reality often leads to confusion: B2B customers log in only to find retail prices with VAT, and entering a VAT number changes nothing. This common misconception highlights a crucial gap in understanding PrestaShop's B2B functionalities.

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.

Implementing Trade Pricing with Customer Groups and Specific Prices

To implement trade pricing, you must leverage PrestaShop's customer groups and specific price rules:

  1. Create a Wholesale Customer Group: Navigate to Shop Parameters > Customer Settings > Groups. Create a new group (e.g., "Wholesale"), set a default discount percentage (if applicable), and, importantly, set the price display method to Tax excluded. This ensures trade buyers see net prices. Remember, new sign-ups default to the 'Customer' group, so you'll need to manually move approved B2B accounts into your 'Wholesale' group.
  2. Use Specific Prices for Granular Control: If a flat percentage discount doesn't suit your entire catalog, leave the group discount at 0%. Instead, use Catalog > Products > Pricing > Specific prices. Here, you can add specific price rules for individual products, restricting them to your 'Wholesale' group. This is also where you configure volume breaks (e.g., 10% off for 1 unit, 18% off for 10 units).

Discount Stacking Logic: Be aware that discounts stack in order: a specific price is applied first, then any group discount. Also, a category discount will override and replace a general group discount for products in that category.

Achieving VAT Exemption for Intra-EU Sales

Displaying prices as "Tax excluded" for a customer group is not the same as actual VAT exemption. To genuinely remove VAT for an intra-EU business sale, three conditions must be met simultaneously:

  1. VAT Number Management Enabled: The VATNUMBER_MANAGEMENT setting must be switched on. This is controlled by the European VAT number module, which must be installed and enabled.
  2. VAT Number on Delivery Address: A VAT number must be saved on the specific delivery address used for the order.
  3. Cross-Border Transaction: The delivery address must be in a different country from your shop's own VAT country.

If any of these conditions are missed, VAT will be charged as normal.

The Critical Lack of VAT Number Validation

A significant exposure point is PrestaShop's core behavior regarding VAT numbers: it does not validate them. The system merely checks if the $address->vat_number field is not empty. This means any text entered will trigger VAT exemption, even if it's not a real or valid VAT number. This can lead to uncollected VAT that you may still owe.

To mitigate this risk, most B2B stores manually check VAT numbers on VIES (VAT Information Exchange System) before approving trade accounts, or integrate a third-party module for real-time VIES checks at checkout.

Final Testing and Community Insights

Before going live, conduct thorough testing. Place a test order from a trade account with a foreign VAT number and compare the product page, cart total, and invoice PDF side-by-side. Each calculates tax independently. The community also frequently discusses how to handle VAT validation and the possibility of setting up customer-specific contract prices without overriding core price calculation functions.

As confirmed by fellow community member infinitemetapixel, the B2B switch is indeed basic. Effective B2B pricing and VAT exemption require strategic use of customer groups, specific prices, the European VAT number module, and diligent manual account management and VAT number validation processes.

Start with the tools

Explore migration tools

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

Explore migration tools