aneesahmadweb@gmail.com

    Lets start by a practical example to better understand what is dependency injection in Magento 2. Lets say we need to get product collection on a page.A simple module will do this job for us. Although there are methods as well to achieve this.

    Read More

    Some method usefull for Invoice,   hasinvoice() to check whether invoice exist or not   $order->hasInvoices() // for Invoice $order->hasShipments() // for shipment Usefull Website https://hotexamples.com/examples/magento.sales.model/Order/prepareInvoice/php-order-prepareinvoice-method-examples.html

    Read More

      To call a CMS block in a page or in another block all we have to write the below code {{widget type=”Magento\\Cms\\Block\\Widget\\Block” template=”widget/static_block/default.phtml” block_id=”identifier”}} We can also pass the value of block in block_id. Here we Manually add a block.Before this you have to Learn How to make CMS block Through Frontend. What we have […]

    Read More

    Theme Development in Magento step by step is a tutorial series where you can learn Magento theme development step by step from beginning to end. Before starting Download Magento free from https://www.magentocommerce.com/download and install on your localhost or server. Lets start,, There are two directories we deal with, app/design/frontend/ skin/frontend/base/ Magento Use its app/design/frontend/base for containing all files.All […]

    Read More