How to Add Static Block to Category Page in Magento 2

How to Add Static Block to Category Page in Magento 2

Magento 2 category page does not cater additional CMS block. However, the admin can add CMS block to show custom content on the category page. You can change the layout of the category page as you want. Display additional elements with CMS static blocks on the category page easily. The post shows the stepwise method to add static block to category page in Magento 2.

Steps to Add Static Block to Category Page in Magento 2:

  1. Login to Magento 2 admin panel
  2. Navigate to Catalog > Categories
  3. Select the required category Steps to Add Static Block to Category Page in Magento 2
  4. Expand Content section
  5. From the dropdown menu in the “Add CMS Block” select one of the options Add CMS Block
  6. Expand the Display Settings
  7. Select “Static block and products” from the dropdown menu in the Display Mode field Display Settings
  8. Save the category
That’s it. After this configuration, the frontend will show the added static block: Add Static Block to Category Page in Magento 2 - Frontend Any doubts? If so, mention them in the Comments section below. I’d be glad to help you out. Also, do share the post with Magento 2 store admins via social media. Thank you.]]>

How to Configure Order Item Status to Enable Downloads in Magento 2

How to Configure Order Item Status to Enable Downloads in Magento 2

Magento 2 has six product types out of which today I’ll talk about the Magento 2 downloadable product type and its order status to allow customers to download them.

While purchasing downloadable products from the store, Magento 2 store admin can set one of the options: Either to allow the customers to download products after the invoice is generated or when the payment is under process and the order status is still pending.

Enable downloading products based on the order status, which can be configured using the below steps.

It depends on the type of business, payment methods used, and up to what extent you can trust the customers to complete the payment process.

Steps to Configure Order Item Status to Enable Downloads in Magento 2:

Configure Order Item Status to Enable Downloads in Magento 2

  1. Login to Magento 2 admin panel

  2. Navigate to Stores > Settings > Configuration

  3. Select Catalog under the Catalog section.

  4. Expand Downloadable Product Options section

  5. In Order Item Status to Enable Downloads in Magento 2, choose Invoiced or Pending based on your business requirement.

    1. Invoiced – The product can be downloaded after the payment is completed and the invoice is generated.

    2. Pending – Even if the payment is pending and the invoice is not generated, the customer can download the product.

  6. Click Save Config

That’s it.

If you have questions regarding this solution, feel free to ask in the Comments section below.

I would be happy to help you.

Do consider sharing this post with Magento Community via social media.

Thank you.

]]>

Magento 2 Product Types Explained

Magento 2 Product Types Explained

types of products in Magento 2 with examples shown below:

Magento 2 Product Types:

  1. Simple Product
  2. Configurable Product
  3. Grouped Product
  4. Virtual Product
  5. Bundle Product
  6. Downloadable Product

1. Simple Product:

10_Frontend Simple Product in Magento 2 Simple products are the most used type of product in Magento 2. When a product has only a single SKU (Store Keeping Unit) code, it is called a simple product. For instance, a sunglass is a simple product as it has its own SKU code. The merchants create simple products in Magento 2 from the backend as well as using the programmatic method.

2. Configurable Product:

Magento 2 Product Types Explained 1 The configurable product is a single product but contains multiple variations. However, each variation has its own SKU that is used for inventory management. A bag that comes with two colour options and with two types of material is an example of a configurable product.

3. Grouped Products:

Magento 2 Product Types Explained 2 A grouped product is a collection of related simple products with the same theme or colour. This product type presents multiple, standalone products as a group. Offer variations of a single product, or group them for promotion in Magento 2 store. Each product in a grouped product can be purchased separately or as a group. A group of bag packs and tracking accessories, or a furniture set can be considered as grouped product. The admin can create grouped product in Magento 2 from the backend as well as using the programmatic method.

 4. Virtual Product:

Magento 2 Product Types Explained 3 The virtual product represents digital products or in other terms intangible items such as monthly or annual subscription, services, memberships, warranties. A virtual product can be sold with grouped and bundle products. It need not be shipped and hence requires no stock management. The store owner can easily create virtual products in Magento 2 from the backend or using the programmatic method.

5. Bundle Product:

