Update script to give free shipping based on customer tag and shipping address country

Topic summary

A user is seeking help modifying a Shopify Ruby script that currently provides free shipping based on customer tags (VIP levels and subscribers). They want to add a restriction so the free shipping only applies to customers in Australia.

Current functionality:

  • Level 2 VIPs get free standard shipping
  • Level 3 VIPs get free express and standard shipping
  • Subscribers receive shipping discounts

Technical challenge: The existing script lacks country-based filtering logic.

Community responses:

  • One commenter suggests contacting the original script developer, as Ruby expertise is needed
  • Another confirms this requires a Ruby developer if using Shopify Plus Script Editor
  • A third recommends using the “Advanced Free Shipping” app instead, noting it uses Shopify’s newer shipping discount API and can handle customer tags + country restrictions without custom code

Key context: Shopify is deprecating Scripts in the near future, making app-based solutions potentially more sustainable than modifying legacy Ruby scripts.

The discussion remains open with no code solution provided yet.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

If you are Shopify Plus client and using script editor you will need a ruby developer to help you with that, feel free to connect