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