Simple Commerce Logo


Get Shipping Methods

This tag can be used to give the user the option to select which shipping method they'd like their order to go through. The tag will loop through all of your configured shipping methods, see if they are available for the order's shipping address and if they are, the details and price will be outputted.

1<select name="shipping_method" value="{{ old:shipping_method }}">
2 <option value="" disabled selected>Select a Shipping Method</option>
3 {{ sc:shipping:methods }}
4 <option value="{{ handle }}">{{ name }} - {{ cost }}</option>
5 {{ /sc:shipping:methods }}

Need some help?

There's plenty of ways of getting help: either via opening a GitHub Issue, starting a conversation on the Statamic Discord or directly emailing me.