Reviewing your documents I'm not sure if B2BKing is the right option for us.
We have normal RRP for B2C customers and we have a special trade price for B2B customers. We split B2B customers into 2 groups - those that have to pay in advance and those on payment terms.
It looks like we have 3 options with B2BKing. 1) Have 2 user groups instead of 1, but that means every product requires 2 price updates (plus more for bulk discounts).
2) manually override thousands of B2B customers and create lots of override rows for every B2B user (We have a dozen payment options for B2C, so this will result in over 100,000 extra rows of data).
3) get another role based plugin to take over this part of the job. How will I know if they will be compatible? Do you have any recommendations?
If you were to go with option 1, it's possible to add a code snippet to the site that makes all groups use a single group for pricing.
So for example if we have this product page:
The top group ("test users") has a price of $80 set, the bottom group has no price configured. The code snippet can set it so that all B2B users use the top group price (80)
The code snippet for that is:
add_filter('b2bking_b2b_group_for_pricing', function($price_group, $user_id){
return 1234; // 1234 must be replaced with the ID of the group
}, 10, 2);
This snippet only applies to prices set on the product page, it does not apply to dynamic rule discounts. But if you need that, we can provide a similar code that works for dynamic rules as well.
Hi,
Reviewing your documents I'm not sure if B2BKing is the right option for us.
We have normal RRP for B2C customers and we have a special trade price for B2B customers. We split B2B customers into 2 groups - those that have to pay in advance and those on payment terms.
It looks like we have 3 options with B2BKing.
1) Have 2 user groups instead of 1, but that means every product requires 2 price updates (plus more for bulk discounts).
2) manually override thousands of B2B customers and create lots of override rows for every B2B user (We have a dozen payment options for B2C, so this will result in over 100,000 extra rows of data).
3) get another role based plugin to take over this part of the job. How will I know if they will be compatible? Do you have any recommendations?
thanks
Hi Sebastian,
Thank you for getting in touch,
If you were to go with option 1, it's possible to add a code snippet to the site that makes all groups use a single group for pricing.
So for example if we have this product page:
The top group ("test users") has a price of $80 set, the bottom group has no price configured. The code snippet can set it so that all B2B users use the top group price (80)
The code snippet for that is:
This snippet only applies to prices set on the product page, it does not apply to dynamic rule discounts. But if you need that, we can provide a similar code that works for dynamic rules as well.
Kind regards,
Stefan
Many thanks,
that looks like an excellent workaround.
Thank you for the feedback, will change that starting with the next version!