Resolve Error: Cannot find module ‘underscore’.

When you have cannot find module x errors, one thing that might help sometimes is deleting the whole npm_modules folder and just running npm install again. Sometimes, on the initial npm install, it might of failed to get one dependency for a package and it won’t try to get it again when you run npm… Continue reading Resolve Error: Cannot find module ‘underscore’.

Showing error message in the cart items while updating the quantity in website for “saved for later” items

Recently we faced an issue that while updating the quantity of the “saved for later items” items in website,getting an error message in the items of cart as below. So, Understood that this field has values greater than its maximum number allowed. Inspected the console and checked the network tab and checked payload. So understood… Continue reading Showing error message in the cart items while updating the quantity in website for “saved for later” items

Show custom product for special customer

Requirement is to show custom product only for special customers. The item should not be available for any other customer and also it should not available in logout condition. So for that we created an item field and in that field we can add the customer name , so the customer which is mentioned in… Continue reading Show custom product for special customer

Show different placeholder text for mobile and desktop

Requirement is to make the placeholder text different for mobile as well as desktop. Example: The placeholder that need to show in the mobile device is “” and in the desktop need to be “”. For that first get the screen width in the JavaScript file and pass that value to ‘getcontext’ and then update… Continue reading Show different placeholder text for mobile and desktop

Customization of SSP Applications using a secured backup in the File Cabinet

A user requires an option that will allow customization of SSP Applications using a secured backup in the File Cabinet. 1. Navigate to Commerce > Hosting > SSP Applications2. Application Folder: Click Customized Bundle3. Click Backup Folder4. Backup File: Click Download4. Backup File: Extract to a Folder5. Locate shopping.ssp and checkout.ssp in your equivalent custom modules of the following modules below: *Application Folder*\Modules\suitecommerce\CheckoutApplication@2.4.0\SuiteScript\checkout.ssp *Application Folder*\Modules\suitecommerce\ShoppingApplication@4.1.0\SuiteScript\shopping.ssp

PROPOSAL FOR CHANGING THE CHILD ITEM DETAILS ON PDP PAGE

Proposal Summary  This proposal covers the development of showing the child item details on PDP page of the website based on the selected option in the Cleerline website.  Requirement  When selecting any option in the PDP page, the corresponding details of that child item need to show in that page.  Our solution  If we are… Continue reading PROPOSAL FOR CHANGING THE CHILD ITEM DETAILS ON PDP PAGE

Commerce API

The Commerce API exposes a set of shopping objects and functions, that you can use to: Develop web store customizations. Create SSP application scripts, along with the full range of existing server-side SuiteScript. For details about the SuiteScript API, see SuiteScript Functions. See the following topics for more information about the Commerce API: Shopping Objects – The… Continue reading Commerce API

CSS Error Hides First div Element on Product Details Page

Step 1. Override the Item.Details.View.js File To override the Item.Details.View.js file, located in the ItemDetails module, create a directory in which to store your custom modules. For example, Modules/extensions. Open this directory and create a subdirectory to maintain your customizations. Give this directory a name similar to the module being customized. For example, create Modules/extensions/ItemDetailsExtension@1.0.0 In your new ItemDetailsExtension@1.0.0 directory,… Continue reading CSS Error Hides First div Element on Product Details Page