FoxrFoxr
B2B buyers

Collect GSTIN from B2B buyers

Let buyers enter their GSTIN in the cart or at checkout so it prints on their invoice.

A GSTIN on the order makes the invoice a B2B invoice: it prints the buyer's GSTIN and company, and the order lands in the B2B tables of your GSTR-1. To choose how buyers provide it, click Set up GSTIN collection on the Customers page (or open Settings › Collect customer GSTIN).

You can use both options. GST Pro reads the GSTIN from whichever the order has and prints it on the invoice. Each option shows a status: Active / In use once an order has come in with it, or Not detected yet.

Adds GST Number and Company Name fields to your cart page and cart drawer. A wrong GSTIN is flagged as the buyer types, and only a valid GSTIN is saved. Checkout is never blocked, and leaving it blank is fine.

Click Open theme editor.

Under App embeds, turn on Collect Customer GST and click Save.

Optional: change the field labels and messages in the embed settings:

  • Title (default "Enter Details for GST Invoice:")
  • Label for GSTIN (default "GST Number:")
  • Collect Company Name? and Label for company (default "Company Name:")
  • Invalid GSTIN message (default "Please enter a valid 15-character GSTIN.")
  • Disable default styles, if you want to style the fields yourself

Click Preview your cart to see the fields on your store.

Cart drawers

The fields also appear in cart drawers that contain a cart form. If your theme's drawer doesn't, the cart page still works.

Option 2: Checkout company field

Works with every theme. Buyers type their company name and GSTIN in Shopify's company field at checkout, and GST Pro picks out a valid GSTIN.

Click Open checkout settings and set Company name to Optional.

In Online Store › Themes, open the theme menu and choose Edit default theme content. Search for "Company (optional)" and replace it with the label shown on the page: Company name & GSTIN (optional). Click Copy to copy it.

Or enter it yourself

You can always save a GSTIN on a customer. See Customers.

On this page