Magento Tutorials

 Learn how you can easily and quickly create a custom theme in Magento

create widget magento 2

Create Widget in Magento 2

Widget is a greater tool to insert or edit content into a CMS Page Block or Page, so I am so happy to bring you Create Widget in Magento 2 topic. Reading the post will help you understand: “What...
With Magento 2, you can create many new tax rates basing on geographical areas like different states or different countries as you need. Tax, including tax rates and tax settings, is one of the important elements for the country...
Magento2- Display Static Block in Phtml file & CMS page In XML File: <referenceContainer name="content"> <block class="MagentoCmsBlockBlock" name="block_identifier"> <arguments> <argument name="block_id" xsi:type="string">block_identifier</argument> </arguments> </block> </referenceContainer> In Phtml File: <?php echo $block->getLayout()->createBlock('MagentoCmsBlockBlock')->setBlockId('block_identifier')->toHtml();?> in CMS Content: {{block class="Magento\Cms\Block\Block" block_id="block_identifier"}} Ref: chetansanghani
What is static block in magento? Static blocks can be used throughout your theme wherever you want to make small updates to a section of a page. Typical uses would be for promotional banners/callouts in sidebars or for some custom...
We will discuss the topic of how to create Hello World module in Magento 2 in order to help you have the clearest and easiest way to create now. Remember that the concept of local/ community/ core/ folders only...
Step 1: Put your image on Your Magento 2 Path: /app/design/frontend/< Vendor >/< theme >/web/images Step 2: Use this code to call the image in phtml file <?php echo $block->getViewFileUrl('images/demo.jpg'); ?> Ref: chetansanghani, stackexchange
CSS preprocessing in Magento 2 The topic describes how stylesheets are preprocessed and compiled to CSS in the Magento application. Magento 1 In Magento 1, the standpoint of the frontend developer is a piece of cake, as they mostly work on custom projects. All you...
How do Magento 2 media queries work? In the heart of Magento 2 media queries mechanism, defined in Magento UI library, is a .media-width() mixin. .media-width(<@extremum>, <@break>); @extremum: max|min – sets whether to use min-width or max-width in media query condition @break: value...
Whether horizontal (which are more common) or vertical, tabs are a great way to avoid information overload by organizing large content into easily digestible chunks of data. When done right they provide all the information (related to one specific...
In Magento, the default language is English. So the question now is: Can we add another language for our Magento site? Of course it’s a Yes. Just pick the desire language for your site and follow this step-by-step procedure.   Step 1: Installing...
0FansLike
0FollowersFollow
14,700SubscribersSubscribe

Recent Posts