最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

woocommerce offtopic - Taxclass based on certain conditions: location+userrole

programmeradmin3浏览0评论

I have a Woocommerce store, all my prices are incl. tax. Its a b2c/b2b hybrid store.

I need the following: Only certain user role (wholesale) AND only outside of NL should have a certain taxclass. The rest of customers just pays regular dutch 21% tax.

And they (wholesale, outside NL) should also be required to fill in Vat nr.

How to best do this?

I already tried some role based taxclass choosing code in functions php but that didnt work.

发布评论

评论列表(0)

  1. 暂无评论