By default, the Profile model returns the values as shown below To get the required fields values other than in the profile model, update the profile model by extending it and add the field to the response.
Author: Shyma T
Resolve “404 : Page not found” Error when Breadcrumbs are Clicked on SuiteCommerce Standard
When a user experiences a “Page not found” error after clicking on the breadcrumbs of an SCA website, one possible reason for this is that there are two Primary URLs selected on the Commerce Category record. To fix this, we just have to uncheck the other Primary URL not being used and create a new… Continue reading Resolve “404 : Page not found” Error when Breadcrumbs are Clicked on SuiteCommerce Standard
Hide Custom Transaction Line Fields from Product Detail Page
By default Custom Transaction Line Fields that has the STORE ITEM checked on the Applies To subtab are shown on the web store. They are shown regardless if the HIDDEN checkbox is checked as it only works for Site Builder web sites and not for SuiteCommerce Advanced web sites by design. Hiding unwanted Custom Transaction Line Fields can be done by checking… Continue reading Hide Custom Transaction Line Fields from Product Detail Page
Add a new column to the Support Case List in my-account
We can add a new column to the case list on the my-account page by extending the function as shown below. The value displayed in the new column is from the case record field ‘Type of Inquiry’. To add the heading for the new column, the corresponding template needs to be updated. Note: Since the… Continue reading Add a new column to the Support Case List in my-account
Customize Site Search Elements
Any themes created using these implementations include the ability to customize the Site Search button and input bar. We can customize our theme to locate the Site Search button and input bar in any location within any template or, independently, within different templates. Site Search button Site Search input bar and Go button Site Search… Continue reading Customize Site Search Elements
Commerce Module Migration to TypeScript
SuiteCommerce Advanced (SCA) source code is being migrated to TypeScript in phases. TypeScript is an open source superset of JavaScript designed to optimize development efficiency. The code migration to TypeScript is ongoing and includes changes such as: Changing filename extension from .js to .ts Transforming module system from Asynchronous Module Definition (AMD) to a TypeScript… Continue reading Commerce Module Migration to TypeScript
How to create different configuration fields in SCA
We can create different types of fields, such as input, checkbox, date, and array, in the SuiteCommerce configuration record, as shown below. {“type”:”object”,“subtab”:{“id”:”subtabid”,“title”:”New Sub Tab”,“description”:”To create a new subtab under Layout tab”,“group”:”layout”},“properties”:{“subtabid.stringfield”:{“group”:”layout”,“type”:”string”,“subtab”:”subtabid”,“title”:”Test String Field”,“description”:”To create an input field under ‘New Sub Tab’”,“default”:””},“subtabid.checkboxfield”:{“group”:”layout”,“subtab”:”subtabid”,“type”:”boolean”,“title”:”Test Checkbox Field”,“description”:”To create an checkbox field under ‘New Sub Tab’”},“subtabid.datefield”:{“group”:”layout”,“subtab”:”subtabid”,“type”:”string”,“nsType”:”date”,“title”:”Test Date Field”,“description”:”To create… Continue reading How to create different configuration fields in SCA
Third-Party Library Updates
With the 2023.1.3 release, The following third-party library has been added: sass 1.62.1 With the 2020.1.0 release, the third-party libraries shown in the table below have been updated. Library Old Version New Version Backbone.js 1.3.3* 1.4.0* Bignumber 7.2.1 9.0.0 Font Awesome 4.2.1 4.7.0* Handlebars 4.0.12 4.5.3 JQuery 3.3.1 3.4.1* Require.js 2.3.5 2.3.6
Added a new configuration property
With the 2023.1.2 release Added a new configuration property, Add Headers to SSP Responses, to provide a field in which to enter your security headers. This new property appears in the Advanced tab under the Security subtab.See the following help topics for more information about security headers: HTTPS Header Information Security Subtab Updated text and translation context notes to comply… Continue reading Added a new configuration property
New Google Analytics 4 (GA4) Tracking Events Integrated with Google Tag Manager Commerce Extension
With the 2023.1.2 release The following Google Analytics 4 (GA4) tracking events have been integrated with the Google Tag Manager Commerce extension: Add Payment Information – This event signifies a user has submitted payment information. Add Shipping Information – This event signifies a user has submitted their shipping information. Refund – This event signifies a refund was issued.… Continue reading New Google Analytics 4 (GA4) Tracking Events Integrated with Google Tag Manager Commerce Extension