Magento 2 Product Types Explained 4 A bundled product is a build your own, customizable product or kit of simple or virtual product type. A combo product, for example, as shown in the figure above can be considered as bundle product that can be either customized or simply add to cart.

6. Downloadable Product:

Magento 2 Downloadable Product Type The downloadable product contains one or more files that the customer gets after purchasing the product. The files are stored on the hosting server or any other server. In order to sell digital products, create a downloadable product in Magento 2 store. The downloadable products are mainly digital files such as eBook, music, video, software application, or update. If you are into the B2B business or B2C business, Magento 2 offers six types of products that help you to set up all the products you have on your Magento 2 store. Apart from these, you can also create custom product type in Magento 2 based on the business requirements. That’s it. Feel free ask queries on the Comment section below. I would be happy to help you. Do consider sharing this post to Magento 2 Community via social media. Thank you.]]>

How to Set Minimum Order Amount in Magento 2

How to Set Minimum Order Amount in Magento 2

set the minimum order amount in Magento 2 based on customer groups, Meetanshi offers Magento 2 Minimum Order Amount for Customer Group extension that validates the order based on the minimum order amount by restricting it based on the customer group.

Steps to Set Minimum Order Amount in Magento 2:

Step to Set Minimum Order Amount in Magento 2  
  1. Login to Magento 2 admin panel

  2. Navigate to Stores > Settings > Configuration

  3. Under Sales, select Sales

  4. Expand Minimum Order Amount area

  5. Set “Yes” to Enable minimum order amount

  6. In the Minimum Order Amountenter the minimum order amount allowed

  7. Click Save Config

That’s it.

The customer is restricted as shown below when the minimum order amount condition is violated:

Minimum order amount in magento 2

If you have queries, feel free to ask in the Comments section below.

I would like to solve your problem.

Don’t forget to share this post with Magento Community via social media.

Thank you.

]]>

How to Change Maximum Number of Items to Display in Order Summary in Magento 2

How to Change Maximum Number of Items to Display in Order Summary in Magento 2

Magento 2 offers checkout options to enhance the shopping experience of the customers. One such option is to change the maximum number of items to display in the order summary in Magento 2 at the checkout step. By default, this value is set to 10. However, the admin can change this value from the backend option as shown below. The customer can review their items on the cart page and the entire list can be skipped at the checkout step to make it look neat with lesser components. Also, if you want to get rid of the scroll bar in the order summary, reduce the value of the maximum number of items to be displayed in the order summary. This will improve the layout and user experience of the Magento 2 checkout page.

Steps to Change Maximum Number of Items to Display in Order Summary in Magento 2:

Steps to Change Maximum Number of Items to Display in Order Summary in Magento 2
  1. Login to Magento 2 admin panel
  2. Navigate to Stores > Settings > Configuration
  3. Select “Checkout” under “Sales
  4. Expand the “Checkout Options” section
  5. Change the number in the field “Maximum Number of Items to Display in Order Summary“. The default value is 10.
  6. Save the configuration.
Once done, the frontend will display only the set number of items in the order summary during checkout: Change Maximum Number of Items to Display in Order Summary in Magento 2 Frontend That’s it. Any doubts about the solution can be mentioned in the Comments section below. I’d be happy to help you out. Do share the solution with Magento Community via social media. Thank you.]]>

What is Magento?

What is Magento?

called it “The best new open source product”. In a few years Magento became one of the most popular ecommerce platforms. In this article we will tell you about Magento, why the number of developers and merchants who chose it increases, and what are the differences between the various releases. After reading this article you will be able to decide if it fits your business needs. Table of contents: What is Magento? How popular is Magento? And what’s about history? Why Magento: Technology stack Magento 1 vs Magento 2 Magento Commerce Magento Commerce Cloud

Before we begin

We decided to write an article after numerous inquiries from our clients, who could not make a decision or “have heard something about Magento, but still do not understand what its peculiarities are”. Experienced merchants and developers are likely to know this information. We have plenty of other interesting materials on marketing, design and Magento 2 certification topics for them.

So what is Magento?

