Shippingmethods
Summary
The Shippingsmethods
loop lets you display information about shipping methods.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
Ecom:Cart.Shippingmethod.Description
Returns a description of the shipping method.
@GetString("Ecom:Cart.Shippingmethod.Description")
Ecom:Cart.Shippingmethod.EligibleForFreeShipping
Returns True or False according to appropriate option state of the shipping.
@GetBoolean("Ecom:Cart.Shippingmethod.EligibleForFreeShipping")
Ecom:Cart.Shippingmethod.Error
Returns an error message when the shipping provider returns an error.
E.g. the USPS shipping provider could return this message: "First Class mail must weigh 13 ounces or less".
@GetString("Ecom:Cart.Shippingmethod.Error")
Ecom:Cart.Shippingmethod.FeeFree
Returns a value depending of the input in the field No fee for purchases over.
@GetString("Ecom:Cart.Shippingmethod.FeeFree")
Ecom:Cart.Shippingmethod.ID
Returns the ID of the shipping method
@GetString("Ecom:Cart.Shippingmethod.ID")
Ecom:Cart.Shippingmethod.IsSelected
Returns a value if the shipping method is selected in the current country relation.
@GetString("Ecom:Cart.Shippingmethod.IsSelected")
Ecom:Cart.Shippingmethod.Name
Returns the name of the shipping method.
@GetString("Ecom:Cart.Shippingmethod.Name")
Ecom:Cart.ShippingMethod.Price
Returns the country fee or default fee for the shipping method.
@GetString("Ecom:Cart.ShippingMethod.Price")
Ecom:Cart.ShippingMethod.Price.IsZero
Returns a value if the current country has no fee.
@GetString("Ecom:Cart.ShippingMethod.Price.IsZero")
Ecom:Cart.Shippingmethod.PriceOverMaxWeight
Returns price amount applied the max weight over.
@GetString("Ecom:Cart.Shippingmethod.PriceOverMaxWeight")
Ecom:Cart.Shippingmethod.PriceOverMaxWeight.Clean
Returns price amount applied the max weight over is double type..
@GetDouble("Ecom:Cart.Shippingmethod.PriceOverMaxWeight.Clean")
Ecom:Cart.Shippingmethod.Warning
Returns a warning/information message from the shipping provider.
E.g. the USPS shipping provider could return this message: "Your invoice may vary from the displayed reference rates".
@GetString("Ecom:Cart.Shippingmethod.Warning")