Add new layout handle to one of places: If creating new module: VendorName/ModuleName/view/frontend/layout/customer_account.xml If creating new theme, 2 similar layout handles should be created to declare removal of each block separately: app/design/frontend/VendorName/themeName/Magento_Wishlist/layout/customer_account.xml (and similar layout for billing agreement module) Layout handle content:
Month: November 2021
Hide a Field in Purchase Order
Disable the standard rate field named “Rate” in the Purchase order for all roles other than Admin. Solution There is no need of script for solving this problem, instead we can use Workflow action. Created a workflow with type=”Transaction” and Subtype=”Purchase Order” 2. In state 1 , create a new action named “Set Field Display… Continue reading Hide a Field in Purchase Order
How to run Cron Jobs in Node.js
These are the tasks that run periodically by the operating system. Users can schedule commands the OS will run these commands automatically according to the given time. We will use a package called node-cron which is a task scheduler in pure JavaScript for node.js. We are also using express as a server. Install the required… Continue reading How to run Cron Jobs in Node.js
Netsuite Accounting Optimization
Netsuite Accounting Optimization
Sales Rep Contribution Based on the brand
Sales Rep Contribution Based on the brand
Auto delete real time request
Following is a map reduce script to delete the custom records that are older than 60 days.The Deletion process will be done once a week and can be scheduled.
Resale Certificate Management
USA-based customers need to update the resale certificate. The resale certificate option needs to be shown on my account page.
Year Wise Report
JIRA: PCIC-716 Scenario: When client run the report by the year(column) filter, it shown the year column wise report, but the the year are shown in the columns are not in the date filter we have selected. For example: Date filter selected from Jan 1 2019 to Dec 31st 2021 and column filter were selected… Continue reading Year Wise Report
Change Header Minicart container effect from dropdown to slide(right to left) in magento2
override minicart.phtml file from vendor/magento/module-checkout/view/frontend/templates/cart/minicart.phtml to my theme and added below code at thee end of file You can add jQuery UI options “show” to do animate effect:
Get the data attribute element from datalist options
We can use a datalist instead of select option to add a dropdown to an input element. Datalist is commonly used when we want type in the input element and select from the dropdown based on that. We can use that in the site builder also.In datalist we can get the value and text of… Continue reading Get the data attribute element from datalist options