Update the address book by webstore inputs. For that we have to extend “account.model” suite script file. And edit ” ModelsInit.customer.addAddress” function. // JJ.registerpage.customer.js // Load all your starter dependencies in backend for your extension here // —————- define(‘JJ.registerpage.customer’ , [ ‘JJ.registerpage.customer.ServiceController’, ‘Account.Model’, ‘SC.Model’, ‘Application’, ‘SC.Models.Init’, ‘Profile.Model’, ‘LiveOrder.Model’, ‘Address.Model’, ‘CreditCard.Model’, ‘SiteSettings.Model’, ‘underscore’, ‘Utils’ ] ,… Continue reading Update address book
Tag: account.model
Update the contact record of the customer from SCA webstore.
Update a field in the contact record during customer registration.