Commerce category import – Issue

Existing Categories replaced by other categories after importing new categories Commerce categories are used to create a hierarchical structure of items in your web store. The fields supported for commerce category CSV import reflect those on the Commerce Category Record at Commerce > Content Management > Catalog & Categories > Commerce Categories. After the import, the… Continue reading Commerce category import – Issue

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