Scenario:Restrict a customer to purchase/reorder the items from the purchase history detail page if the item is not enabled for the customer subsidiary. For example, if the item is available only in AU, NZ, and USA, then it should be visible only for those domains. Remove from the other domains. Solution: We can extend the… Continue reading Hide The Reorder Button Under Purchase History for Restricted items
Tag: sca
How to resolve issue MODULE_DOES_NOT_EXIST while deploying User event script in netsuite.
Add .js to the end of the script file name
Extension to Hide Credit card option in Myaccount menu
Scenario:The client wants to hide the Credit card option under the Settings tab and also needs to hide it from the MyAccount Header menu. Solution: We can create an extension for this purpose. We can extend the ‘MenuTree.View’ for hiding from my account page and ‘Header.Menu.MyAccount.View’ from the header menu. Code:
Reminder while Install Your Commerce Website Applications
You must install this SuiteApp before installing any theme or extension bundles. The error may be shown if we install it after other bundles for extension or theme The extension will not be listed under the activation list and so we need to uninstall and reinstall the bundle for activation. The installation may show an… Continue reading Reminder while Install Your Commerce Website Applications
Language Selector extension
Code for adding the functionality of language selector option in the header of the SCA website. Code: Entry point File (Java Script)
How to set up duplicate email management for your website.
Enable the feature. Go to Setup > Company > Enable Features. On the Web Presence subtab, check the box next to Web Site Duplicate Email Management. Agree to the terms of service. Click Save. After you enable website duplicate email detection, shoppers cannot sign up for a customer account with an email address that belongs to an existing… Continue reading How to set up duplicate email management for your website.
how to add a validation message for only one particular field in a pdp ,quick, view and edit cart page
how to add a validation message for only one particular field in a pdp ,quick, view and edit cart pagefirst we need to cerate a event for this and we can get the value from configuration for particular field which we want then we can perform the operation on it other wise if already event… Continue reading how to add a validation message for only one particular field in a pdp ,quick, view and edit cart page
How to Append JS file with Template
we need to identify the position where we want to display the content.For that we need to specify the specific div or any HTML element with a unique class name that will serve as the target for the content. Later we need to update the target in the Script.
How to Customize the form embed code script.
Here is the example for to customize the “Form” Embed code script. Updated script in view file Updated .tpl file As per requirement we need to give styles.
How to embed your flipbook directly onto your website
STEP 1: Log into your account and go to Publications. STEP 2: Select the flipbook you wish to embed. STEP 3: Click on the “Embed” tab. STEP 4: Once on the embed tab, ensure “Default” is chosen. STEP 5: Customise how you would like the embedded flipbook to look. Choose your preferred size, background colour and whether… Continue reading How to embed your flipbook directly onto your website