CMS or …? Magento is typically considered to be an ecommerce CMS. An administrator manages the catalog of products, edits landing pages and creates various marketing programs. This part is usually referred to as a “content management system”. Management of buyers, processing of orders and payment acceptance are ecommerce components and every contemporary CMS has them. Various integrations with ERP, analytics, multi-warehouse inventory, product information management (pim), advanced segmentation of customers and omnichannel tools are not the only functions available in Magento. Usually a typical online shop is built into the large working system. However it is only one of the possible ways to conduct business. With Magento you can create all business for yourself. It is impossible to create a platform that satisfies all needs of the market. You can only provide business and developers with the possibility to edit and enhance the application easily. The major principle of modern systems is modularity. You can easily add the functions you need and turn off all the unnecessary functions. Thousands of modules written by the community and professional vendors are available now. Magento is something more than just a CMS. It can be related to the ecommerce content management framework (CMF) because of the wide range of functions, flexibility and depth of integration into business processes. Each store becomes a unique solution designed to solve the problems of specific business.
magento development services

Magento Development

Choose Magento today and get a robust website!

CONTACT US

How popular is Magento?

According to the research, Magento is ranked in the top 3 popular platforms among the first million of ecommerce platforms on the Internet. Magento is used to create 8 out of 100 most well-known shops. Plenty of famous brands chose Magento for their business: Nike, Samsung, Ford, Monin, Coca-Cola, Helly Hansen, Mason Jars, HP, etc. Recently our colleagues analyzed the popularity of Magento based on Google Trends and determined that for a certain period of time the inquiries about Magento were even more popular than the inquiries about “ecommerce”. Magento is not the most popular platform for starting the business online in 2020 anymore because it is a large and complex system. WooCommerce and Shopify are more user-friendly and easy. They allow you to create a proof of concept or MVP quickly and begin selling immediately. According to CloudWays and BuildWith statistics when the number of orders increases, the basic triad “add to cart – pay – deliver” is not sufficient anymore. In this case, Magento is the prime choice. ecommerce CMS - what is magento

And what’s about history?

Everything started with a small company Varien. Roy Rubin and Yoav Kuther planned to develop Internet shops with osCommerce CMS. Soon it became obvious that the chosen CMS could not satisfy all the needs of the expanding businesses. It was the moment when the idea of creating their own app was generated. It was the idea of a more flexible application which has more extensions and is aimed at the ecommerce problems. On August 31, 2007 the first public beta release of a new Bento CMS was introduced. Later the name was changed to Magento, and the first version of a logo was made in the color of magenta. On March 31, 2008 Magento Community Edition 1.0. was released. This version was totally free and everybody could download and study it, but not all functions were available. Fundamental principles of modularity and extensibility were ingrained into application architecture from the very start. A lot of developers trusted the new CMS and chose it as the basis for their new projects. We will not describe the innovations that were introduced in each version of Magento and will focus only on the major development milestones. In 2009 Magento triumphed over its predecessor osCommerce. The term “Magento” was googled more often than “e-commerce”. During the increase in popularity Magento Enterprise Edition was released. It is the solution for large businesses. Thereafter 2 possible options were available for merchants: Magento Open Source (Community Edition) and Magento Commerce (Enterprise Edition). In 2010, eBay made an investment in Magento and bought 100% of its shares in 2011. The very fact of buying deserves attention, but the main thing is the addition of native integration with PayPal that belongs to eBay as well. Magento was very productive throughout the whole year of 2011: the first conference Magento Imagine took place, a lot of certifications were introduced for developers and the start of Magento 2 development was announced in November. The support of eBay in 2011-2015 gave a significant impetus to the Magento development. Versions 1.x and 2.0. were developed simultaneously. It was the moment when the decision that influenced the future principles of project development was made. Beta release of Magento 2 was posted on github and all the community was invited to take part in the discussion and development. Thanks to this decision, Magento 2 is written not only by the Magento core team, but also by the independent developers. On November 18, 2015 Magento 2.0.0. was released. Like the first version, Magento 2.0 offered only a basic set of functions. The possibilities for development were limitless. From this time forth active development of Magento 1 was completed. The following updates contained mainly critical security fixes. It was recommended for all merchants to update to Magento 2. The transition period started. In 2015 the global investment firm Permira became the owner of Magento. In the years of development Magento 2 came a long way from the improved updated version of Magento 1 to a totally new platform based on modern architecture approaches and methods of conducting business. Active Magento community played a crucial role in it. In 2017 Magento received the Global Ecommerce Platforms Product Line Strategy Leadership Award from Frost & Sullivan. In May 2018 Magento was acquired by Adobe. Henceforth the work on the integration of Magento CMS into Adobe Experience Cloud and Enterprise CMS platform began. The date of termination of the first version support was rescheduled several times. Official updates and security patches have no longer been released since July 1, 2020. The store owners at Magento 1 who didn’t manage to update during the transition period were advised to update to Magento 2 as soon as possible. For more than 10 years Magento 1 became so popular that it was decided to allow merchants to continue working on Magento 1 until they are ready to update. what is magento - magento history

