Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Ultimate › Default tax_status and tax_class setting
- This topic has 7 replies, 2 voices, and was last updated 6 years, 7 months ago by
WCFM Forum.
- AuthorPosts
- December 11, 2018 at 3:31 am #39589
Jay
GuestHi,
I disabled tax settings from Vendor’s capability.
When Admin opens product manager after vendor submitting a product for review, it’s showing tax_status=”None” and tax_class=”Standard” by default.
I don’t have such issue when I add product in Admin’s account directly.Is there code snippet I could use to make tax_status=”taxable” by default?
Something like:
$array[‘tax_status’][‘value’] = ‘taxable’;
$array[‘tax_class’][‘value’] = ‘standard’;Thanks,
Jay - December 11, 2018 at 6:12 am #39595
WCFM Forum
MemberHi,
“I disabled tax settings from Vendor’s capability.”
– As tax capability disabled for vendors so their added products generated with Tax status “None”.What’s wrong in this?
Thank You
- December 11, 2018 at 12:10 pm #39657
Jay
GuestHi,
I am disabling Tax for vendors, because every product they post should be ‘taxable’.
Thanks,
Jay - December 11, 2018 at 12:28 pm #39658
WCFM Forum
MemberHi,
But unfortunately, if you disable anything then it will off by default.
Better, you keep that enable for your vendors and instruct them not to OFF tax for products.
Thank you
- December 11, 2018 at 12:53 pm #39661
Jay
GuestHi,
Then is there way to hide(wcfm_custom_hide) tax tab in the product manage tab via functions? Or hiding through CSS is only the option?
- December 11, 2018 at 1:11 pm #39664
WCFM Forum
MemberHi,
OK< use this code ->
add_filter( 'wcfm_pm_block_class_tax', function( $classes ) { return ''; });
But keep ON Tax capability.
Thank You
- December 11, 2018 at 1:18 pm #39666
Jay
GuestThanks for your help.
It works!~Jay
- December 11, 2018 at 1:36 pm #39667
WCFM Forum
MemberGreat … you are welcome 🙂
- AuthorPosts
- The topic ‘Default tax_status and tax_class setting’ is closed to new replies.