Increase and decrease the quantity

create the extension we can increase and decrease the quantity of the item in the cart or checkout by applying a data-actions Entry point: In tpl give the corresponding data action Example :<div class=”minus” id=”minus” data-action=”minus”>-</div> Reference:https://system.netsuite.com/help/helpcenter/en_US/APIs/SuiteCommerce/Extensibility/Frontend/Cart.html#addLine

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

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”

Adding subcategory in PLP page

If the categories and subcategories are not added then follow the step 1 in case the categories and subcategories are available then follow step 2 Step 1.Create the categories and subcategories Navigate to commerce->content management->cat log & categories->commerce categories->new fill name, Catalog if the catalog is not present Navigate to commerce->content management->cat log & categories->commerce… Continue reading Adding subcategory in PLP page

Prevent scroll to top functionality in Cart page

In small screen devices, when the cart has quite a lot of items in it, a customer scrolls down and edits to update or removes an item, then item will automatically goes all the way to the top of the list again. Stop it from going back to the top of the list. It should… Continue reading Prevent scroll to top functionality in Cart page