Cookie preferences of a customer

To access the cookie preferences of a customer from the customer record in NetSuite, the SuiteCommerce Analytics Data feature must be enabled. This method retrieves a list of key/value pairs representing the cookie names and their corresponding boolean values (true or false), along with the last date the customer updated the preferences. It’s important to… Continue reading Cookie preferences of a customer

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

Debugging Tips: SuiteScript for Scriptable Cart

Use Incognito Mode for Development: During development, open an incognito (private) session in your browser. Insert nlapiLogExecution functions into your code to visualize data flow and facilitate debugging. Remove these logs when done to avoid performance impact. Handling Catastrophic Errors: If your script encounters critical errors, configured nlapiLogExecution calls can trigger emails to you or… Continue reading Debugging Tips: SuiteScript for Scriptable Cart

Checkout Error Alerts

Receive immediate notifications in case an order cannot be submitted due to a checkout error. Email alerts will be sent to you, containing a unique ticket number that correlates to the specific error logged in NetSuite. In case you receive multiple alerts, contacting NetSuite Customer Support with these ticket numbers will expedite the resolution process.… Continue reading Checkout Error Alerts

Resolving Permission Errors in Scriptable Cart

When working with Scriptable Cart and custom records, resolving permission errors requires careful consideration of both the custom records and the script logic. Follow the guidelines below to address any permission issues you may encounter: Custom Record Setup: Ensure that the “Use Permissions” box is marked for the custom record. Clear the “Include Name Field”… Continue reading Resolving Permission Errors in Scriptable Cart

Custom List Permission

Permissions are defined differently for custom lists than for custom records. There is no Permissions tab and anyother access control is not available on the list definition page. This also includes errors which shows up on the SSP Navigate to Setup > Users/Roles > Manage Roles Custom Role: Click Edit Click Permissions Click Setup Permission:… Continue reading Custom List Permission

Performance Guidelines

Explicit Width and Height: When you include images in your web pages, it’s essential to specify the width and height attributes in the HTML code. This helps the browser allocate space for the image while it’s loading. Without these attributes, the browser may have to reflow the page when the image loads, causing a performance… Continue reading Performance Guidelines