Is it possible to create a Dynamic Rule that applies a percentage discount on Brands of my choice for customers of my choice?
WooCommerce supports Brands, but I can't make B2BKing fetch those brands in the dropdown. It will only find "Brands" that I've made as an actual Product Category. My list of actual Brands is plentiful, but B2BKing does not fetch those.
Wanted to add some more documentation. You see here I have actual Brands from WooCommerce, and I have a Product Category named Brands. B2BKing only fetches a bit of my Product Category named Brands (not even all of them).
Let me walk you through the proper way to configure this:
First, please go to B2BKing → Settings → Other and make sure to enable "Dynamic rules: Search by AJAX".
Then when configuring a rule, choose "Search for items..." under the "Applies to" dropdown. This search feature will show ALL categories, brands, and tags. The other option you were using is only for quick selection and may not show everything when you have many items on your site.
Now, regarding WooCommerce Brands specifically, please add this PHP code snippet to your site (you can add it to functions.php of your theme or use any code snippets plugin):
This snippet will replace the tags option with your WooCommerce Brands under the "Search for items..." area. Make sure to click on the Brands checkbox first when searching: https://prnt.sc/33U5sHB5powf
That was very thorough and straight to the point. Your suggestions on how to use the plugin, but also the snippet works great. Thank you for your help, you can now close the case.
Hello,
Is it possible to create a Dynamic Rule that applies a percentage discount on Brands of my choice for customers of my choice?
WooCommerce supports Brands, but I can't make B2BKing fetch those brands in the dropdown. It will only find "Brands" that I've made as an actual Product Category. My list of actual Brands is plentiful, but B2BKing does not fetch those.
Attached files: b2bking.jpg
Wanted to add some more documentation. You see here I have actual Brands from WooCommerce, and I have a Product Category named Brands. B2BKing only fetches a bit of my Product Category named Brands (not even all of them).
Attached files: B2BKing2.png
B2bKing3.png
Hi Michael,
Thank you for purchasing our plugin,
Let me walk you through the proper way to configure this:
First, please go to B2BKing → Settings → Other and make sure to enable "Dynamic rules: Search by AJAX".
Then when configuring a rule, choose "Search for items..." under the "Applies to" dropdown. This search feature will show ALL categories, brands, and tags. The other option you were using is only for quick selection and may not show everything when you have many items on your site.
Now, regarding WooCommerce Brands specifically, please add this PHP code snippet to your site (you can add it to functions.php of your theme or use any code snippets plugin):
This snippet will replace the tags option with your WooCommerce Brands under the "Search for items..." area. Make sure to click on the Brands checkbox first when searching: https://prnt.sc/33U5sHB5powf
I've recorded a quick video to show you how this should work: https://www.loom.com/share/781017582c204dd1a50053af99897b7f?sid=fbcf4ea8-4baf-491e-9ba8-8b99b150202d
Let me know if you need any clarification on the setup,
Kind regards,
Stefan
That was very thorough and straight to the point. Your suggestions on how to use the plugin, but also the snippet works great. Thank you for your help, you can now close the case.
Thanks for the update, that's great to hear!
If you run into any other issues or anything we can help with, please let us know.
Kind regards,
Stefan