Proposal Summary This proposal covers the suggetions for enhancing the Cart, Mini Cart and the MyAccount page in the Suite Commerce Website of The Artina Group. Requirement The requirement is to add the enhancement • Cart and Mini-Cart Page: Add a button on the mini-cart and cart page to remove all items with a single… Continue reading Proposal for Mini Cart and My Account enhancements for personalized products
Author: Sanket Pal
How to write a cell phone number in an international way using JavaScript
<!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <meta http-equiv=”X-UA-Compatible” content=”ie=edge”> <title> Cell phone number in an International way </title> <style> body { text-align: center; } h1 { color: green; } </style> </head> <body> <h1>GeeksforGeeks</h1> <h3> Cell phone number in an International way </h3> <script> var localNumber = prompt(“Please enter your number”); … Continue reading How to write a cell phone number in an international way using JavaScript
How to make Show and hide password eye icons dynamically set for position for any dimension of input field.
The eye icon for Show and hide password can be made dynamically set to specific position to any dimention of input field so that we can reuse the same code everywhere.
Creating the new Personalization Option for Colored and Non-Colored personalization for Liquid Pixel products
<div class=”pdp-order-wizard-promocodeform pdp-toggle-options personalizeType” id=”pdp-order-wizard-promocodeform-personalize”> <div class=”pdp-order-wizard-promocodeform-expander-head” id=”pdp-order-wizard-promocodeform-personalize-main” data-section=”personalizeType”> <a class=”pdp-order-wizard-promocodeform-expander-head-toggle collapsed” data-toggle=”collapse” data-target=”#{{#if quickview}}in-modal-{{/if}}pdp-order-wizard-promocode-personalize” aria-expanded=”false” aria-controls=”pdp-order-wizard-promocode-personalize”> {{translate ‘1. Personalization Information’}} … Continue reading Creating the new Personalization Option for Colored and Non-Colored personalization for Liquid Pixel products
What is ADA Compliance and Proposal for ADA Compliance
To make the Toolfetch website ADA compliant. ADA compliant website refers to a site that conforms to the accessibility standards outlined in the Americans with Disabilities Act (ADA), ensuring equal access and usability for individuals with disabilities. To make the website ADA compliant we add a widget to the website which is going to make… Continue reading What is ADA Compliance and Proposal for ADA Compliance
What is Anonymous function and it’s typical use case in JavaScript
Here we are going to learn about the Anonymous functions with their examplaes. A function is a set of statements that take inputs, do some specific computation, and produce output. Basically, a function is a set of statements that performs some tasks or does some computation and then return the result to the user. The… Continue reading What is Anonymous function and it’s typical use case in JavaScript
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
How to display a youtube video related to product in PDP page
Here we can learn to display a YouTube video related to the product in whose PDP page we are currently present. define(‘JobinAndJismiITServices.ProductVideo.ProductVideos.View’, [ ‘jobinandjismiitservices_productvideo_productvideos.tpl’, ‘ProductVideoIframe’, ‘Utils’, ‘Backbone’, ‘jQuery’, ‘underscore’ ], function ( jobinandjismiitservices_productvideo_productvideos_tpl, ProductVideoIframe, Utils, Backbone, jQuery, _ ) { ‘use strict’; return Backbone.View.extend({ … Continue reading How to display a youtube video related to product in PDP page
How to prevent the altering of any property of an object and also prevent to delete or alter the existing properties of object
The Object.freeze() method is used to freeze an object. Freezing an object does not allow new properties to be added to the object and prevents removing or altering the existing properties. Object.freeze() preserves the enumerability, configurability, writability, and prototype of the object. It returns the passed object and does not create a frozen copy. Syntax: Object.freeze(obj) Parameters: … Continue reading How to prevent the altering of any property of an object and also prevent to delete or alter the existing properties of object