We will check How to get logged in customer’s id? in this post. We need to read the customer sessions in order to get the current logged-in customer-id. This post shows you by reading customer […]
Month: October 2022
2 min read
Magento 2: Add default Qty while editing product from admin
Very often, we need to reduce the work of the admin. This post shows the code to add the default QTY while creating or editing products on the admin side. We can see the default […]
1 min read
Magento 2: Create Custom Attribute Set Using Data-Patch
We often need to create a custom attribute set using the data-patch. Since Install Data & Upgrade Data have been deprecated and the Data patch has been introduced. We need data patches to create EAV attributes as […]