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

Magento 2 SEO: The Ultimate Guide [2020]

Magento 2 SEO Settings: The Ultimate Guide

Why SEO is necessary Search engine optimization is one of the critical aspects for any Magento store. While off the page SEO, i.e. citations and links, is necessary, one should not forget about on-page optimization. On-page optimization can be a blessing if you implement it correctly. While developing Magento 2.x, certain flaws of Magento 1.x were considered and hence have been improved in Magento 2.x. To be precise, SEO settings have been greatly improved in Magento 2 which I will

Continue Reading

How to Get Product Options in Magento 2

How to Get Product Options in Magento 2

Magento 2 supports the functionality for creating and assigning the custom options to the products. The process to add new custom product options is simple for any store owner. Follow the steps given below for getting Product Options in Magento 2: Generate Object Manager [crayon-5ed18cccd18a7249694702/] Generate the Product [crayon-5ed18cccd18ad064293928/] Custom Options [crayon-5ed18cccd18af872040793/] Configurable Options [crayon-5ed18cccd18b0368334334/] Grouped Childs [crayon-5ed18cccd18b2843510598/] Bundle Selection [crayon-5ed18cccd18b3884141046/] Following these steps will enable Product Options in your Magento 2 Store. If you have faced any issue while

Continue Reading

How to Create Custom Options Programmatically in Magento 2

How to Create Custom Options Programmatically in Magento 2

Magento 2 is a popular CMS used widely used in E-commerce stores selling varied products. For some of the products, customers require to specify custom options while placing the order. For example, an online food delivery store must have options to allow customers to customize their pizza toppings The custom options allow customers to configure the product as per the need. To create custom options programmatically in Magento 2, one needs to follow the below method. Method to Create Custom

Continue Reading
SUBSCRIBE