PLP Image Hover: Show Secondary Image Extenstion

Jira Code: Wf-7: Add alternative photo to pictures on product category so a second picture shows when user scrolls over picture Create an alternative photo on product list page to show when the mouse hovers over the image. Create a custom field in the item record and use that field for displaying as the hover… Continue reading PLP Image Hover: Show Secondary Image Extenstion

Add custom font in SCA

This post explains how to add custom font or web fonts or google fonts to SCA. This is only applicable for SCA version Aconcagua and later https://developers.suitecommerce.com/add-a-custom-web-font Download the font files from Google fonts, add the fonts to Assets folder Create new folder in Base sass style for fonts Now you can call the font… Continue reading Add custom font in SCA

SharePoint in Office 365

Microsoft SharePoint is a cloud-based service that helps organizations share and manage content, knowledge, and applications to: Empower teamwork Quickly find information Seamlessly collaborate across the organization We can create sites in sharepoint and can communicate with the team. It is using a drag and drop mechanism instead of coding to create the site.There are… Continue reading SharePoint in Office 365

How to set date field, when the date is in string format.

var newDate = “27/06/2020” var parsedDateStringAsRawDateObject = format.parse({ value: newDate,                            type: format.Type.DATE                        }); When we get date as string, it is not possible to set it on the date field, in such cases we can parse it and then can be applied.

Preserve the processor for high priority tasks

Issue: MapReduce and scheduled scripts are not initiating at the same time of invocation since it is in a queue to process. Solution: So we can Preserve the processor for the Execution of MapReduce and scheduled scripts of its priority are high. Limitation: We cannot preserve the processor for a specific script. It can be… Continue reading Preserve the processor for high priority tasks

Allocating Subsidiaries and Currencies

Jira Code: TRS:575 We can allocate all the subsidiaries and currencies to a customer or vendor after get created. This will ensure that all the active subsidiaries (children) and currency will allocate to all of the customers and vendors.This is achieved using a User Event script which will trigger after the record creation. Basically the… Continue reading Allocating Subsidiaries and Currencies

Render data variables from Email Template Using Script

Jira code: TRS-109 We can send emails to the end-user using an email template irrespective of any record, field data variables defined in the email template.We can define custom data variables inside the email template, and replace these variables using Regurel expressions and finally process these emails using scripts. Using this we can apply search… Continue reading Render data variables from Email Template Using Script