Code for adding the functionality of language selector option in the header of the SCA website. Code: Entry point File (Java Script)
Tag: sca
How to set up duplicate email management for your website.
Enable the feature. Go to Setup > Company > Enable Features. On the Web Presence subtab, check the box next to Web Site Duplicate Email Management. Agree to the terms of service. Click Save. After you enable website duplicate email detection, shoppers cannot sign up for a customer account with an email address that belongs to an existing… Continue reading How to set up duplicate email management for your website.
how to add a validation message for only one particular field in a pdp ,quick, view and edit cart page
how to add a validation message for only one particular field in a pdp ,quick, view and edit cart pagefirst we need to cerate a event for this and we can get the value from configuration for particular field which we want then we can perform the operation on it other wise if already event… Continue reading how to add a validation message for only one particular field in a pdp ,quick, view and edit cart page
How to Append JS file with Template
we need to identify the position where we want to display the content.For that we need to specify the specific div or any HTML element with a unique class name that will serve as the target for the content. Later we need to update the target in the Script.
How to Customize the form embed code script.
Here is the example for to customize the “Form” Embed code script. Updated script in view file Updated .tpl file As per requirement we need to give styles.
How to embed your flipbook directly onto your website
STEP 1: Log into your account and go to Publications. STEP 2: Select the flipbook you wish to embed. STEP 3: Click on the “Embed” tab. STEP 4: Once on the embed tab, ensure “Default” is chosen. STEP 5: Customise how you would like the embedded flipbook to look. Choose your preferred size, background colour and whether… Continue reading How to embed your flipbook directly onto your website
How to display uploaded image in the quick view scenario for liquid pixel item.
To display an uploaded image in the quick view scenario for a Liquid pixel item, here is the example of code snippet First we have to fetching the uploaded image file from the model’s attributes and storing it in uploadedImage Second we need to add condition,if statement that checks whether the uploadedImage variable is truthy… Continue reading How to display uploaded image in the quick view scenario for liquid pixel item.
Display recently added item in wishlist by using extension.
Recently added item in wishlist showing as a last added item in wishlist(mylist).
How to add commas for all iterations except the last iteration to an array of objects.
Scenario: We have to create an array of objects, which stores details of each item added to the cart as an object, so the number of the object will equal the number of items in the cart, so we need to put ” , ” symbol in ending of objects but no ” , ”… Continue reading How to add commas for all iterations except the last iteration to an array of objects.
How to Troubleshoot the issue unable to publish changes in SMT.
To resolve the issue of being unable to publish changes in SMT using a specific browser, you can try the following steps: Clear browser cache and cookies:Clearing the cache and cookies in your browser can help eliminate any temporary files or conflicts that may be causing the issue. Refer to your browser’s settings or preferences… Continue reading How to Troubleshoot the issue unable to publish changes in SMT.