Adding the stock message in cart page

we can add the stock message by extending the view  _.extend(CartLinesView.prototype, { template: jj_cart_lines_tpl, getContext: _.wrap(CartLinesView.prototype.getContext, function (fn) { var originalStock = fn.apply(this, _.toArray(arguments).slice(1)); var inStockMessage = originalStock.item.attributes._inStockMessage; var outofStockMessage = originalStock.item.attributes.outofstockmessage; var availableQuan=this.model.attributes.item.attributes.quantityavailable; if(availableQuan !==0){ originalStock.inStockMessage = inStockMessage; } else{ originalStock.outofStockMessage = outofStockMessage; }   return originalStock; }), in corresponding template <div class=”instock-cart-message”>{{inStockMessage}}</div> <div… Continue reading Adding the stock message in cart page

Proposal For Resale/Tax Certificate automation option from the SuiteCommerce site

Proposal Summary This proposal covers the feature for the Resale/Tax certificate automation option from the SuiteCommerce site of Cleerline Technology Group. Requirement The Cleerline Technology Group USA needs a feature for the Resale/Tax certificate automation option from the SuiteCommerce site. Deliverables We will add a check box to select the option for uploading the resale… Continue reading Proposal For Resale/Tax Certificate automation option from the SuiteCommerce site

Individual Transform Property

A good way to give the website some animations or transitions is to use the transform property in CSS. The problem is if we want to change just one of the transform properties later on, we must write the whole definition again for all properties. Example: .childBlock1:hover {               transform: translateX(0%) rotate(0deg) scale(0.9); } @media… Continue reading Individual Transform Property

Random Permissions Errors on Service Files

If you are seeing unexplained permissions errors for your service files on a correctly set up environment, find the customer record you are logged in as, edit, and go to System Information → Access and set the contact role to the native level (Customer Center) then save. Log in to the sight, then edit the… Continue reading Random Permissions Errors on Service Files

Strike-Through Pricing extension features

Enabling the strike through features in SCA will only help to compare the customer’s configured price level with the default price level. The price displayed in website will be like the price level selected in the customer record will be displayed striking the default price level selected in the configuration record in the field of… Continue reading Strike-Through Pricing extension features

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

Rename Image Files with the Item Identifier

The components of the image file name associate the file with an item record and determine how the images are presented on the product details page. Before renaming your image files, see Rename Image Files with the Item Identifier to define the naming conventions. Using the parameters for renaming image files, you can organize how the images… Continue reading Rename Image Files with the Item Identifier

Create a slider using Keyframes

We have created an animation using keyframes (slideshow), and on the main div (slideshow-wrapper), we have applied the animation with the following style: animation: slideshow 60s infinite;To add the code in SMT.