Help Center
How can we help? 👋

How to set up a WooCommerce store for Warehut

These quick tweaks allow Warehut to integrate with WooCommerce

In order for Warehut to generate shipping labels, your WooCommerce store needs to be correctly set up. Follow these easy instructions for a seamless shipping experience.

 

1. SHIPMENT TRACKING

Your store must have a shipment tracking plugin installed to allow Warehut to add tracking details to your orders. We recommend “Advanced Shipment Tracking for WooCommerce” by zorem (free). Make sure you only have one shipment tracking plugin installed on your site to avoid conflicts between different plugins.

 

2. SELLING INTERNATIONALLY

If you are selling internationally (outside of the United States), you need to provide correct customs and shipping information for every item you sell. This information allows Warehut to automatically generate complete and correct shipping labels, so your shipper can send your orders off quickly and easily. Incorrect or missing values may result in your international shipments not importing into the Warehut app (your shipper won’t see them on time) or getting stuck in customs, which can cause delays and complaints from your customers.

 

If you are selling internationally, Warehut will only import your orders from WooCommerce if all of these values are provided.

 

Step 1: Make it easy for Warehut to access customs information

You’ll need to add some code to your WooCommerce site to get Warehut working correctly. Paste this code into your functions.php file - instructions on where to find your functions.php file and how to edit it can be found here. Any questions, reach out to your customer service representative and they’ll guide you through the process.

 

Step 2: Add customs information to your products

Log in to your WooCommerce store and navigate to “Attributes” under “Products” on the left-hand side menu.

 

Add 3 new attributes:

  1. Name: HS Code, Slug: hscode
  1. Name: Country of Origin, Slug: origin
  1. Name: Cost Value, Slug: costvalue
 
Notion image
 
Notion image
 
Notion image
 

Click on “Configure terms” for each attribute. Add every different possible attribute for your products. For example, if your products are imported from China, Canada and Mexico, add CN, CA and MX as countries of origin.

  1. Enter 8 digit HS Codes without any punctuation.
  1. Enter countries of origin as 2-digit country codes.
  1. Enter cost values in US Dollars in the format “$x.xx”
Notion image
 
Notion image
 
Notion image
 

Now navigate to “All Products” under “Products,” then click on a Product to edit it.

 
Notion image
 

Scroll down to “Product Data”, then “Attributes”, then “Add new” and add each of the three attributes you just created.

 
Notion image
 

Add the attribute values that match your product and then click on “Save attributes”. Only add one attribute to each field because Warehut only supports a single attribute value per field. To sell on Warehut, every variant of a product must have the same HS code and country of origin. If, for example, your product has multiple countries of origin for different variants (e.g. the orange version is manufactured in China and the red version is manufactured in the USA), consider splitting up your product into two separate products.

 
Notion image
 

A unique SKU code and weight (in kg) must also be provided for every product you sell.

 
Notion image
 
Notion image
 

Click on “Update” to save your changes.

 
Notion image
 

After you’ve done this for every product, that’s it! Warehut can now automatically generate accurate international shipping labels for you.