Recharge (Shopify Checkout)

First time subscription orders

If your store is on Shopify Checkout first time subscription orders will receive the same shipping rates that non-subscription orders will get. This means that first time subscription orders are subject to the shipping rates of the variant of the visitor.

Stores will often want to offer $0 shipping on all first time subscription orders.

This can be done by creating a "Free Subscription Shipping" shipping rate in Shopify:

In order to make sure the "Free Subscription Shipping" rate does not appear to non-subscription orders we need to use a Shopify Script to only allow it to be visible on subscription orders. The Shopify Script does not affect recurring orders.

Shopify Shipping Script:

#Show the free subscription rate if the cart contains a subscription item

#Check to see if the cart contains a subscription item
has_subscription = false
Input.cart.line_items.each do |line_item|
  if line_item.selling_plan_id
    has_subscription = true
    break
  end
end

#Show the Free Subscription Shipping rate if the cart contains a subscription item otherwise hide it
Input.shipping_rates.delete_if do |shipping_rate|
  if has_subscription
    if shipping_rate.name == 'Free Subscription Shipping'
      false #show rate
    else
      true #hide rate
    end
  else
    if shipping_rate.name == 'Free Subscription Shipping'
      true #hide rate
    else
      false #show rate
    end
  end
end

Output.shipping_rates = Input.shipping_rates

Recurring subscription orders

The shipping price charged on recurring orders can be set several ways. This depends on which version of Recharge you're on and also if you were migrated at some point from the legacy version.

The first place to check is Recharge > Settings > Shipping Settings:

If you see a screen like this then you can configure the recurring shipping price here. Be careful though, any changes here will affect the shipping price charged for all ongoing renewals.

You can always email us for more help: support@shipscout.app

Last updated