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