Tech stack or what we got into

Magento 2 survived a few development phases, during which new features were introduced.

PHP

pHP-logo Magento was based on PHP 5 for a pretty long period of time. New patches made it more compatible with the newer versions of PHP 7. APHP Group stopped support of PHP 5 and developers got a clear roadmap how to release new versions of PHP 7.x. They planned the release of new Magento versions based on the latest versions of PHP. For example, Magento 2.3 is compatible with PHP 7.2 and the future release of Magento 2.4 will be with PHP 7.3 and 7.4. Composer (dependency management package for PHP) is the basis for the modular Magento system. It allows the addition of necessary libraries and the centralised control of modules and their dependencies. The basis of Magento is Magento Framework. It controls the interaction of the application components, including request flow, routing, indexation, caching and exception handling. Magento Framework is based on Zend Framework and Symphony. But it doesn’t mean that Magento is a Zend – or Symphony-based application. Developers work with the intermediate interfaces and adapters that pass the inquiries to the lower level.

Web Servers

In order to transfer the final page from application to the customer’s browser we use web-server software. It is responsible for url-management and interaction between the browser and different parts of the remote server and caching.

Apache

Apache Magento, like any PHP-based application, works with Apache web server. It is the most widespread and reliable web server. It is available at all hosters by default. The control interface and Apache fine tuning was integrated into the majority of control panels long ago.

Nginx

NGINX-logo The main drawback of using Apache as a web server is its speed and the intensity of server resources. Speed is of utmost importance for ecommerce projects as nobody is eager to wait for a long time for the product page to load. Moreover, in the search results quicker websites are ranked higher by Google. Therefore another widespread solution is NGINX. This server works faster, processes pictures, JavaScript and CSS files in a different way. The majority of high-load projects use it because of its speed and security. NGINX can be used as a separate web server and as a reverse proxy for Apache. As for the drawbacks, its configuration is more complex in comparison with Apache, so it is better to contact professionals for the best results.

What about Lighttpd, Google web server, LiteSpeed and others?

Any web server that can work with PHP-FPM will be suitable for Magento. You can use any web server that is convenient for you. Nevertheless Apache and NGINX are the most widespread ones and the majority of potential problems with their configuration have been already solved by the community.

Magento Database

MySQL mysql The primary database of Magento is MySQL. All information about products, categories, customers and their orders is stored in MySQL. The speed at which your database is able to provide and keep information defines how quick your ecommerce application will be. Often during the initial audit of the clients’ stores we notice that the previous developers used the default configurations of MySQL or added excessive unoptimized inquiries to the database. The client ordered a more powerful server, replaced the companion software, but Magento 2 worked slower than it could just the same. You have to check MySQL first of all when you want to make your site quicker. Magento works flawlessly not only with the original MySQL, but also with its frameworks MariaDB and Percona.

Elasticsearch

Before version 2.4 Magento used MySQL as a major search engine for the shop. The search was slow and not always relevant. For example, together with a “green umbrella” you can receive a “green carpet” or even a “green elephant”. You can use integration modules with Apache Solr, Sphinx, Elasticsearch and external cloud solutions as an alternative. Elasticsearch completely replaced MySQL for catalog search after version 2.4 and now it is available by default. Elasticsearch

Redis

