Knowledge Base

Welcome to the SmarterCommerce documentation portal

What can we help you find?

SMARTERCOMMERCE

Search and Learn about Unified Commerce and Our SmarterCommerce Solutions
Digital Commerce Additional Manual

Product Information Integration


Include the plugin reference as follows.

<script src="http://www.yourwebstore.com/ResourcePackages/Bootstrap4/MVC/Scripts/sc-jquery.productinformation.js" type="text/javascript"></script>

 

Use the HTML element ID scj-product-information and configure the parameters using the HTML data attribute. 

Function Parameter
HTML Attribute*
Description
productNumber data-product-number Short Product Number 
branchPlant data-branchplant Branch Plant 
showAddToCartdata-showaddtocart 

Hide/show add to cart action. Default value is true.

Values: true / false.

The add to cart is displayed depends on this property and if the user is authenticated the process loads the user permission (ViewAddToCart/EADSW) and if the user is not authenticated the process loads the SmarterCommerce Settings > Web site > Guest Users > Display add to cart option setting. 
showAddToWishList data-showaddtowishlist 

Hide/show add to wish list action. Default value is true.

Values: true / false.

The add to list is displayed depends on this property and the Wish List page is configured in the SmarterCommerce Mappings module.
showPrice data-showprice 

Hide/show the price. Default value is true.

Values: true / false.

The show price is displayed depends on this property and if the user is authenticated the process loads the user permission (ViewPrice/EPRSW) and if the user is not authenticated the process loads the SmarterCommerce Settings > Web site > Guest Users > Display price information setting. Additionality, load the SmarterCommerce Settings > Catalog > Product Listings > Display price mode setting.
isRedirectAddtoCart data-isredirectaddtocart 

Flag to redirect to shopping page when product is added to cart. Default value is false.

Values: true / false.
productContentPage data-product-content-page 

Product content page **

Examples:

data-product-content-page=” productcontent”

data-shopping-page=”catalog/productcontent” 
shoppingPage data-shopping-page 

Shopping cart page **

Examples:

data-product-content-page=”shopping-cart”

data-shopping-page=”cart/shopping”
wishListPage data-wishlistpage 

Wish list page **

Examples:

data-wishlistpage=”wish-list”

data-wishlistpage=”account/wish-list”
loginPage data-loginpage 

Login page **

Examples:

data-loginpage=”login”

data-loginpage=”account/login

availabilityModeCustomer

 

availabilityModeSalesPerson

data-availabilitymodecustomer

 

data-availabilitymodesalesperosn

Product content page **

Values:

  • Do Not Display Availability > 0
    ·       Display availability status and quantity available > 1
    ·       Display availability status > 2
    ·       Display availability status, quantity and link > 3

    Examples:

    data-availabilitymodecustomer=”2”

          data-availabilitymodesalesperson = ”3”

 

Notes:

* Html attributes have priority over function parameters.  

** When a page is not configured, the plugin uses the default page configured in SmarterCommerce Mappings Module (View Additional Information at the end of this guide for more information).

The routes for the “data-product-content-page”, “data-shopping-page”, “data-wishlistpage”, “data-loginpage” are the relative paths where the pages are hosted in the Sitefinity CMS site.

Relative Paths examples:

  • index
  • graphics/images
  • help/articles/how-do-i-set-up-a-webpage
  • cart/shopping

Bring It All Together

We bring together digital commerce, retail and call center channels with a united approach that leverages the power of onmi-channel while prioritizing JD Edwards connectivity.

CONNECT WITH AN EXPERT