How to create a custom field on customer account information section in Adobe commerce

Use the data patch setup on AdobeC Create Setup -> Patch -> Data -> AddCustomAttribute.php <?php namespace JJCustomerNetsuiteFieldSetupPatchData; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoFrameworkSetupPatchDataPatchInterface; use MagentoCustomerSetupCustomerSetupFactory; use MagentoCustomerModelCustomer; class AddCustomAttribute implements DataPatchInterface {   private $eavSetupFactory;   private $customerSetupFactory;   private $moduleDataSetup;   public function __construct(     EavSetupFactory $eavSetupFactory,     CustomerSetupFactory $customerSetupFactory,     ModuleDataSetupInterface $moduleDataSetup   ) {     $this->eavSetupFactory = $eavSetupFactory;     $this->customerSetupFactory =… Continue reading How to create a custom field on customer account information section in Adobe commerce

How to integrate with Magento

For the standard token based integration. Go to Magento Backend, system -> Integrations Create a new integration setup and generate the key and tokens. Use these for the integration.

Use a Custom Font on a SuiteCommerce Advanced Website

Scenario More and more brands would like to showcase their style through their web stores including the use of different fonts. Solution Navigate to Documents > File Cabinet > Web Site Hosting Files > Live Hosting Files. From here, create a new folder (ex: font)   Upload the custom font file on the newly created… Continue reading Use a Custom Font on a SuiteCommerce Advanced Website

Adding priority for items in search result

We can prioritize specific products, like Starburst Electrodes, in search results by adding a special field such as a “Priority” in the item record. This way, products with the priority setting will appear first when we are searching for anything.  For this, we need to add a field in the item record. we can do it… Continue reading Adding priority for items in search result

How to detect a transactionline is deleted?

Managing transactions in NetSuite often requires ensuring data integrity, including detecting any deleted transaction lines. While NetSuite does not provide a direct way to detect deleted lines, you can use saved searches to infer deletions by examining gaps in line numbers. This method helps identify missing lines, which indicates deletions. Here’s how you can set… Continue reading How to detect a transactionline is deleted?

Map reduce script to read the data from the API and create custom record in NetSuite

/**  * @NApiVersion 2.1  * @NScriptType MapReduceScript  */ define([‘N/http’, ‘N/https’, ‘N/record’, ‘N/search’],     /**  * @param{http} http  * @param{https} https  * @param{record} record  * @param{search} search  */     (http, https, record, search) => {         /**          * Function to convert date to desired format    … Continue reading Map reduce script to read the data from the API and create custom record in NetSuite

NetSuite to Adobe Commerce Customer/Contact Sync – Sample Code

/**  * @NApiVersion 2.1  * @NScriptType UserEventScript  */ /*******************************************************************************************************  * Corp Design  *  * CDUS-4073 : NetSuite – Adobe Commerce Two Way Customer/Contact Sync  *  * *****************************************************************************************************  *  * Author: Jobin and Jismi IT Services  *  * Date Created : 20-May-2024  *  *Description : This User Event script is developed to sync the customers and… Continue reading NetSuite to Adobe Commerce Customer/Contact Sync – Sample Code

Published
Categorized as Magento