Scenario There are scenarios where users need to allow only existing customers to be able to do a Checkout from the Web Store. The option to do so can be found under (Administrator) Commerce > Websites > Website List > Edit > Shopping Tab > Type of Customer Registration = existing customers only. However, this is not… Continue reading Hide New Registration Option even without Advanced Site Customization
Tag: LoginRegister
APIs SuiteCommerce Extensibility Frontend LoginRegister().
LoginRegister() Description The LoginRegister component lets you create listeners for events that occur on the Log In / Register page in a web store. It also lets you capture additional information from the login or register form when a web store visitor logs in or registers. You can listen for the following events on the… Continue reading APIs SuiteCommerce Extensibility Frontend LoginRegister().
How to set the default shipping address country in SuitScript
We can set a default shipping address using suitescript. define(‘ContactUs.Model’, [ ‘SC.Model’, ‘Configuration’, ‘Application’, ‘Models.Init’, ‘Utils’ ], function ContactUs( SCModel, Configuration, Application, CommerceAPI ) { ‘use strict’; return SCModel.extend({ name: ‘ContactUs’, configuration: Configuration.get(‘contactUs’), create: function create(data) { nlapiLogExecution(‘ERROR’, ‘Create fn’); nlapiLogExecution(‘ERROR’, ‘Create fn data’, JSON.stringify(data)); data.country =”US”; var response; var responseCode; var… Continue reading How to set the default shipping address country in SuitScript
In login register page how to make the address auto populate from shipping to billing address
In login register page we can display the list of countries in our billing address and can auto populate the same list in shipping address too instead of creating a new list. events: _.extend({}, RegisterView.prototype.events, { ‘change [data-action=”selectcountry”]’: ‘updateStates’, … Continue reading In login register page how to make the address auto populate from shipping to billing address
Proposal For Login Only Works For One Region
Project: THR-436 Requirement Need to work out how to make it so that one login can only be used for one region, therefore so currency & range changes does not confuse the customer if they log into wrong region. customize the login of website so that the customers can login only to their assigned website. … Continue reading Proposal For Login Only Works For One Region
set the customer subsidiary based on the domain using extension
When a user registers from AU domain, the subsidiary of the user should be set to AU When a user registers from NZ domain, the subsidiary of the user should be set to NZ When a user registers from US domain, the subsidiary of the user should be set to Us JavaScript Entry point file… Continue reading set the customer subsidiary based on the domain using extension
Registration page Update: Button for Resale Certificate upload
Adding a button for uploading the resale certificate in the login register page. The button should be visible only when user selects the country: ‘United States’, for all other countries the button should be hidden. Solution: Create button on the template file of login register and also add style in the SCSS file also and… Continue reading Registration page Update: Button for Resale Certificate upload