Debounce function for type-ahead search results in suitecommerce advanced

You can use the debounce function for type-ahead search results. When a user begins to type a keyword to search for, requests are sent automatically after the third character is entered. As the user types keywords, more requests are sent. This can lead to a potentially high number of unnecessary requests.  For example, if the… Continue reading Debounce function for type-ahead search results in suitecommerce advanced

How to use Sequelize in Node.js

Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite, and Microsoft SQL Server.  Installation of Sequelize we have to install to Sequelize module install this module by using the following command. npm install sequelize Requiring module You need to include Sequelize module in your project by using these lines. const Sequelize = require(‘sequelize’);

How to perform a bulk update in nodejs using Sequelize

While Sequelize doesn’t provide a bulkUpdate() method, both update() and bulkCreate() methods allow you to update multiple rows with a single method.If you need to update multiple rows with the same values, you can use the update() method When you need to update multiple rows with different values, you can use the bulkCreate() method.Bulk update… Continue reading How to perform a bulk update in nodejs using Sequelize

Intelligent Item Recommendations for Websites

The Intelligent Recommendations feature uses artificial intelligence algorithms to calculate and display items a shopper may be interested in buying. The algorithms use data such as: what the shopper bought in the past what other shoppers with similar transaction history bought in the past what other items were bought by shoppers who bought a specific… Continue reading Intelligent Item Recommendations for Websites

Missing Domain URL on Web Site Setup Page

When domains that are already setup in your website’s setup go missing without any action or modification. However, manually entering back the missing URL will result to Domain Name Already In Use error. Solution To be able to enter the domain back, the domain list should be refreshed.  Navigate to Commerce > Hosting > Domains Click New Fill out all the necessary fields… Continue reading Missing Domain URL on Web Site Setup Page

Resolve Notice: “Page not found” for Commerce Category

There are instances when the existing Commerce Category no long works and renders the notice. One of the possible causes of the issue is a URL Fragment similar in Facet. Solution Update the Commerce Category Navigate to Commerce > Content Management > Commerce Categories Category in question: Click Edit URL Fragment: Change the valueExample: Update capitalization Click Save Update the SuiteCommerce Configuration Navigate to Setup > SuiteCommerce Advanced > Configuration… Continue reading Resolve Notice: “Page not found” for Commerce Category

Minimum Permission Requirements for a Role to be able to Run Gulp Deploy

In certain scenarios a user needs to customize a new role with ability to deploy the changes to the SCA website. Solution The following permissions will be sufficient to be able to run gulp deploy in a local machine. Navigate to Setup > Users/Roles > Manage Roles Click on Edit/Customize link next to the Role to customize Ensure the following permissions are set to… Continue reading Minimum Permission Requirements for a Role to be able to Run Gulp Deploy

Set Up SuitePromotions for Commerce Web Stores

To prepare your site to use SuitePromotions: Enable SuitePromotions features. Set up SuitePromotions records. Configure SuiteCommerce Advanced to use SuitePromotions. Step 1: Enable SuitePromotions Features In NetSuite, go to Setup > Company > Enable Features. On the Transaction tab, check the following boxes in the Sales section: Promotion Codes SuitePromotions Auto-apply Promotions Save the record. Step 2: Set… Continue reading Set Up SuitePromotions for Commerce Web Stores