Package DE_EPAGES::Order::API::TLE::OrderHandler
Functions
CANAddToBasket
Returns true if the element (for example payment method, or shipping method) can added to the basket. The element must implement the method canAddToBasket($hVars) like DE_EPAGES::Shipping::API::Object::ShippingMethod::canAddToBasket DE_EPAGES::Payment::API::Object::PaymentMethod::canAddToBasket. TLE function adds Container,CurrencyID and TaxModel to $hVars.
Syntax |
#CANAddToBasket(#LineItemContainer, #Element) #IF( #CANAddToBasket( #Basket.LineItemContainer.Object, #ShippingMethod.Object ) ) Set shipping to: #ShippingMethod.NameOrAlias #ENDIF |
Input |
|