Comments 4Mohamed started the conversationJune 21, 2023 at 12:56pmHi. We have an ERP system that already has custom pricing per customer group. Is it possible to use an API to set custom pricing per customer group when using B2B King?If this is possible, do you offer developer support as well? 2,219WebWizards repliedJune 21, 2023 at 11:00pmHi Mohamed,Thank you for getting in touch,B2BKing has a customer groups feature and it also allows setting a custom price for each group, for each product.This can also be done programmatically. This price is simply set in a meta key of each product. You can read more about how this works here: https://woocommerce-b2b-plugin.com/docs/release-1-8-0-price-lists-csv-import-export-pricing-in-the-product-page/Basically for each product or variation you can set these 2 meta keys for each group:b2bking_regular_product_price_group_GROUPIDb2bking_sale_product_price_group_GROUPID The keys would hold the regular and sale prices.I believe you could use either the WordPress API or the WooCommerce API to achieve this.Kind regards,Stefan Sign in to reply ...
Hi. We have an ERP system that already has custom pricing per customer group. Is it possible to use an API to set custom pricing per customer group when using B2B King?
If this is possible, do you offer developer support as well?
Hi Mohamed,
Thank you for getting in touch,
B2BKing has a customer groups feature and it also allows setting a custom price for each group, for each product.
This can also be done programmatically. This price is simply set in a meta key of each product. You can read more about how this works here: https://woocommerce-b2b-plugin.com/docs/release-1-8-0-price-lists-csv-import-export-pricing-in-the-product-page/
Basically for each product or variation you can set these 2 meta keys for each group:
b2bking_regular_product_price_group_GROUPID
b2bking_sale_product_price_group_GROUPID
The keys would hold the regular and sale prices.
I believe you could use either the WordPress API or the WooCommerce API to achieve this.
Kind regards,
Stefan