How to remove wishlist tabs from the admin Customer edit Page Magento 2?

You can remove wishlist tabs from the customer edit page in Magento 2 admin panel.

Your eCommerce site doesn’t support the wishlist functionality, you need to remove tabs from the customer section of the admin also.

Wishlist section displays the list of wishlist items grid for the specific customer.

Create a customer_index_edit.xml file in your module with adminhtml scope, Continue reading “How to remove wishlist tabs from the admin Customer edit Page Magento 2?”

How to remove admin newsletter tabs from the Customer edit Page Magento 2?

Remove Newsletter tabs from the Customer Edit page admin panel in Magento 2 using a layout XML file.

You can delete the newsletter tabs from the Admin panel Customer Edit page left sidebar section. The Tab displays the Subscribed information with the checkbox.

If Project doesn’t need to use newsletter functionality or admin can’t able to manage customer newsletter, You need to remove tabs from the admin panel. Continue reading “How to remove admin newsletter tabs from the Customer edit Page Magento 2?”

How to use if else conditions in Knockout JS Magento 2?

You can use knockout if-else conditions in Magento 2 with knockout way or Magento 2 approaches.

You have to use ifnot for the else conditions. else is not supported in knockout.

Knockout if and ifnot conditions same as if and else conditions in javascript.

Using Default Knockout JS
1. First Way Continue reading “How to use if else conditions in Knockout JS Magento 2?”