mountToApp: function mountToApp(container) { var layout = container.getComponent(‘Layout’); var plp = container.getComponent(‘PLP’); //EXTESNION TO FETCH THE ITEM NAME FROM ‘storedescription’ AND DISPLAY IN PLP PAGE. if (plp) { plp.addToViewContextDefinition(‘Facets.ItemCell.View’, ‘name’, ‘string’, function name(context) { var model = _.find(plp.getItemsInfo(), function(item) { return item.internalid == context.itemId }); return model.storedescriptio… Continue reading Eg for addToViewContextDefinition & the components PLP, PDP, Cart,
Author: Archana Luye
Eg for addChildView & layout component
mountToApp: function mountToApp (container) { var layout = container.getComponent(‘Layout’); if(layout) { layout.addChildView(‘home-carousel’, function() { return new HomeSliderView({ container: container }); }); }}
Extension components and methods
The SuiteCommerce Extensibility API lets you extend the core SuiteCommerce application to suit your business needs. Use any of the available component classes to customize the application and add new features or functions. Link to Frontend Extensibility API https://system.netsuite.com/help/helpcenter/en_US/APIs/SuiteCommerce/Extensibility/Frontend/index.html Link to Extensibility API Version Table https://system.netsuite.com/help/helpcenter/en_US/APIs/SuiteCommerce/Extensibility/versions.html#suitecommerce-feature-matrix Main Components Cart Checkout CMS Environment Layout LoginRegister MyAccountMenu… Continue reading Extension components and methods
SCA Module structure
In SCA, a module has the following folder structure. Configuration : Contains a JSON file. Modifications to the configuration record of the domain can be achieved using this. JavaScript: Contains the entry point file, Router, Front end Model, Collection and View files SuiteScript: Contains the Backend model file and the service controller. Templates: Contains the… Continue reading SCA Module structure
SCA SourceCode structure
In the SCA versions prior to Aconcagua, the complete code of the webstore resides in the SSP application folder. The template files, javascript files and the suitescript files resides inside the SSP application folder. There is a backup folder in the SSP application which contains the zip files of the webstore code. When the code… Continue reading SCA SourceCode structure
Proposal For Customers Credit & Cash Accounts Terms
JIRA TASK : https://jobinandjismi.atlassian.net/browse/THR-108 Requirement Add an option to have customers apply for credit terms (they only have to pay say one each month etc). This should be seen as a tab in the account, which if clicked will take them to fill out some information to request for credit terms. Solution To provide an… Continue reading Proposal For Customers Credit & Cash Accounts Terms
Proposal for appending HTML Tag on Confirmation Page of Ecommerce
JIRA TASK : https://jobinandjismi.atlassian.net/browse/THR-106 RequirementOur Google Ads team has asked if we can put HTML codes at the confirmation (thanks you)page after purchase for each subsidiary (just have NZ and AU for now, US to come) so thatwe can track who purchased on Google Tag Manager. OurSolutionWe will append the HTML code in the order… Continue reading Proposal for appending HTML Tag on Confirmation Page of Ecommerce
Proposal For Email Templates From SCA Webstore
JIRA TASK : https://jobinandjismi.atlassian.net/browse/THR-104 RequirementImplementation of the email templates from SCA webstore for Thermogard. Need to display a different email template for the 3 domains of the single website.●Order confirmation●Customer registration●Order approval●Password Recovery Our SolutionNeed to display a different email template for the 3 domains. In that case, in case of order confirmation emails, we… Continue reading Proposal For Email Templates From SCA Webstore
Proposal for “Enquire With Us” section For required Commerce Categories In SCA Webstore
JIRA TASK : https://jobinandjismi.atlassian.net/browse/THR-103 RequirementDisplay the ENQUIRE WITH US button in the category page of selected commerce categories in SCA webstore for Thermogard.Essentially, the enquire button will be for a particular category of items but is not limited toone category of items if that makes sense.Eg we would want the enquire button for Water Packs,… Continue reading Proposal for “Enquire With Us” section For required Commerce Categories In SCA Webstore
Display “Featured description”field in PLP
JIRA TASK : https://jobinandjismi.atlassian.net/browse/THR-98 Requirement: The “Featured description”field of the item record is to be displayed below the item name in PLP page of webstore. Solution: We will implement it as an extension. Using the extension we will get the field value from the item record and display it in the plp page.