Files
liquid/documentation/objects/shipping_method.md
2014-07-23 09:43:56 -04:00

1.6 KiB

layout, title, nav
layout title nav
default shipping_method
group
Liquid Variables

shipping_method

The shipping_method object has the following attributes:

{% table_of_contents %}

{% anchor_link "shipping_method.handle", "shipping_method-handle" %}

Returns the handle of the shipping method. The price of the shipping rate is appended to the end of the handle.

Input

{% highlight html %}{% raw %} {{ shipping_method.handle }} {% endraw %}{% endhighlight %}

Output

{% highlight html %}{% raw %} shopify-international-shipping-25.00 {% endraw %}{% endhighlight %}

{% anchor_link "shipping_method.price", "shipping_method-price" %}

Returns the price of the shipping method. Use a money filter to return the value in a monetary format.

Input

{% highlight html %}{% raw %} {{ shipping_method.price | money }} {% endraw %}{% endhighlight %}

Output

{% highlight html %}{% raw %} $15 {% endraw %}{% endhighlight %}

{% anchor_link "shipping_method.title", "shipping_method-title" %}

Returns the title of the shipping method.

Input

{% highlight html %}{% raw %} {{ shipping_method.title }} {% endraw %}{% endhighlight %}

Output

{% highlight html %}{% raw %} International Shipping {% endraw %}{% endhighlight %}