RECOMMENDATION: If you are using a version of The Portal Connector higher than 4.0, we strongly recommend utilizing the MVC based widgets and components to create your site. This documentation is for legacy purposes only and will soon be deprecated.

get_productBundlesTemplate()

Returns the kendo template for the bundle’s element of the widget.

Example-get_productBundlesTemplate()

tpc.page.TpcProductDetails.get_productBundlesTemplate();

Parameters

Returns

jQuery Object

get_productDescriptionContainer()

Returns the container of the description element of the widget.

Example-get_productDescriptionContainer()

tpc.page.TpcProductDetails.get_productDescriptionContainer();

Parameters

Returns

jQuery Object

get_container()

Returns the container element of the widget.

Example-get_container()

tpc.page.TpcProductDetails.get_container();

Parameters

Returns

jQuery Object

get_productCartContainer()

Returns the container of the cart element of the widget.

Example-get_productCartContainer()

tpc.page.TpcProductDetails.get_productCartContainer();

Parameters

Returns

jQuery Object

get_productMainImageTemplate()

Returns the kendo template for the image element of the widget.

Example-get_productMainImageTemplate()

tpc.page.TpcProductDetails.get_productMainImageTemplate();

Parameters

Returns

jQuery Object

get_productThumbnailsContainer()

Returns the container of the image thumbnails element of the widget.

Example-get_productThumbnailsContainer()

tpc.page.TpcProductDetails.get_productThumbnailsContainer();

Parameters

Returns

jQuery Object

get_productBundlesPager()

Returns the kendo template for the bundle’s pager element of the widget.

Example-get_productBundlesPager()

tpc.page.TpcProductDetails.get_productBundlesPager();

Parameters

Returns

jQuery Object

get_productPropertiesContainer()

Returns the container of all the properties element of the widget, this is the element shown on the right of the image element by default.

Example-get_productPropertiesContainer()

tpc.page.TpcProductDetails.get_productPropertiesContainer();

Parameters

Returns

jQuery Object

toggle()

Toggles the visibility of the widget.

Example-toggle()

tpc.page.TpcProductDetails.toggle();

Parameters

Returns

None

get_productBundlesContainer()

Returns the container of the bundle’s element of the widget.

Example-get_productBundlesContainer()

tpc.page.TpcProductDetails.get_productBundlesContainer();

Parameters

Returns

jQuery Object

get_model()

Returns the model configuration object of the widget, which contains several useful properties related to the widget.

Example-get_model()

tpc.page.TpcProductDetails.get_model();

Parameters

Returns

Object

get_productMainImageContainer()

Returns the container of the image element of the widget.

Example-get_productMainImageContainer()

tpc.page.TpcProductDetails.get_productMainImageContainer();

Parameters

Returns

jQuery Object

get_noDataPlaceholder()

Returns the div when no product details are displayed.

Example-get_noDataTemplate()

tpc.page.TpcProductDetails.get_noDataTemplate();

Parameters

Returns

jQuery Object

get_productDescriptionTemplate()

Returns the kendo template for the description element of the widget.

Example-get_productDescriptionTemplate()

tpc.page.TpcProductDetails.get_productDescriptionTemplate();

Parameters

Returns

jQuery Object

get_productCartTemplate()

Returns the kendo template for the cart element of the widget.

Example-get_productCartTemplate()

tpc.page.TpcProductDetails.get_productCartTemplate();

Parameters

Returns

jQuery Object

get_productTitleContainer()

Returns the container of the title element of the widget.

Example-get_productTitleContainer()

tpc.page.TpcProductDetails.get_productTitleContainer();

Parameters

Returns

jQuery Object

get_productTitleTemplate()

Returns the kendo template for the title element of the widget.

Example-get_productTitleTemplate()

tpc.page.TpcProductDetails.get_productTitleTemplate();

Parameters

Returns

jQuery Object

get_productThumbnailsTemplate()

Returns the kendo template for the image thumbnails element of the widget.

Example-get_productThumbnailsTemplate()

tpc.page.TpcProductDetails.get_productThumbnailsTemplate();

Parameters

Returns

jQuery Object

show()

Shows the widget on the page.

Example-show()

tpc.page.TpcProductDetails.show();

Parameters

Returns

None

get_productPropertiesTemplate()

Returns the kendo template for the element containing product properties of the widget.

Example-get_productPropertiesTemplate()

tpc.page.TpcProductDetails.get_productPropertiesTemplate();

Parameters

Returns

jQuery Object

hide()

Hides the widget from the page.

Example-hide()

tpc.page.TpcProductDetails.hide();

Parameters

Returns

None