For each customer the set of available products, discounts and categories is different. Magento 2 works continuously with large amounts of data because of that. It would take too much time to request it from the database every single moment and too many server resources would be wasted on it. This is why Magento keeps in the system cache a lot of information that is used often but edited rarely. By default Magento uses file cache. All the data is recorded into files and stored on disks. This solution is quite functional and efficient till the specific number of active users is reached. Redis is an alternative cache storage. Data is stored in the server memory, the speed of data access is higher and the system is more reliable. Redis easily handles the situation when 2 different clients try to update the same data simultaneously thanks to its architecture. File storage in this case lines up the inquiries in a queue and the productivity becomes lower. Redis can work on a separate server or it can become a distributed server system and increase safety of the whole application. Another objective of using Redis in Magento 2 is to store user sessions. The history of activity in the shop, previously viewed goods and other information is stored in the sessions. The quicker and more reliable they work the better. Redis_Logo

Varnish Cache

Besides separate data Magento 2 can cache entire pages as well, separately updating unique blocks for each user. Full page caching (FPC)  is one of the compulsory points to check before the live release of your store. FPC can be stored in the file system like typical cache. Nevertheless, more productivity and flexibility can be achieved with the proxy accelerator Varnish. It works before the web server as a rule, analyzes the user’s inquiry and refers to Magento only if it hasn’t cached the necessary data already. Magento Varnish Cache

RabbitMQ

In the modern web application a lot of processes undergo in the background. Export of products, stocks updates, data inquiry from the external API can work asynchronously. So the user does not have to wait for the end of these inquiries to start a new task. Earlier a synchronicity was imitated with the help of cron-tasks. The script checked if there is any work to be done. The script ran when it received the relevant command. 90% of the time scripts just checked if there was a specific flag posted and if it was time to start working. With RabbitMQ the task queue became filled only at the necessary moment. After the task is completed resources are released and then they wait till there is need for them again. rabbitmq-logo

Frontend

HTML5 and CSS3

This union became canonical in web development. Everything that the application displays in the browser is structured into various blocks. The location of these blocks on the page depends on the screen size and the device type. Earlier to create a page that looks the same in all major browsers (cross-browser compatibility), developers had to resort to different stratagems and additional JavaScript libraries. All these factors influenced the page size and its load speed. HTML5 and CSS3 allowed standardization of many elements, some functions from the libraries were moved directly to the browser. The creation of responsive web applications became easier. LESS together with Grunt is used as a preprocessor by default. But there are plenty of projects that are built on SASS and Gulp. Magento 2 is flexible enough and choice of the instruments depends on the developer’s tastes.

jQuery and jQuery UI

jQuery is an old JavaScript framework. Its usage in Magento 2 is ambiguous, but the majority of UI widgets are built on it at the moment. Nevertheless almost all developers are familiar with jQuery and it is not difficult for them.

Knockout.js

Knockout.js is another JavaScript library that is used in Magento 2 together with jQuery. All work with the cart, buyers’ addresses and orders placing is based on it. Developers created the dynamic system that handles all user data asynchronously because of the MVVM pattern. It connects the frontend with Magento.

PWA

Progressive Web Application is a technology that forces the Magento frontend to behave like a regular mobile application in the browser. It is an alternative to different mobile and responsive themes. The distinctive features of PWA are fast response time, simplified page design, the possibility to work offline, security, behavior similar to the native mobile applications. Magento 2 team together with the community are developing their own concept of Magento PWA with React JS and GraphQL now. A few vendors have presented their PWA solutions based on ReactJS and Vue.js already and promote them actively.
magento development services

Magento Development

Choose Magento today and get a robust website!

CONTACT US

Magento 1 vs Magento 2

Hardly anyone asks a question today “Which is better to create a new website: Magento 1 or Magento 2?”. However, we encounter this question every once in a while. More simplified server architecture, lesser demand for resources, plenty of ready-made plugins and high development speed are often mentioned as the arguments for Magento 1.

Let’s figure it out

