This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

shipping_method_selected Twig function

Defined in /modules/shop/classes/shop_twigextension.php, lines 60-66
Author LemonStand eCommerce Inc.
boolean function shipping_method_selected(mixed $shipping_method, shipping_option $shipping_option)
$shipping_method mixed specifies the currently selected shipping option. Use the $shipping_method variable generated by the shop:checkout action.
$shipping_option shipping_option shop_ShippingOption Shipping option object to check.
{return} boolean returns true if the shipping option is selected.
Returns true if a specific shipping option is selected in the checkout. This helper works only with flat shipping option lists.