How to Create Magento 2 XML Sitemap

How to Create Magento 2 XML Sitemap

XML Sitemap is a text file that contains the list of URLs, their metadata, and website structure. XML Sitemap is helpful to Google and other search engines to easily understand the website structure and find the pages of your website. In Magento 2, XML Sitemap is an enhanced feature! Improve your website’s SEO with Magento 2 XML Sitemap. Moreover, ease the navigation of your website for new visitors and improve the user experience. Also, a sitemap immediately informs search engines about

Continue Reading

How to Configure Magento 2 Shipping Methods

How to Configure Magento 2 Shipping Methods

Default Magento supports five type of shipping method, and I have tried to tailor a detailed tutorial on how to configure Magento 2 Shipping Method. The Magento 2 Shipping Methods are: Free Shipping Flat Rate Table Rates Magento Shipping Dimensional Weight One needs to set up the store’s information from Admin Panel in Stores -> Configuration. Navigate to Sales -> Shipping Settings where store’s details have to be updated. Understanding each Magento 2 shipping methods in detail, Shipping options play

Continue Reading

How to Create a Custom Widget in Magento 2

How to Create a Custom Widget in Magento 2

Basically, Magento widget is a Magento extension with definite functionality in your store. The default Magento supports the following types of widget: categories tag cloud navigation menu calendar search recent posts, etc. The Magento widgets assist in better user experience and functionality of the store. Apart from these default widgets and its functionality, you may need advanced features. Creating a custom widget in Magento 2 is like developing an independent extension. Customize a widget to extend the functionality of the core widgets

Continue Reading

How to Create and Upgrade Database in Magento 2

How to Create and Upgrade Database in Magento 2

Managing database is essential for any platform and Magento 2 E-commerce store is no exception! One may want to add a new database or update the existing ones. Add new rows or columns or delete particular data from the database and manage the database easily in Magento 2. I have come up with a process to create and upgrade database in Magento 2 the easy way. Hope it is helpful. Steps to create a database and upgrade in Magento 2: Magento

Continue Reading

How to Call Children in Magento 2 Template Knockout

How to Call Magento 2 Template Knockout

Magento 2 Knockout is the JavaSript Library for Model-View-View-Model on the frontend of the store. Magento 2 Knockout can be seen on every Magento 2 page but in majority seen on the checkout page. It is used to quickly auto update the user interface. The purpose of this tutorial to call children in Magento 2 Template Knockout. Steps to Call Children in Magento 2 Template Knockout Register two children: child_a and child_b in the layout of Magento 2 template [crayon-5f0cf91002503123742312/]   Declare all children

Continue Reading

How to Add EAV Attribute for the Product in Magento 2

How to Add EAV Attribute for the Product in Magento 2

Magento has two types of attributes that can be used to provide extra functionalities, i.e., Eav attributes and extension attributes. Here I am going to discuss the eav attributes and show how to add eav attribute for the product in Magento 2. Entry attribute value (eav) attributes are the attributes added by the merchant from the admin panel to describe the products. Properties such as shape, size, etc. are described using custom or eav attributes. To add Eav attribute for

Continue Reading

How to Programmatically Add Custom Discount in Magento 2

How to Programmatically Add Custom Discount in Magento 2

Sometimes E-commerce businesses go through the period when the sales go down than the regular season. In this time to increase sales, bring new customers and retain the old ones, store owners implement sales promotion techniques and offering discounts is one of them. Discount offers are the short term tactics to boost your sale. Customers are generally attracted to the sale and it benefits your stores! Being a Magento 2 store owner, you may need this strategy to implement in your

Continue Reading

How to Create Quote & Order Programmatically in Magento 2

How to Create Quote & Order Programmatically in Magento 2

Any development requires testing to ensure its functionality, Magento 2 is no exception! You’ll need to test the extension developed in Magento 2 in order to check the working or integration with the system. This task requires creating order as well as customer programmatically from the backend. Here, you can’t afford to waste time and efforts doing the same manually, rather the option is to create order and quote programmatically in Magento 2 which is actually the quicker way. Here, I

Continue Reading

How to Use Registry in Magento 2

How to Use Registry in Magento 2

Magento registry stores data to memory which is specific to a particular request and for a duration of that request only. The Mage class is instantiated as a singleton object for every request and the instantiated Mage object remains in memory and is accessible in all classes until the request completes and the response is sent. Magento 2 allows registering global variable that supports the static registry method. But, instead of using  Mage :: register() and Mage::registry() in Magento 1, apply

Continue Reading

How to Get Magento 2 Attribute & Attribute Options Programmatically

How to Get Magento 2 Attribute & Attribute Options Programmatically

For Magento 2, attributes are options to describe the products and its features. It is a property of the product. It helps potential customers to choose the best-fit product for their needs. By default, Magento 2 products have predefined attributes like name, price, description etc. To show the characteristics of a product, custom options are created in the store. The value of attributes is called attribute options. Default Magento does not allow to get Magento 2 attribute & attribute options.

Continue Reading