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:
1
#Show the free subscription rate if the cart contains a subscription item
2
3
#Check to see if the cart contains a subscription item
4
has_subscription = false
5
Input.cart.line_items.each do |line_item|
6
if line_item.selling_plan_id
7
has_subscription = true
8
break
9
end
10
end
11
12
#Show the Free Subscription Shipping rate if the cart contains a subscription item otherwise hide it
13
Input.shipping_rates.delete_if do |shipping_rate|
14
if has_subscription
15
if shipping_rate.name == 'Free Subscription Shipping'
16
false #show rate
17
else
18
true #hide rate
19
end
20
else
21
if shipping_rate.name == 'Free Subscription Shipping'
22
true #hide rate
23
else
24
false #show rate
25
end
26
end
27
end
28
29
Output.shipping_rates = Input.shipping_rates
Copied!

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: [email protected]