Tax free items invoice extension

Extension that allows the user to make the invoice items tax free by uploading tax exemption certificate. Javascript Service controller SC Model Template

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

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