The SCA contains a module for the notification which is GlobalViewsMessageView.We can add notifications like errors and success messages using the module. The Example is added below First, we need to define GlobalViewsMessageView the module The Example code to show the notification of Success message is added below alert.show(placeholder, 6000); The 6000 is an indication… Continue reading How to Add Notification in SCA
Author: Anik Babu
How to add cache support for the SCA website
if we need to reduce the website API calls of the pages if the same page is loading on the website without any change of content. Suppose we add cacheSupport: true in the model file. The same data will be fetched only once on the website. The next time when fetches data it will fetch… Continue reading How to add cache support for the SCA website
Manually upload SSL Certificate
If you would prefer the manual option, please follow the steps: Generate CSR File and this can take up to 15 minutes. When the CSR file is ready, we need to Download CSR File. We need to submit the CSR file to your Certificate Authority (CA) when we purchase an SSL certificate for the domain.… Continue reading Manually upload SSL Certificate
Saved Search for Abandoned Shopping Cart Items of Customers on a Specific Day
only applicable SuiteCommerce SuiteCommerce Advanced SiteBuilder 1. Navigate to Lists > Search > Saved Searches > New, then select Customer as a Search type 2. Provide a Search Title 3. Under Criteria > Standard subtab add: -Shopping Cart: Enter Date Last Item Added | Description: is after 4 hours ago –Shopping Cart: Enter Item | Description: is not none 4. Under Criteria > Summary subtab add the following filter: – Summary Type: Enter Sum – Field: Enter Formula (Numeric) – Description: Is 0 – Formula: Enter CASE WHEN {transaction.type}=’Sales Order’ AND TO_CHAR({transaction.datecreated},’MM/DD/YYYY’)=TO_CHAR({today},’MM/DD/YYYY’) THEN {transaction.amount} ELSE… Continue reading Saved Search for Abandoned Shopping Cart Items of Customers on a Specific Day
How to solve the permission violation issue with the customer accessing the sales order of another customer in the order approval system
in the order approval system the customer as an approver need to have access to the sales order of all the sub-customers under the company. So in the suite commerce standard is not allowed to access the sales order. So we have implemented an extension for that and extended OrderHistory.Model . In the extended model,… Continue reading How to solve the permission violation issue with the customer accessing the sales order of another customer in the order approval system
How to add my account tab to the shopping section
once we develop the extension only for my account. The myaccount tab is not visible in the shopping section like the homepage, product list, and product detail page. so we can possibly add my account tabs to the shopping page. Then we can add a script for creating tabs
How to create an entry point only for the shopping section in multiple modules of extension
we have created a new javascript file in the module of the manage in the order approval system extension. The new javascript file is added in the common manifest for the extension.
How to add a subject to a mailto anchor in HTML
we can add subject ,cc and bcc using the attributes of the anchor tag in html
Automatic 301 Redirect Method for Domains Assigned to a Webstore of SCA
Here are the steps to set this up: Navigate to Commerce > Hosting > Domains Add every domain assigned to one web store. Make sure that only one web store is selected at the ‘Web site’ column. Generally one of the domains starts with ‘www’ and other domains have no prefix Once all domains have been entered, click Save Navigate… Continue reading Automatic 301 Redirect Method for Domains Assigned to a Webstore of SCA
How we can use delay in backed of SCA
We can use the Sleep function in Suitescript to delay the code in SCA. Some examples, such as if the sales order has been created with a delay and we are planning to create a customer deposit depending on the sales order, show an error for the reference key of the sales order. In this… Continue reading How we can use delay in backed of SCA