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.
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:
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