Magento 2 How to add Custom tab to customer edit page

In Magento 2 to add a custom tab to customer edit page in Admin panel we need to follow the below approach. The solution approach is slightly different when compared to Magento 1.X version, here we will be using the UI Component. First create a file called customer_form.xml in Mydons/CustomTab/view/base/view/base/ui_component/customer_form.xml (file name should be customer_form.xml […]

How to change default Magento 2 Admin Logo and Copyright notice

Magento 2 Admin Logo Customization Magento 2 Default Admin Logo and Copyright notice can be changed/modified for our custom needs. The Default Admin Logo is Rendered in Magento_Backend module. The logo image source is passed as an argument, we can replace the argument with our own image path. For this Illustration I proceed directly to […]

Magento 2 creating custom console command to change the current theme

Magento 2 Creating custom console command to switch/change the frontend theme In the Last tutorial we have learned how to create a new custom console command in Magento2. This Article is a followup of our previous article, those who want to check the previous article please click the link below. http://mydons.com/magento-2-create-custom-console-command-with-sample-usecase Registering the New Console […]

Magento 2 create custom console command with sample usecase

Introduction to Console Commands Magento 2 has a powerful command line framework integrated with it for performing the utility tasks such as cache cleaning, index management, module enable/disable, deployment etc. Magento Core Provides many useful commands out of the box, we can also create our own Console command for our needs. Example Use Case: Listing […]

Solution for Magento 2 Configurable product has price 0 in REST API Response

Magento 2 REST API is returning price zero for configurable products. Conceptually a Configurable Product doesn’t have a price associated with it, only the child products associated with it will have the price. But for rendering a configurable product on a Mobile App with Magento 2 REST API this will look odd. This issue is […]

Exploring Magento 2.2 UI Component – Part 4

Exploring Magento 2.2 UI Component – Part 4 Creating the Grid UI Component In our Last Tutorial Exploring Magento 2.2 UI Component – Part 3 we have created a new Top Level Admin menu called “Upcoming Shows” and created a custom template output. In this Tutorial we will Work on the Actual Grid UI Component […]

Exploring Magento 2.2 UI Component – Part 3

Exploring Magento 2.2 UI Component – Part 3 Creating Admin Menu and Placeholder for Grid UI Component In our Last Tutorial Exploring Magento 2.2 UI Component – Part 2 we have created the MODEL & Resource MODEL classes responsible for fetching the custom table data. In this Tutorial we will create a custom Admin Menu […]

Exploring Magento 2.2 UI Component – Part 2

Exploring Magento 2.2 UI Component – Part 2 Creating Model, Resource Model and Collection classes In our Last Tutorial Exploring Magento 2.2 UI Component – Part 1 we have created a custom database table, now we will create the appropriate MODEL, RESOURCE MODEL and Collection Classes to fetch the data from our custom table Step […]

Exploring Magento 2.2 UI Component – Part 1

UI Component UI Component is a New Concept introduced in Magento 2 for flexible UI Rendering. As per the Magento 2 Official Documentation “Magento UI components are used to represent distinct UI elements, such as tables, buttons, dialogs, and others. They are designed for simple and flexible user interface (UI) rendering. Components are responsible for […]

How to limit coupon code usage for guest user in Magento ?

Magento Shopping cart price rules provide the ability to limit the coupon usage for customers. But however, a Not Logged In User/Guest can use the same coupon code multiple times and get a discount. This seems to be a core bug and Magento doesn’t provide any restriction for guest users. In this article we will […]