When working with Sequelize (the Node.js ORM), handling date/time fields in a readable or custom format is a common requirement. By default, Sequelize returns dates in ISO formats. However, many applications require alternative formats such as DD-MM-YYYY HH:mm:ss, localized date strings, or more human-readable representations. How Sequelize Handles Dates Out of the Box Sequelize offers… Continue reading Formatting Dates in Sequelize
Author: Radhika R
GraphQL Mutations: Basics and Usage
GraphQL mutations allow clients to modify server-side data by creating, updating, or deleting records. Unlike queries, which only read data, mutations enable write operations while still allowing you to specify what data you want returned. What Are Mutations • Mutations are operations that change data (CRUD: Create, Read, Update, Delete). • Use the mutation keyword… Continue reading GraphQL Mutations: Basics and Usage
Correcting Website Name in Google Search Using JSON-LD in SuiteCommerce Microsites
The client operates multiple microsites under different domains. However, in Google Search results, the website name for some existing indexed microsites is incorrect, outdated, or inconsistent. This article outlines the issue, Google’s rendering behavior, and the implemented solution using JSON-LD structured data to ensure each microsite has accurate SEO metadata aligned with its domain and… Continue reading Correcting Website Name in Google Search Using JSON-LD in SuiteCommerce Microsites
Address Validation Issues in Guest Checkout and Fixes
First Name and Last Name Not Saving or Reflecting in Address List (Billing Modal) When adding a billing address via the modal view, users enter First Name and Last Name. These fields are split from fullname, but the backend (and SCA profile model) expects fullname or addressee. After clicking “Save”: The modal remains open or… Continue reading Address Validation Issues in Guest Checkout and Fixes
Resolving ‘Load More’ Issue on PLP Page When Using a Custom Favorites Extension
Resolving ‘Load More’ Issue on PLP Page When Using a Custom Favorites Extension We introduced a custom Favorites extension that allows users to mark items on the PLP as favorites. However, the ‘Load More’ button on the Product Listing Page (PLP) stopped functioning as expected. SCA uses the FacetsItemsCollectionView for Infinite Scroll behavior. It dynamically… Continue reading Resolving ‘Load More’ Issue on PLP Page When Using a Custom Favorites Extension
Fields in GraphQL
Fields in GraphQL are the fundamental components that allow clients to specify the data they need from a server. They represent individual pieces of data that can be requested for an object. In GraphQL , fields are the fundamental units of data that can be requested for an object. They represent specific attributes or properties of… Continue reading Fields in GraphQL
Schema in GraphQL
What is GraphQL Schema A GraphQL Schema serves as a blueprint for the API that defines what data can be queried from the server, and what are the different types of that data. They define a contract of API between a server and a client. A GraphQL Schema is divided into basic components like below:… Continue reading Schema in GraphQL
Scalar Types in GraphQL
In GraphQL, scalar types are used to represent simple, indivisible values. They form the foundation of any GraphQL schema and are essential in defining the structure of data responses. When a GraphQL query is executed, the resulting data is returned in a tree-like structure, where scalar types appear as the leaf nodes—values that do not… Continue reading Scalar Types in GraphQL
SuiteCommerce Product Reviews
Product Reviews for SuiteCommerce and SuiteCommerce Advanced 2024.2 and Later If you have implemented SuiteCommerce or SuiteCommerce Advanced 2024.2 or later, your customers can view and create product reviews on your Commerce website by default. However, you can turn this setting off in the SuiteCommerce Configuration if you do not want your customers to use… Continue reading SuiteCommerce Product Reviews
Proposal For Update Website with New Version (SCA 2024.2) and Domain-Specific
Proposal Summary This proposal covers the scope of updating the current website setup to support multiple domains based on subsidiaries while ensuring that the required customizations and extensions function appropriately for each domain. Additionally, the website needs to be upgraded from SCA 2019.1 to SCA 2024.2, ensuring that all customizations and features are compatible… Continue reading Proposal For Update Website with New Version (SCA 2024.2) and Domain-Specific