Vendors and Taxes capability

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 7 reply threads
  • Author
    Posts
    • #36634
      Mustafa
      Participant

      Hi,

      After enabling Tax at WooCommerce settings and added VAT in standard rates.

      In WCFM dashboard, I created two groups one ‘Vend 1’, ‘Vend 2’
      I set ‘Taxes’ capability ON for ‘Vend 1’ and OFF for ‘Vend 2’

      I noticed the following:
      Customers who are buying products see Tax rates at checkout. Even though, this product belongs to ‘Vend 2’ group with Taxes capability set to OFF.
      Customers should not see any tax for any kind of products that ‘Vend 2’ vendors are posting or should be Zero.

      How can this be fixed?

      Thanks

    • #36878
      WCFM Forum
      Member

      HI,

      As you have set OFF tax for VND2, so are not allowed to setup Tax for the product – https://ibb.co/npupc0

      But tax will be applied on their products.

      Do you want set Tax Status “None” for this vendor group?

      Thank You

    • #36918
      Mustafa
      Participant

      Exactly, that’s what I want. This group with no tax capability should be None for them. Because Tax might not be applied to them.

    • #36950
      WCFM Forum
      Member

      Hi,

      We will take care of this in next update.

      For the timing you may add this code for the purpose –

      add_filter( 'wcfm_product_data_factory', function( $wcfm_data, $new_product_id, $product, $wcfm_products_manage_form_data ) {
      	if( !apply_filters( 'wcfm_is_allow_tax', true ) || !apply_filters( 'wcfm_is_allow_pm_tax', true ) ) {
      		$wcfm_data['tax_status'] = 'none';
      	}
      	return $wcfm_data;	
      }, 50, 4 );

      Thank You

    • #37021
      Mustafa
      Participant

      Will this be activated even if I add this code to function.php in the child-theme?

    • #37107
      WCFM Forum
      Member

      Hi,

      This code is no more required, we have added this in WCFM latest version – 5.1.9

      Please update yours and take a look.

      Thank You

    • #37132
      Mustafa
      Participant

      Hi,
      Issue is resolved. Thank you!

    • #37163
      WCFM Forum
      Member

      Great .. you are welcome 🙂

Viewing 7 reply threads
  • The topic ‘Vendors and Taxes capability’ is closed to new replies.