Functionality:When the user clicks the login button on the header from any page, then the login page will load as usual and after login, it will redirect to the same page where the customer clicked the login.In this case, if there is no previous URL or direct Login, then the extension will redirect to the… Continue reading Extension to redirect the user after login into the previous page.
Tag: EXTENSION
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
Hide the ‘Wishlist “ tab in my account section.
Describtion: Hide the Wishlist tab in my account section. We need to hide it from the left menu . Code which is used for the following : Screenshot:
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”
Rename “Wishlist” to “Favourite” in the breadcrumb and title of the page
Breadcrumb: Title of the page:
Extension to customise the review page error message
Create extension to customise the error message on place order in review page. Error message will show when ordered quantity is greater than available quantity of item. JJ.Reviewoutofstock.Reviewoutofstock.js file In the global_views_message.tpl file change code
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
Extenson to header menu profile name length setting
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