Gets read-only credit card information associated with the customer who is currently logged in.

Gets read-only credit card information associated with the customer who is currently logged in. Description Gets read-only credit card information associated with the customer who is currently logged in. You can only use this method on a secure domain; if you use it on a non-secure domain, it returns an error. In the following example, getCreditCards() is… Continue reading Gets read-only credit card information associated with the customer who is currently logged in.

Contracts and Renewals

Contract renewal is the process through which the initial term of a contract expires, and the parties agree – either actively, or passively, through automatic renewal – to ‘renew’ the term of the contract so that the arrangement continues, and the contract remains enforceable for the new period. With Contract Renewals, when you create an initial… Continue reading Contracts and Renewals

Remove item in Checkout

Add a removal icon to item cell of the checkout. When the icon is clicked, the item will be removed from checkout page Entry point In the corresponding theme file where u need to remove add the correct data action in it

Contract Upsell

The Software Vertical Contract Renewals SuiteApp is designed to account for additional items that are added to a contract during the contract term. The contract upsell is used to add new contract items to an existing contract. By creating a sales order and associating it with an existing contract, new contract items are created on… Continue reading Contract Upsell

How to call block function in template file.

<?php$blockObj= $block->getLayout()->createBlock(‘JJ\Paymentinformation\Block\Main’);$data= $blockObj->getMyCustomMethod();?> And which block u want call in that div add <p class=”cash-amount”><?=$data[‘credit-limit’];?>

Published
Categorized as Magento

Convert Number to Words using equation in NetSuite

Create a custom field for store the words. In Transaction Body Field record has a subtab ‘validation & Defaulting’. Under this subtab, we have an option to give the formula. Click the checkbox of the FORMULA and give the below mentioned formula in DEFAULT VALUE text box. INITCAP(CASE WHEN {total}=0 THEN ‘ZERO’ ELSE replace(‘ ‘… Continue reading Convert Number to Words using equation in NetSuite

How can to show the current selected cateogry on the left side of side bar

For the side bars while we are selecting in some cases the current selected category will be shown incase the current selected category is not shown means we can create an new object and display the current selected category. by the push method we can push the values in the new created object to show… Continue reading How can to show the current selected cateogry on the left side of side bar

When attempting to rearrange web store categories and subcategories, changes are not made

Open local development environment Navigate toModules\suitecommerce\Categories\SuiteScript\Categories.Model.js Search for the sortBy function (Line 631) and comment on the existing code and paste the following: 4. Gulp Deploy the changes 5. After this you can now proceed to arrange it via the parent commerce category via Commerce > Content Management > Commerce Categories

How to fix the issue: ” service controller not found”

In Extension file sometimes the error “ServiceController not found” will occurSo solve this issue1. Go to manifest.json and change the entry point to “ServiceController.js”.The example is show below 2. Then change name in entry file in suite script at define function By removing the vendor and name of extension, For example After this, deploy the… Continue reading How to fix the issue: ” service controller not found”