Magento PWA Content Slider

Today we are happy to release our 2nd module for Magento PWA Studio -- UB PWA Slider module. It is packed with the newly added service layer for UB Content Slider (ContentSliderGraphQl with GraphQL APIs ready for PWA Storefront). As you might know,
GraphQL
is defined as the main API to support PWA Studio functionality.

The UB PWA Slider module gives you a convenient way to display multiple content boxes -- text, banners, (upcoming feature) product slider, videos or other promotional graphics -- in a single place to your PWA Studio site.

Magento PWA Content Slider for PWA Storefront

In this article, we share the preview of what we’re working on with the UB PWA Slider module. Continue reading

PWA Tutorial: Override & Extend Venia components

This tutorial guides you through overriding and extending a Venia component in order to display specific custom content in your custom React component on a custom Magento PWA site.

By the end of this tutorial, you will know how to:

  • Create a simple custom React component with simple custom content for your Magento PWA Studio site
  • Override Venia components to display that newly created custom content on your custom Magento PWA Studio site:
    • Sample 1: Display a Masthead at the Main Top Content position on all pages of Magento PWA Studio site
    • Sample 2: Display a Slideshow at the Main Top Content position on the homepage of Magento PWA Studio site

Once you master them, you can create your own complex React components beyond these small sample pieces.

Let’s get started. Continue reading

Magento PWA Menu: Hamburger vs Tab Bars

When it comes to the PWA Studio project, should we stick with the classic Hamburger Menus or switch to Tab Bars on mobile?

Even though there are a few alternatives for navigation on mobile, we’re going to lay out all the pros and cons of the hamburger menus and tab bars (bottom navigation) only. We hope it gives you evaluation criteria to find which one is right for your Magento PWA project.

Hamburger menu

The hamburger menus are often listed as #1 choice and become the go-to icon for traditional responsive eCommerce websites. The hamburger menu is the ‘3-bars’ icon on mobile that typically opens up into a side menu or navigation drawer.

However, from an app perspective, during a talk at the Worldwide Developers Conference in 2014, Mike Stern -- designer and Apple UX Evangelist -- was against using the hamburger menu for their apps, saying:

“Remember, the [two] key things about an intuitive navigation system is that they tell you where you are, and they show you where else you can go.”.

So, is the hamburger menu really effective and the best way to display your Magento PWA Studio project’s navigation? To answer this question, first, we need to dive into the effectiveness and usability of this UI element in mobile navigation. Continue reading

PWA Megamenu Installation Guide

In the previous article on Magento PWA Studio tutorial, we walked you through how to have a working copy of the Venia storefront installed and running on top of Magento 2 using @magento/create-pwa command. In this second article on setting up a Magento PWA project, we’ll give you step-by-step instructions for merging our UB Mega Menu storefront into your existing Magento PWA Studio project, so you can get started with your PWA project as quickly as possible.

Before you get started…

If you’re new to UB Mega Menu module and new to Magento PWA Studio in general, get yourself familiar with the following terms first. Continue reading

Magento PWA Studio tutorial

Aug 28, 2020 Note: You can follow this tutorial for the latest PWA Studio v.7.0.0.
Jun 2, 2020 Note: We have tested this tutorial with the latest PWA Studio 6.0.1 and everything worked fine.
Feb 12, 2020 Note: At the time of writing this tutorial, the Magento PWA Studio version was 5.0.0. We’ve just tested the tutorial with the latest PWA Studio v5.0.1 as well.

As you might know, Magento PWA Studio v5.0.0 officially introduced a new handy command -- @magento/create-pwa -- that allows for getting a new PWA Studio project up and running way easier. Actually, our team noticed that this command was in place before and we did try this command successfully with PWA Studio 4.0.0 for an experimental setup.

This tutorial will walk you through all steps to use this command to set up an initial project structure using the Venia storefront as a template. Continue reading

UB PWA Mega Menu


