Getting order details from the order id, its an easy task in Magento. If you have an order id in hand, call the below function for the order object. Or you want to get the order details from the checkout session, you can use the below function. In above code lines the first line is […]
Everyone knows there are admin interface to create categories, but if you want to create a category programmatically. Using Magento’s catalog/category model we can create a Magento category via a program. You have to set category title and Url key in order to show in the frontend. Magento creates category programmatically Here I’ve attached […]
Magento one of the robust ecommerce platform ever built in PHP and serving thousands of online shops. So you probably aware of Magento store you setup will not have 100% things that suit your need. But don’t worry Magento e-commerce have a solution for that, in the form of extensions. You will get thousands of […]
To get the current running website id. All the Magento web developers may need to write this code while developing a Magento website in one way or another. Find instructions here to download Magento 2 and install.