How To configure a color palette

From the Color Palettes subtab on the configuration record, you can configure the color palettes to use for facets. You can use either images or any valid CSS color value. To configure a color palette: 1.Go to Commerce > Websites > Configuration. 2.Select the website and domain. 3.Click Configure. 4.Select the Layout subtab. 5.Select the… Continue reading How To configure a color palette

How to use script and install FB pixel on website

Created a configuration field to update the meta pixel id . Deployed the pixel base code to which contain a pixel id for the use of conversion tracking. define(   ‘JJ.FBPixelIntegration.FBPixelIntegration’ , [   ] , function (   ) {   ‘use strict’;   return {     mountToApp: function mountToApp (container)     {       var PDP = container.getComponent(“PDP”);       var plp = container.getComponent(“PLP”);       var self =… Continue reading How to use script and install FB pixel on website

How to Overwrite a File in the File Cabinet Using SuiteScript 2.0

This article will help you overwrite an existing file with the same name in the file cabinet using SuiteScript 2.0. 1. Create and upload a scheduled script: Save the below code as .js file: function execute(scriptContext) {   var fileId = ‘9505’; //file ID   var fileObj = file.load({     id: fileId   });   var fileType = fileObj.fileType;   var fileName… Continue reading How to Overwrite a File in the File Cabinet Using SuiteScript 2.0

How to resolve this issue while using map reduce script”TypeError: Cannot read property “OVERWRITE” from undefined”

This article will help you overwrite an existing file with the same name in the file cabinet using SuiteScript 2.0. 1. Create and upload a scheduled script: Save the below code as .js file: function execute(scriptContext) { var fileId = ‘9505‘; //file ID var fileObj = file.load({ id: fileId }); var fileType = fileObj.fileType; var fileName… Continue reading How to resolve this issue while using map reduce script”TypeError: Cannot read property “OVERWRITE” from undefined”

How to resolve SuiteScript Error SSS_INVALID_SRCH_OPERATOR

If an nlobjSearchFilter contains an invalid operator, or is not in proper syntax: {1}, an error is thrown: SSS_INVALID_SRCH_OPERATOR  The error may be thrown by any of the following scenarios: The filter name is not officially supported, i.e., the filter is not officially documented in the SuiteScript Records Browser under the record type being searched.… Continue reading How to resolve SuiteScript Error SSS_INVALID_SRCH_OPERATOR

Proposal For Implementing ACH Payment on the Website

Proposal Summary  This proposal covers the implementation of the ACH Payment in the Suite Commerce Website of Elevate Oral Care.  Requirement  The requirement is to setup the ACH (Automated Check Handling) payment method on the website of Elevate oral care.    Deliverables  We can implement the ACH Payment on the website.   We need to setup… Continue reading Proposal For Implementing ACH Payment on the Website

How to troubleshoot the error Module not found while using suitescript 2 file

You may see this error if you are using the require Function. The require Function has no global context. Consequently, relative paths do not work for the require Function unless you import require() as a dependency of define(). If you receive the Module does not exist error, try replacing relative paths with absolute paths. For… Continue reading How to troubleshoot the error Module not found while using suitescript 2 file

How to resolve SuiteScript Error SSS_INVALID_SRCH_OPERATOR

Scenario If an nlobjSearchFilter contains an invalid operator, or is not in proper syntax: {1}, an error is thrown: SSS_INVALID_SRCH_OPERATOR  Solution The error may be thrown by any of the following scenarios: The filter name is not officially supported, i.e., the filter is not officially documented in the SuiteScript Records Browser under the record type… Continue reading How to resolve SuiteScript Error SSS_INVALID_SRCH_OPERATOR

To display the category-based subtotal in the shopping cart

We display the subtotal for products in the salon category on the cart page. Items other than those in the salon category are categorized as Jan/Sen products. cart_summary.tpl {{#if GlossLab}} <td class=”cart-summary-item-count-total custom”> <div>Jan/Sen products : {{Symbol}}{{nonSalonProduct}} </div> <div>Salon products : {{Symbol}}{{salonProduct}} </div> </td> {{/if}} Cart.Summary.View.Site.js var GlossLab; var customersegment = _.find(profile_model.attributes.customfields, function (cust) {… Continue reading To display the category-based subtotal in the shopping cart