eb_adminViewCart Class
Define eb_adminViewCart class.
Item Index
Methods
Properties
Methods
eb_adminViewCart.domElement
-
domElement
Page DOM element.
Parameters:
-
domElement
Objectcurrent DOM element.
eb_adminViewCart.model
-
options
View Cart Model for binding data
Parameters:
-
options
Anyoptions contains different parameter like Site path, templatePath, domElement, ServicePath, shoppingcart, eventAllItems, subscriptionAllItems
-
ServicePath
StringService URL.
-
SitePath
StringSite URL
-
domElement
ObjectDOM element.
-
templatePath
StringHTML path.
-
eventAllItems
ObjectEvent Items.
-
shoppingCart
ObjectShopping Cart Object.
-
subscriptionAllItems
ObjectSubscription Items.
-
eb_adminViewCart.render
-
options
Rendering public method to load HTML template. Based on page level configuration it will select the template and load in DOM
Parameters:
-
options
Anyoptions contains different parameter like Sitepath, templatePath and domElement..
-
SitePath
StringSite path.
-
templatePath
StringHTML file path.
-
domElement
ObjectDOM element.
-
Returns:
jQuery return promise object which when resolved returns HTML template.
eb_adminViewCart.shoppingCart
-
shoppingCart
Shopping cart object
Parameters:
-
shoppingCart
Objectshopping cart object.
Properties
eb_adminViewCart.defaultErrorMessage
String
Default error message.
eb_adminViewCart.defaultImage
String
Default product image.
eb_adminViewCart.errorResponses
Object
If service error response contains error code not defined in this object then default error message will be shown.
eb_adminViewCart.eventDetailsURL
String
Redirect to event Details Page.
eb_adminViewCart.eventRegistrationURL
String
Redirect to event registration Page.
eb_adminViewCart.productDetailsURL
String
Redirect to product Details Page.
eb_adminViewCart.ServicePath
String
The path to the eBusiness SOA layer.
eb_adminViewCart.SitePath
String
Control level setting: Site path.
eb_adminViewCart.TemplatePath
String
Control level setting Template path.