Do not forget that Magento 1 was released in 2008. The further releases of Magento 1 were more stable, better optimised and safer than the previous v1.0. Nevertheless, there was nothing brand new in them. Do you need a CMS that lags behind its equivalents for more than 10 years? On July 1, 2020 Magento 1 support was completely terminated. There were no updates and security patches anymore. The development of the project is frozen. A few hosters and developers continue the support of Magento 1 for active stores and the people who didn’t manage to switch to Magento 2. Varnish, NGINX, Redis, MySQL were initially used together not in Magento 2, but earlier. The server was configured in a similar way for acceleration and stabilization of Magento 1. Previously all configurations were made separately and the same goal was achieved with different possible sets of modules that every developer chose according to their tastes. Everything is included in Magento 2 by default now. It is standardized and has been tested on thousands of shops. At the moment when Magento 2 was released developers and merchants had doubts whether they should upgrade. There were not enough modules on the market to duplicate the Magento 1 functions. The development of a new store was prolonged because a lot of modules had to be written from scratch based on their performance in Magento 1. All large vendors added Magento 2 support to their modules. The current plugins are being improved constantly. They offer more possibilities than their previous Magento 1 equivalents.

So what is the conclusion?

There is absolutely no sense in the development on Magento 1 today and you shouldn’t count on your Magento 1 store anymore. It can be really troublesome and requires way more efforts. Magento 2 is the only appropriate alternative to Magento 1 now. It is a flexible, reliable and modern ecommerce platform. Native integrations with popular payment providers like Braintree and Paypal, a ready-made B2B system, Amazon Sales Channel and a large active community leave no more room for doubts.
migration to magento 2

Migration to Magento 2

Migrate your dated store today not to lose it tomorrow!

CONTACT US

Magento Commerce

In 2009 a separate Magento Enterprise Edition was released. Later it was renamed as Magento Commerce. It became a new milestone in the development of Magento. Initially Magento was aimed at small and medium businesses and later it was ready to work with large enterprises, plenty of customers and their orders. Marketing and B2B instruments were completely transformed according to the demands of large companies.

Page builder and Content staging

Wysiwyg was updated and rebuilt completely. It can add not only text and pictures on the pages, but also different widgets, sliders and dynamic blocks. The changes are published according to the schedule, the design is switched over depending on the date.

Customer segmentation

Content, products, banners and discounts are automatically personalised for each buyer based on their state, viewed products and order history.

Dynamic rule-based product relations

Up-sells, cross-sells and related products are displayed according to the rules based on the actions of a specific user.

Instant purchase

The checkout and payment interface is simplified. You can save and use the same payment and shipping details more than once.

Visual merchandising

The products are distributed into categories automatically based on such attributes as brands, price, date of addition, etc. The convenient drag-n-drop interface allows you to identify the product state in the category easily.

Expanded analytics

Additional reports allow you to control Return On Investment (ROI), Customer Retention Rate (СRR), conversion and other business development indicators.

B2B Integration

It is possible to create a lot of catalogs, separate accounts for companies and customers, loyalty programs and flexible price management.

Advanced inventory management

You can avoid the depletion of warehouses and optimize your shipping expenses with such instruments as the effective residue check interface, tracking of the products that were sent and management of several warehouses.

Magento Commerce Cloud

Initially Magento was created as a self-hosted platform. You had to buy a hosting, download Magento and modify it to start your business. Server management, its security and updates were the responsibility of merchants and their IT teams. Magento Commerce cloud is a ready-made environment with the pre-installed Magento Commerce. It has a fully configured deployment process. Support and updating of the platform is the responsibility of high-profile professionals from the Magento team. Merchants could focus  entirely on business development and not on the technical side of Magento.

Wrapping it up: will Magento fit me?

Magento is only one of a myriad existing platforms. Everyone specifies immediate goals and development perspectives on their own. This principle works in the choice of CMS as well. It is important to bear in mind that the wrong choice could be critical for business. I think that small companies that need to launch as quickly as possible should not choose Magento 2. A simple theme, 1-2 payment and 2 shipping methods are sufficient for them. They will not require elaborate catalog and marketing programs as well. In this case Shopify is the best choice. This solution is located in the cloud and it is possible to perform the majority of modifications directly in the control panel. WooCommerce and PrestaShop will fit small companies that stick to a tight budget. With these self-hosted solutions you will control your store completely and have far more possibilities for customization. Nevertheless these systems are not always reliable and are dependent on the set modules, the quality of which are not always regulated by creators and platforms. Magento is strongly advised for medium and large companies. The major instruments such as  thoroughly elaborated processes, constant improvements of marketing instruments, native integrations facilitate business support and expansion. Cloud and self-hosted options will fit any vision of IT department development. A multi-step program of module quality control guarantees stability, quality and safety of your services.]]>