Hi, I am trying to add multiple products and brands into my dynamic discounts. However currently we cannot see any products and brands displayed on the dynamic rule pricing for us to pick. Only currently categories are being displayed.
(1) I believe the reason products are not showing up in your dynamic rule dropdown is due to a specific setting:
-> Please go to B2BKing → Settings → Other, and disable the setting "Dynamic rules: replace product dropdown". This setting is designed to remove products from dropdowns to allow manual product ID entry instead, but in your case it's preventing the products from displaying as needed.
(2) Regarding brands, by default B2BKing does not show brands in rules. However you can enable that by adding this PHP code snippet:
Unfortunately it's currently only possible to have either product tags or brands enabled in dynamic rules at one time, but not both simultaneously.
This limitation exists due to indexing and performance considerations - adding support for multiple taxonomies would negatively impact the plugin's performance in queries.
Thanks for reaching out. Just to clarify - do you mean products/brands are not showing up on the site frontend?
Could you check if the products and brands appear normally when you deactivate B2BKing? If they still don't show up with B2BKing deactivated, the issue would be unrelated to our plugin.
The products and brands are displaying on the front end just fine.
However on the back end when doing dynamic rules they are not appearing. Its not every product and brand, but only impacting a few brand and products, the ones not appearing on they dynamic rule list when we go to select either product or brands.
Could you try using the "Search for items..." option in the dynamic rule selector? Here's a screenshot showing what I mean: https://prnt.sc/YBuj5JHd1TYr
This search field should show all items in the results. Other selectors like the category/brand dropdowns only display a limited selection, so some products or brands may not appear there but should be findable through the search option.
Hi, I am trying to add multiple products and brands into my dynamic discounts. However currently we cannot see any products and brands displayed on the dynamic rule pricing for us to pick. Only currently categories are being displayed.
Please can you let me know why this is happening.
Hi Akash,
(1) I believe the reason products are not showing up in your dynamic rule dropdown is due to a specific setting:
-> Please go to B2BKing → Settings → Other, and disable the setting "Dynamic rules: replace product dropdown". This setting is designed to remove products from dropdowns to allow manual product ID entry instead, but in your case it's preventing the products from displaying as needed.
(2) Regarding brands, by default B2BKing does not show brands in rules. However you can enable that by adding this PHP code snippet:
add_filter('b2bking_dynamic_rules_taxonomy_option', function($val){ return 'brand'; }, 10, 1); add_filter('b2bking_custom_taxonomy_backend_name', function($name){ return 'Brand Name'; }, 10, 1);That should result in brands becoming available for selection in rules:
Please check if that can solve it for you,
Kind regards,
Stefan
hi, yes worked for brands.
Is there a code to get the product tags also available for dynamic rules?
As product tags are not there currently
Hi Akash,
Unfortunately it's currently only possible to have either product tags or brands enabled in dynamic rules at one time, but not both simultaneously.
This limitation exists due to indexing and performance considerations - adding support for multiple taxonomies would negatively impact the plugin's performance in queries.
Kind regards,
Stefan
Hi,
For some reason , not all the products or product brands are not displaying anymore. Would you know why and how to fix it?
Hi Akash,
Thanks for reaching out. Just to clarify - do you mean products/brands are not showing up on the site frontend?
Could you check if the products and brands appear normally when you deactivate B2BKing? If they still don't show up with B2BKing deactivated, the issue would be unrelated to our plugin.
If they do appear when B2BKing is deactivated, then it's most likely related to B2BKing's visibility settings. In that case, please review your visibility configuration for those products/categories - they may be set as invisible for certain groups: https://woocommerce-b2b-plugin.com/docs/faq-product-visibility-is-not-working-how-to-set-up-product-visibility/
Let me know what you find,
Kind regards,
Stefan
Hi Stefan,
The products and brands are displaying on the front end just fine.
However on the back end when doing dynamic rules they are not appearing. Its not every product and brand, but only impacting a few brand and products, the ones not appearing on they dynamic rule list when we go to select either product or brands.
Thanks for clarifying that.
Could you try using the "Search for items..." option in the dynamic rule selector? Here's a screenshot showing what I mean: https://prnt.sc/YBuj5JHd1TYr
This search field should show all items in the results. Other selectors like the category/brand dropdowns only display a limited selection, so some products or brands may not appear there but should be findable through the search option.
Kind regards,
Stefan