API Docs for:
Show:

eb_relatedProducts Class

Define eb_relatedProducts class.

Methods

eb_relatedProducts.getRelatedGeneralProductsData

() Object

GET service call method for Related General Product Details

Returns:

Object:

Details of related general product

eb_relatedProducts.getRelatedMeetingProductsData

() Object

GET service call method for Related Meeting Product Details

Returns:

Object:

Details of related meeting product

eb_relatedProducts.getShoppingCartRelatedProductsData

() Object

GET service call method for Shopping Cart Related Product Details

Returns:

Object:

Details of related meeting product

eb_relatedProducts.model

(
  • options
)

Related Products Model for binding data

Parameters:

  • options Any

    Parameter options

    • ServicePath String

      Service URL.

    • SitePath String

      Site URL

    • data String

      data.

    • domElement Object

      DOM element.

    • templatePath String

      HTML path.

eb_relatedProducts.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 promise object which when resolved returns HTML template.

Properties

eb_relatedProducts.defaultImage

String

Default Product Image -if image is not set then this image will applied their

eb_relatedProducts.defaultImage

String

Default Product Image -if image is not set then this image will applied their

eb_relatedProducts.eventDetailsURL

String

Site path to event details page.

eb_relatedProducts.getRelatedProducts

String

GET service to get related products

eb_relatedProducts.getRelatedProducts

String

GET service to get related products

eb_relatedProducts.getRelatedProducts

String

GET service to get cart related products

eb_relatedProducts.productDetailsURL

String

Site path to product details page.

eb_relatedProducts.productId

String

GET product id from URL

eb_relatedProducts.ServicePath

String

The path to the Ebusiness SOA layer.

eb_relatedProducts.SitePath

String

Control level setting: Site path.

eb_relatedProducts.TemplatePath

String

Control level setting Template path.