How to extend the Grid, List, and Table Facet templates in SCA

The template for Facet view in PLP page can be updated as shown below. Extend the facet item child view in Facet Browse view. Override the grid, table, list view templates.  _.extend(FacetsBrowseView.prototype.childViews, {           ‘Facets.Items’: function () {             var self = this;             var display_option = _.find(this.itemsDisplayOptions, function (option) {               return option.id === (self.translator.getOptionValue(‘display’) ? self.translator.getOptionValue(‘display’) :… Continue reading How to extend the Grid, List, and Table Facet templates in SCA

How to extend the Grid, List, and Table Facet templates in SCA

The template for Facet view in PLP page can be updated as shown below. Extend the facet item child view in Facet Browse view. Override the grid, table, list view templates.  _.extend(FacetsBrowseView.prototype.childViews, {           ‘Facets.Items’: function () {             var self = this;             var display_option = _.find(this.itemsDisplayOptions, function (option) {               return option.id === (self.translator.getOptionValue(‘display’) ? self.translator.getOptionValue(‘display’) :… Continue reading How to extend the Grid, List, and Table Facet templates in SCA

Resolve Unexpected Error on gulp extension:fetch

With the update on SuiteCommerce Extension Management bundle to support token-based authentication (TBA), a user may encounter unexpected error when executing gulp extension:fetch when integration record is not created. To resolve the error, follow the steps The following gulp commands have been added with the 2023.1 release, and can be used with extension and theme developer… Continue reading Resolve Unexpected Error on gulp extension:fetch

Extend template file

Normally we can extend the template file for a view as shown below For some views, it will not work due to some changes in the source file. For example, the template file for the view ‘ItemsSearcherItemView’ on the source is defined as shown below. In this case, the template file can be extended as

Resolve Error ‘We Couldn’t Process Your Item’ When Adding Items to the Cart

When a Matrix item is added to the cart, but there is an error message received when trying to process it, the steps below could be followed to resolve the error. View the item record of the item that cannot be added to the cart Click on Custom tab and check what Item Options are included for the said… Continue reading Resolve Error ‘We Couldn’t Process Your Item’ When Adding Items to the Cart