CDN Caching Times

To ensure that returning customers see updated content, you can consider adjusting the caching settings for the different types of content in your Content Delivery Network (CDN). Here’s how you might update the caching settings based on the provided information: Static Content (Images, CSS): Change the caching duration from 7 days to a shorter period,… Continue reading CDN Caching Times

Custom Product Zoom Based on Mouse Movement

We Have Created a Custom zoom effect based on the move movement on the Product images Added the events, function, Template/SCSS Updates along with this events: {             “click [data-action=’go-back’]”: “goBack”,             ‘mouseover [data-action=”modal-main”]’: “modalMainImage”,             ‘mouseout [data-action=”modal-main”]’: “resetImageScale”,             ‘mousemove [data-action=”modal-main”]’: “mouseMove”,         },               modalMainImage: function (e) {             $(e.currentTarget).css({                 transform:… Continue reading Custom Product Zoom Based on Mouse Movement

Brand filter option on the PLP page

In website setup added the facet field. Brand field added there as shown below image. In configuration added the brand facet. In facets subtab added the brand field ID , name, priority, behvior etc. In plp brand filter came

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

Addresses getting deleted on SO creation

There are situations where NS is deleting an address record from the customer you are checking out with when the customer places an order in SuiteCommerce. It’s a niche issue, but does occasionally come up. It’s the culmination of 3 factors: Custom Address form where phone numbers are not required Addresses without phone numbers Remove… Continue reading Addresses getting deleted on SO creation

Remove Duplicates from an Array with Set and Map

Set and Map are built-in data structures for storing collections of values, each with their own specific characteristics and use cases. Both Set and Map do not allow duplicate values, so we can use them to remove duplicates from an array by spreading the array into them: Example // create unique arrays with Map() const fruitsWithDuplicates2 = [ ‘Mango’, ‘Cashew’, ‘Barley’, ‘Mango’,… Continue reading Remove Duplicates from an Array with Set and Map

To Add image using img tag as background and place other content on the image.

Scenario if we add image as background using css it will cause issue in respnsivness  Solution HTML code  <div class=”main container”>   <img src=”image_ink.jpg” alt=” Background image”>   <div class=”overlay”>       <div class=”Any other Content”>Place your heading Here</div>     <p class=’Sub-content’>Place tour paragraph or any other content here</p>   </div> </div> CSS Code .main-container {… Continue reading To Add image using img tag as background and place other content on the image.

Verify if a Website Has Been Indexed in Google

There are a different ways of checking to see if a website, webpage or domain has been indexed in Google. One of the easiest way to check if an individual webpage has been indexed is to use a search operator.By using either the site: or info: search operators in Google will help a user check if the page has been… Continue reading Verify if a Website Has Been Indexed in Google

How to update the external IDs of Commerce categories

For updating the external IDs of commerce categories, first find the list of commerce categories without external Id. For that create a saved search to examine the external Ids.  Lists -> Search -> Saved Searches -> New Choose the search type as commerce category. Set the following as criteria:  Inactive: false Display in Website: true… Continue reading How to update the external IDs of Commerce categories