Slack Notes – Sep 6 2019 Error – “Cannot find default value for object” when try to submit order using Commerce APIThe module that using in extension’s model is SC.Models.Init and using the order object from that modulenot able to track the source of the error since the logs only say Code: UNEXPECTED_ERROR\nDetails: TypeError: Cannot find default value for object.… Continue reading UNEXPECTED_ERROR\nDetails: TypeError: Cannot find default value for object
Category: Ecommerce-Web- App-Development
All articles related to Website development
Error with themeAssets Path
Error – Error with themeAssets Path. Specifically with getThemeAbsoluteUrlOfNonManagedResources. We are developing a theme but when testing we get broken images when the site switches to the netsuite checkout domain (moving away from the store url) Specifically the ajax loader, also the site cannot seem to properly find the favicon even though that path is… Continue reading Error with themeAssets Path
Add new values to the configuration record via extension
The below code enables us to add content to existing fields in the configuration. The client request was to add custom template for PLP. The current display is grid, list, table. However, it is required to edit the template for customization. Since customer used SC bundle if we edit the theme, it will stop to… Continue reading Add new values to the configuration record via extension
How to create fields in the configuration record SCA
We can create new subtab, a new section in the subtab and different field types The above code creates a subtab and a list section in the configuration record
Tax Free Certificate Upload Extension
SCL-303 Tax Exemption Certificate This extension has JS, Template, SCSS, SuiteScript files. We have to provide permission for the SS file manually. The extension will be helpful for the user to remove tax from their order if they have a tax free certificate, below are the steps to create the extension Create 2 custom transaction… Continue reading Tax Free Certificate Upload Extension
Subscribe for email: Checkout as guest
An extension is created in SC standard where a checkbox is displayed and checked by default for email subscription Add the below HTML code to the template and SCA will check the email subscription by default
Implement Search in transaction pages using PO# or memo SCA Extension
An extension is created to search Sales orders based on PO# and quotes based on memo. The transaction column is enabled in SCA configuration. The extension extends list header js, quote list and purchase list. A template is also being overridden
SWAL for SCA Extension
This the AMD module we converted to for using a third party library in SCA extension. This way we we can reduce the load time of a page
Crypto.js as AMD for SCA Extensions
This module helps us to encrypt and decrypt data. This can be used in SCA extension for third party integration
PLP Image Resize
Jira Code: WF-3: Increase picture size on product category pages Increase the picture size of product photos so they are larger Extended the facet item child view, Facet Browse view Override the grid, table, list view templates