How do I add "shipping_label" attribute on my shopify products?

How do I add "shipping_label" attribute on my shopify products?

Gorilla17
Excursionist
28 0 12

Hello everyone

I have products from multiple vendor and I want to create separate shipping charges for different vendors in Google Merchant Centre.

For some vendors I offer free shipping and for some vendors I don't.

Kindly let me know how shall I configure this.

 

Replies 3 (3)

matt3161
Shopify Partner
2 0 1

I have been experiecing the same issue, looking for a similar solution.
This is the best information I have found on this topic:

https://community.shopify.com/c/ecommerce-marketing/shopify-google-app-content-api-gt-shipping-label...

EddyGrant
Tourist
20 0 0

Hi @Gorilla17, did you ever find a solution? We have the exact same issue.

ri31
Shopify Partner
15 1 3
You can now (2024) do this by setting up an Attribute Rule in Merchant Center.
 
Steps:
 
In Shopify
  • Determine what different shipping charges you want for each vendor. List out how many separate shipping categories you will need and give each of them a name.
    • For example, if you have unique shipping costs based on each vendor that are always going to be different per vendor, you could use the vendor name. Or if you have shipping categories like free shipping, free shipping for orders over $50, $7.90 shipping, etc, you can use those for names. Spaces are OK but I don't know if special characters like currency symbols will work.
  • In Shopify, ensure you have the "Google & Youtube" app installed.
  • In Shopify, for each product, add the name of the relevant shipping category to the metafield "Google: Custom Label 0". You can also use the fields "Google custom label 1" ... "Google custom label 5" if you already have data in the Label 0 field.

 

In Google Merchant Center

  • Add “advanced data management” add-in in GMC
    • Go to GMC
    • Click gear icon then “Add-ons”
    • Find the add-on, and click to enable
  • Set up the rule to copy the value of your Custom Label field to the Shipping Label field
    • Go to gear icon again, then “Data Sources”
    • Click the blue link that is the name of the data source
    • Click the tab “Attribute Rules”
    • Screenshot 2025-01-07 152900.png
    • Click New

    • Select “shipping label” from the dropdown

    • Set “Set to” then from the list, select “custom label 0”

    • Screenshot 2025-01-07 152915.png

       

  • Test the rule
    • Preview the sample products to check the results

    • Click “Save draft” then “Test rule”. Then wait until the page finishes running the test and make sure it’s working correctly.

    • Screenshot 2025-01-07 153057.png
    • After checking the test, again go back to Data Sources → select Content API → Attribute Rules, then apply/activate the change! Otherwise, nothing will happen

  • Wait at least 1 hour for Google to process the change, then go set up the shipping policies by clicking "Shipping and Returns" in the left sidebar. Set up one shipping policy for each shipping label.

  • ri31_4-1736260436032.png