Package DE_EPAGES::Order::API::TLE::OrderHandler
Implements system-wide TLE functions.
- CANAddToBasket
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 |
#FUNCTION("CANAddToBasket", #LineItemContainer.Object, #Element.Object) #IF(#FUNCTION("CANAddToBasket", #Basket.LineItemContainer.Object, #ShippingMethod.Object)) Set shipping to: #ShippingMethod.NameOrAlias #ENDIF |
Input |
|