Hi, I found a public ticket of someone having the same issue, but I couldn't find how it was solved.
It's about the fact that I want to prevent subaccounts from inheriting parent account pricing. Every time I create a subaccount, it ignores the set dynamic rule and adjusts to the dynamic rule that was set to the main account.
And I would like my subaccounts each to have a different discount on its own.
Please help me how to accomplish this because my client really needs it.
It should then work for subaccounts to retain their own rules and discounts.
Please note though that other functionalities / rules / payment methods are also affected, and subaccounts will generally no longer inherit from parent accounts in various areas.
Hi, I found a public ticket of someone having the same issue, but I couldn't find how it was solved.
It's about the fact that I want to prevent subaccounts from inheriting parent account pricing. Every time I create a subaccount, it ignores the set dynamic rule and adjusts to the dynamic rule that was set to the main account.
And I would like my subaccounts each to have a different discount on its own.
Please help me how to accomplish this because my client really needs it.
Thanks.
Kind regards,
Gilbert
Hi Gilbert,
One way to achieve that would be to add the following PHP code snippet to your site:
This snippet can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/
It should then work for subaccounts to retain their own rules and discounts.
Please note though that other functionalities / rules / payment methods are also affected, and subaccounts will generally no longer inherit from parent accounts in various areas.
Kind regards,
Stefan
Hi Stefan,
Thank you so much for your quick reply.
The code works like a charm. Just what I was looking for.
Kind regards,
Gilbert