A simple module to add a localstorage cache to Backbone.sync. Objects you have already fetched are retrieved from the local cache. If the object isn’t cached, it falls back to ‘Backbone.sync’ which does not need to be the default implementation, so it should be compatible with any custom sync implementations. To use, extend Backbone.CachedModel instead… Continue reading Backbone.cache.model
Category: NS SuiteCommerce Advanced
All articles / code related to SuiteCommerce advanced
Async functions
An async function is a function declared with the async keyword. Async functions are instances of the AsyncFunction constructor, and the await keyword is permitted within them. The async and await keywords enable asynchronous, promise-based behavior to be written in a cleaner style, avoiding the need to explicitly configure promise chains. Async functions may also… Continue reading Async functions
Display exact product path in PDP
The breadcrumb displays the exact path of the product(including the category) only if the PRIMARY CATEGORY checkbox is checked inside the Commerce category record in Netsuite. If the PRIMARY CATEGORY checkbox is not checked for the items inside the Commerce category record, then the path of the PDP page will be “Home/ Product name”. An… Continue reading Display exact product path in PDP
Case Pack
The customer has to order in even numbers of 2s.
the quantity needs to be updated to the latest number which will satisfy the condition.
How can we add Layouts to the website in site builder
In site builder we can add layouts to the the website which will make the website more look good.We can add layout to the home page,category page and PLP page,related items, upsell items.Layouts are added to determine overall layout of the page.,how many row and columns of items we want and do we want pagination… Continue reading How can we add Layouts to the website in site builder
To create a landing page by using script-SCA
To create a landing page by script-SCA.
Add Patch to custom SSP to make site builder site secure
While adding SSL certificate to the domain in site builder,the cart page will not be shown.Because the site builder did not offer a secure shopping.For that we have to add some patch files to that. Steps for that: 1.Download the correct patch .zip file, depending on you implementation. Implementation Download Site Builder Reference Checkout 2.0.4… Continue reading Add Patch to custom SSP to make site builder site secure
Update the SSL Certificate -Automatic method
Procedure to do the update of SSL certificate1. setup>suitecommerce advanced>domain>view 2. Check if DNS is configured correctly. 3.Click on edit 4.Then in certificate tab,enable USE SSL CERTIFICATE TO SECURE DOMAIN and click automatic and enable the agreement .Then save. Note:If the domain type is Single Domain for Web Store and Checkout. The checkbox USE SSL… Continue reading Update the SSL Certificate -Automatic method
EXTENSIONS IN SCA
1. Footer DivisionThe footer division extension lets the user to add the content in the footer as a section under a heading.User can divide the contents on separate heading. Users can also add icons in the footer section. To enable Footer division extension for your website, perform the following steps after installing and activating the… Continue reading EXTENSIONS IN SCA
Add to cart issue-new customer have an issue of adding items in cart for the first time
Jira Code: SCL-162 Description-ISSUEWhen a new customer register from the website and when they are trying to add an item to cart for the first time , an error modal displays showing, “Sorry, there is a problem with this Item and can not be purchased at this time”.But the item will be added to cart.This… Continue reading Add to cart issue-new customer have an issue of adding items in cart for the first time