API Docs for:
Show:

eb_adminViewCart Class

Define eb_adminViewCart class.

Methods

eb_adminViewCart.domElement

(
  • domElement
)

Page DOM element.

Parameters:

  • domElement Object

    current DOM element.

eb_adminViewCart.model

(
  • options
)

View Cart Model for binding data

Parameters:

  • options Any

    options contains different parameter like Site path, templatePath, domElement, ServicePath, shoppingcart, eventAllItems, subscriptionAllItems

    • ServicePath String

      Service URL.

    • SitePath String

      Site URL

    • domElement Object

      DOM element.

    • templatePath String

      HTML path.

    • eventAllItems Object

      Event Items.

    • shoppingCart Object

      Shopping Cart Object.

    • subscriptionAllItems Object

      Subscription Items.

eb_adminViewCart.render

(
  • options
)
String

Rendering public method to load HTML template. Based on page level configuration it will select the template and load in DOM

Parameters:

  • options Any

    options contains different parameter like Sitepath, templatePath and domElement..

    • SitePath String

      Site path.

    • templatePath String

      HTML file path.

    • domElement Object

      DOM element.

Returns:

String:

jQuery return promise object which when resolved returns HTML template.

eb_adminViewCart.shoppingCart

(
  • shoppingCart
)

Shopping cart object

Parameters:

  • shoppingCart Object

    shopping 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.