Products Product model This function will fetch all the product information in the database. Load the product data via attribute We can load the product data through the product attribute. We can load the product data through product’s sky by using the loadByAttribute and passing…
How to install Magento Extension
This tutorial will teach you how to install the magento extension successfully. There are two ways to install them. In First method, we will install from admin panel. In Second method, install them manually. For first method, we will need to go the magento marketplace…
How to install Magento 2
How to install Magento 2 – This tutorial is for magento beginner developer to install the magento 2 successfully. Firstly, we will download the files from the magento.com and secondly, configure the setup wizard successfully. So, open the new tab and type https://magento.com and press…
Call another phtml template file in phtml file – Magento 1x
How to call the another phtml template file. For example if you want to call the coupon code. First we will need go to the checkout.xml file which is located at app >> code >> design >> THEME NAME >> default >> layout >> checkout.xml….
How to install Magento 1.9x
How to install Magento 1.9 – This tutorial is for magento beginner developer to install the magento 1.9 successfully. Firstly, we will download the files from the magento.com and secondly, configure the setup wizard successfully. So, open the new tab and type https://magento.com and press…
Check if current page is category, login, registration, checkout page and more – Magento 1.9
Sometimes in theme development, you will need to display a particular block code for specific page. To display the specific block of code into particular page, we can run these below code. These code can will easily fetch the module, controller, action name in phtml…
Calling the phtml file from cms page – Magento 1x
This tutorial is about calling the phtml template in cms page. This tutorial will be straight forward. In summary, We will create a new page in admin panel and custom phtml file in the backend. So, before we move forward this tutorial is applied only…
Calling the static block from phtml files – Magento 1x
I know for beginners calling the static blocks into your phtml template file could be intimidating. But don’t worry this tutorial make you ease but appropriate step. I hope you already downloaded and install the magento and working on your project. Step 1: Login into…
Get base Url, Skin Url, Media Url in both phtml files and cms pages or static blocks – Magento 1x
I have been searching in the web for these helpful code for Magento 1x and gather together here for my own purpose. But you want use these codes into your project then please go head. Get the URL in CMS pages and Static Blocks 1….