ShippingRate - Liquid Object Reference
On this page
Description
The ShippingRate object contains information about the shipping rates.
:::note
This object supports custom data via the data attribute.
:::
Backed by
This drop renders the s_c__Shipping_Rate__c Salesforce object. A theme writes it as shipping_rate.
| Liquid attribute | Salesforce field |
|---|---|
shipping_method |
s_c__Method__c |
Every other attribute on this drop is derived by StoreConnect rather than read straight from one field. The Attributes section lists them all.
Fields you add yourself are not listed above. Expose one with a Custom Data Mapping record, then read it from shipping_rate.data. See custom data fields in Liquid.
Attributes
| Attribute | Type | Description |
|---|---|---|
form_value |
String | Returns the value to be used in the form when selection this rate |
id |
String | Returns the id of this shipping rate |
instructions_content |
String | Returns the instructions for this shipping rate |
name |
String | Returns the name of this shipping rate |
price |
Number | Returns the price for this shipping rate |
product_type |
String | Returns the type of product to which this shipping rate applies |
shipping_method |
String | Returns the method of this shipping rate |
Available on
- Cart - Liquid Object Reference —
shipping_rates - Fulfillment - Liquid Object Reference —
shipping_rate
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.