Display exact product path in PDP

The breadcrumb displays the exact path of the product(including the category) only if the PRIMARY CATEGORY checkbox is checked inside the Commerce category record in Netsuite. If the PRIMARY CATEGORY checkbox is not checked for the items inside the Commerce category record, then the path of the PDP page will be “Home/ Product name”. An… Continue reading Display exact product path in PDP

Prerequisites for Importing Matrix Items

Before you can import matrix items, you must do the following: Ensure that the Matrix Items feature is enabled, at Setup > Company > Setup Tasks > Enable Features, on the Items & Inventory subtab. Set up a custom list and a custom item field for each matrix option, at Customization > Lists, Records, &… Continue reading Prerequisites for Importing Matrix Items

Get the thumbnail of parent categories of an item in PDP

Get the parent category details using the method getItemInfo() in the entry point file. var item = pdp.getItemInfo(); Fetch the category model in the view file.Pass the url of the parent category to the Category Model and get the thumbnail. this.ParentCategories= item.commercecategory.categories; _.each(this.ParentCategories, function(pc){ pc.url=pc.urls[0]; var categoriesFetch = new CategoriesModel().fetch({ data: { fullurl: pc.urls[0] }… Continue reading Get the thumbnail of parent categories of an item in PDP

Adding facet field in SCA website

FACET OPTIONS WEBSITE SET UP Set up> suite commerce advanced>set up website> sca reference site example Search index subtab>facet  fields Set the facet fields as in the image shown above. Now we need to add the facet field in the facet configuration Set up> suitecommerce advanced> configuration> select domain and website Shopping catalog subtab> facetsConfigure… Continue reading Adding facet field in SCA website