GST Implementation

WCMp Core

GST Implementation Resolved

Viewing 4 reply threads
  • Author
    Posts
    • #31748
      tejveersingh
      Participant

      In India, Tax should be calculated as per GST rules. But tax should be calculated based on Vendor Store location. If Vendor and Customer is from same state then tax should be CGST + SGST, and if vendor & customer is from different state then IGST will be applied. In woocommerce, base location is single and that’s our shop location, But we need to be tax calculated on the basis of vendor & customer location. We need this implementation urgently as we could loose our sales as well as this will impact our business also. It’s a request to add gst implementation. India’s multi vendor sites need this badly.

    • #31790
      WCMp Admin
      Keymaster

      Hi @tejveersingh, thanks for reaching WCMp Support!!

      Currently, the tax flow gets controlled by WooCommerce, hence it will calculate the tax either based on the admin’s location or customer’s location. However, we will soon introduce the flow where the tax will be calculated on the vendor’s location.

      However, you can also implement this flow by doing custom code. For further reference, you can look into the codes here – https://github.com/dualcube/dc-woocommerce-multi-vendor

      Let us know if you need any further support.

    • #31816
      tejveersingh
      Participant

      If tax flow gets controlled by Woocommerce then we need custom codes for woocommerce & not for wcmp? Is there any guide or hooks to be worked on? I will run through woocommerce codes also & lets see… but if any help is provided it will be appreciated, thanks.

    • #31825
      tejveersingh
      Participant

      Hello there,

      In woocommerce/includes/admin/settings/views/settings-tax.php

      line 31 : array(
      ‘title’ => __( ‘Calculate tax based on’, ‘woocommerce’ ),
      ‘id’ => ‘woocommerce_tax_based_on’,
      ‘desc_tip’ => __( ‘This option determines which address is used to calculate tax.’, ‘woocommerce’ ),
      ‘default’ => ‘shipping’,
      ‘type’ => ‘select’,
      ‘class’ => ‘wc-enhanced-select’,
      ‘options’ => array(
      ‘shipping’ => __( ‘Customer shipping address’, ‘woocommerce’ ),
      ‘billing’ => __( ‘Customer billing address’, ‘woocommerce’ ),
      ‘base’ => __( ‘Shop base address’, ‘woocommerce’ ),
      ),
      ),

      so I will add
      options’ => array(
      ‘shipping’ => __( ‘Customer shipping address’, ‘woocommerce’ ),
      ‘billing’ => __( ‘Customer billing address’, ‘woocommerce’ ),
      ‘base’ => __( ‘Shop base address’, ‘woocommerce’ ),
      ‘vendor’ => __( ‘Vendor location’, woocommere’ ),
      ),

    • #31971
      WCMp Admin
      Keymaster

      To chnage the Base Location use this filter :

      apply_filters( 'woocommerce_get_tax_location', $location, $tax_class, $customer );
      Copy

      Now, by checking

      'vendor' === get_option( 'woocommerce_tax_based_on' )
      Copy

      , you have to pass vendor base location in $location array.

      For further reference, you can look into this: https://github.com/woocommerce/woocommerce/blob/master/includes/class-wc-tax.php

      Let us know if you have any further query.

Viewing 4 reply threads

The topic ‘GST Implementation’ is closed to new replies.

COVID-19 Outbreak: WCMp team is supporting business affected by coronavirus

Read the Message Buy at Slashed Price