Aug 13, 2020 Update: UB PWA Mega Menu v1.1.9 is fully compatible with Magento PWA Studio v.7.0.0.
Jan 10, 2020 Update: UB Mega Menu v1.1.8 has just been released, packed with the newly added service layer for UB Mega Menu (MegaMenuGraphQL with GraphQL APIs ready for PWA Storefront).
Dec 31, 2019 Update: UB PWA Mega Menu has been enhanced with progressive skeleton loading pattern and newly added sticky menu.
Dec 20, 2019 Update: We’ve just updated UB PWA Mega Menu demo with incremental optimization and video content type demo.

For those who are curious about the things we are working on, here is a glimpse at our upcoming Magento PWA mega menu module called UB PWA Mega Menu.

For the past month or so, we have dived deep into early development of this module which is built on top of Magento PWA Studio. Although the module will undergo further development, we’re excited to share a quick preview of the features and demo to give you a general overview of the module.

Ready GraphQL based module

As you might know, GraphQL is defined as the main API to support PWA Studio functionality. You can check out this article to learn why GraphQL API could be an obvious choice against REST API in Magento 2 in the near future.

Our approach of UB PWA Mega Menu is to help build a flexible mega menu on top of Magento PWA Studio, so the module uses PWA Studio’s libraries -- GraphQL, React and many other technologies as part of its stack. Continue reading

GraphQL API in Magento 2

Aug 13, 2020 Update: UB PWA Mega Menu v1.1.9 is fully compatible with Magento PWA Studio v.7.0.0.
Jan 10, 2020 Update: Check out UB PWA Mega Menu v1.1.8, packed with a newly added service layer --  MegaMenuGraphQL that helps you build flexible mega menus on top of Magento PWA Studio. View details here
.

The new GraphQL API turns out to be one of the major moves in Magento 2.3, as written in our first blog post. Originally, GraphQL is a query language developed internally by Facebook in 2012 and has introduced a new era in web development since it was publicly released in 2015.

Let’s explore the advantages of using GraphQL API over REST API and the current state of GraphQL API in Magento 2.

Why GraphQL API?

As you might know, GraphQL has become the main API to support PWA Studio functionality and other custom storefronts. Magento introduced a layer of GraphQL endpoints as a communication protocol with PWA based storefront since Magento 2.3.0. There are still some gaps in GraphQL API coverage (not 100% of the functionalities available in Magento 2 are fully prepared), however its capabilities have increased with each release cycle of Magento. Continue reading

Magento PWA Demo

Aug 13, 2020 Update: UB PWA Mega Menu v1.1.9 is fully compatible with Magento PWA Studio v.7.0.0.
Jan 10, 2020 Update: We have released UB PWA Mega Menu v1.1.8 that helps you build a flexible mega menu on top of Magento PWA Studio. It uses GraphQL, React & other technologies as part of PWA Studio stack. Check out the features & demo here
.

You may have heard about the Magento PWA before, read Magento’s announcement about it’s PWA priority, or awaited for a chance to get your hands on the Magento PWA … It is now time for you to start playing with it.

You can get started with our demo shop below which was built fully on Magento PWA Studio (beta). While this demo remains a work-in-progress and does not offer full PWA functionality yet, you can explore as a way of getting used to the Magento PWA frontend functionalities and possibilities of Venia Storefront.

Before heading to the live demo, you can have a quick glance at some of the pwa pages: Continue reading

Magento PWA studio

Aug 13, 2020 Update: UB PWA Mega Menu v1.1.9 is fully compatible with Magento PWA Studio v.7.0.0.
Jan 10, 2020 Update: Check out UB PWA Mega Menu v1.1.8 that helps you build a flexible mega menu on top of Magento PWA Studio. It uses GraphQL, React & other technologies as part of PWA Studio stack. Check out the features & demo here
.

Magento has introduced Magento PWA studio for some time. It is supposed to bring us a suite of tools which you can use to build online stores that behave like apps.

Why is PWA growing in popularity? Will it soon dominate the Magento 2 landscape? And where you can learn more about the Magento PWAs? This article will shed some light on those questions. Continue reading