Customer specific prices
Adding customer specific prices
via Shopware Admin
You can easily provide new custom prices manually via Shopware admin area.
via API
You can easily create new custom prices via Shopware Admin API (Shopware Standard).
Endpoint: POST json https://your-domain.com/api/b2b-customer-price
Or ... just use the "admin-api/sync-api" of shopware for batch-process.
Entities used: https://docs.b2b-sellers.com/b2b-platform/api-references/entities/customerprice
Here you'll find more informations about the sync-api (bulk / batch payload) https://docs.b2b-sellers.com/b2b-platform/api-references/admin-api/general-admin-api-info#bulk-payloads
Create customer specific prices without UUID's (Product and Customer)
We know that a lot of ERP vendors or interface providers still provide data using traditional methods. For example, also via an SQL insert. For this reason we have provided you with two optional fields: customer_number and product_number.
You can fill these two fields and leave the customer_id + product_id fields (which require a UUID) blank.
Then you can use our provided command to convert customer_number's and product_number's to uuids.
You can also fill the customer_id and product_id directly if you have the data available.
Deleting Customer Specific Prices
This is available from 2.1.1 onwards.
We have the option to batch delete customer specific prices in the admin API, which has detailed information on how to use this functionality under your-shop/api/_info/swagger.html?type=jsonapi#/B2bsellers%20Customer%20Price/delete_b2bsellers_customer_price_batch
Replace "your-shop" with your domain.
Special features
The customer individual price overwrites all other calculated prices
You should know that if a customer individual price is stored, this is drawn last and is therefore the last level of the price calculation. Even if you have stored a customer discount rate (addon), this is not taken into account and overwritten by the customer-specific price.
Graduated prices in connection with customer-specific prices
A big advantage of our custom prices is the possibility of full scale pricing, even in combination with Shopware standard prices. Thus, even such a configuration is possible:
1-5 pieces - Shopware calculated price via extended prices
6-15 pieces - customer individual price
16-30 pieces - Shopware calculated price via extended prices
from 31 pieces - ccustomer individual price
This graduated price calculation is a key advantage over other suppliers
Performance / big data with customized prices
Basically, all sizes of customer individual prices can be covered! In our Highlast-Demoshop more than 3 million customer individual prices are maintained. Our approach in the background is designed for large amounts of data.
Time-based validity of customer-specific prices
You can specify a validity of individual customer prices. Period of validity from/until. This means that a custom price is valid only in this period.
Attention, you have to set in B2Bsellers Suite -> CORE plugin configuration that the validity period should be respected. (This setting is necessary for performance reasons)
Use the following command to remove the prices that are no longer valid from the database:
How are customer-specific prices displayed in the storefront?
Example: Customer individual price of piece 1 to X
Since there is only one price here, the complete price is exceeded and a label is added so that the customer knows that this is a special arrangement.
Special case when discount rate and customer-specific prices are available for a product
Last updated