Need to rename the fields in every page like if user in PLP page, PDP page or it’s checkout page. From my account need to change the fields. Fetch and create the new extension in the existing fetched theme. need to use JavaScript, Template, Sass file and need to change in header menu in all… Continue reading How to rename existing fields in SCA webstore MyAccount in 2021.1 Version.
Author: Atul Kumar Soni
Creating new custom tab in Webstore in Elbrus Version.
Need to create a extension with the JavaScript, Templates, files and need to do some configuration in Model files. Tab name ResaleCertificate and JavaScript file, View file, Model file, Router file, tpl file. //ResaleCertificate.js define(‘ResaleCertificate’, [ ‘ResaleCertificate.Router’, ‘ResaleCertificate.Model’, ‘SC.Configuration’, ‘Utils’, ‘Profile.Model’, ‘jQuery’, ‘underscore’ ], function(Router, ResaleCertificate, Configuration, Utils, ProfileModel, jQuery, _) { ‘use strict’; console.log(‘ResaleCertificate’)… Continue reading Creating new custom tab in Webstore in Elbrus Version.
Using this keyword in JavaScript.
this keyword in JavaScript is a The value that this stores is the current execution context of the JavaScript program. Thus, when used inside a function this‘s value will change depending on how that function is defined, how it is invoked and the default execution context. this always holds the reference to a single object, that defines the current line of… Continue reading Using this keyword in JavaScript.