If we want to make any content of our website drag and drop then we can refer the below code. <!DOCTYPE html> <html> <head> <style> .drag-list { list-style: none; padding: 0; } .drag-item { background-color: #CC56FF; padding: 10px; margin-bottom: 5px; cursor: move; } </style> </head> <body> //Supose that below are the item of our website.… Continue reading Example to make item drag and Drop for Rearrange.
Author: Sanjay Kushwaha
JavaScript To Find the most frequent item of an array
If we want to filter the item from the array which is frequently used then we can follow the below Example Here in the below example the array jjarray contain ‘a’ 5 times , so the most frequently item will be a. Sample array: var jjarray=[3, ‘a’, ‘a’, ‘a’, 2, 3, ‘a’, 3, ‘a’, 2,… Continue reading JavaScript To Find the most frequent item of an array
Item is Not showing in Reorder Page
Reorder Functionality is Default in SuiteCommerce Advance and SuiteComerce So we no need to Enable any things for this Functionality For SuiteCommerce MyAccount (SCMA) we need to Enable the check box from Configuration For SCMA website Open Configuration by choosing website and Domain Click on My Account Tab Select Preference sub tab Check the Allow User… Continue reading Item is Not showing in Reorder Page
Alternative of Google translator to implement Yandex Translator
If we use Google Translator in our website there might me some issue with different page, So Instead of Google translator if we want to implement any other translator in our website we can go with the Yandex Translator which is free and which provide widget for multiple Language Here for language select we can… Continue reading Alternative of Google translator to implement Yandex Translator
To Add Google Translator in our Website
If we want to add Google Translator in our Website we can follow the below Steps In this Example we have Added Two language , English is the Default language and one more language we have added is French if we want to add or change the language we can modify the code in includedLanguages:… Continue reading To Add Google Translator in our Website
To Add Google Translator in our website
If we want to add google Translator in our website we can follow the below steps We need to add Script As Shown below if we add directly in TPL file it will work fine. <script type=“text/javascript” src=“https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”></script> <script type=“text/javascript”> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: ‘en’,includedLanguages: ‘en,fr’}, ‘google_translate_element’); } </script> Here we have added two… Continue reading To Add Google Translator in our website
To add read more option for the large text
when we have to show large text in a small div instead of giving overflow:scroll directly we can give Read more option so that user can know there is more text below> Solution. Create a div in html file. <button class=“read-more”>Read More</button> create a even for that button as shown below. Write the CSS code… Continue reading To add read more option for the large text
Enable Multi-Language Features For SMT Content
When we Enable Multi-language feature for our website Initially it will not work for SMT content. to translate the Content first we need to Translate the content of SMT Manually Step to Translate the SMT Content Open website Press Esc button from keyboard to login to SMT Edit the section which we want to Translate… Continue reading Enable Multi-Language Features For SMT Content
Setup multi-Language feature in website
First we need to enable the multi-language feature To enable the multi-language feature Goto Setup > Company > Enable Feature Enable the check box multi-language from internation sub tab Configuring Multiple Languages To configure the languages for your website: Go to Setup > Company > General Preferences. On the Languages subtab, from the dropdown list, select and add… Continue reading Setup multi-Language feature in website
Best seller in sorting option
Install the bundles for Best seller To install bundle navigate to customization> SiteBundler> Search and install Bundles search the bundle with name SC best seller click on install – After installing the bundle, below fields are added to item record in the SuiteExtensions tab, Best Sellers subtab Exclude Item Override Calculation Last 7 Days –… Continue reading Best seller in sorting option