Docs

Installation

Shopyflow installation takes place in 2 simple steps.

  1. Configuring Shopify
  2. Connecting to Webflow

Configure Shopify

Shopyflow requires a Storefront API access token to securely connect your Shopify Store to your Webflow site. To generate your Store API access token;

  1. Head to your Shopify Admin > Settings > Apps and Sales Channels section and click Develop apps link..

What’s a Rich Text element? What’s a Rich Text What’s a Rich Text element? What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

What’s a Rich Text element? What’s a Rich What’s a Rich Text element? What’s a Rich Text ejklkjököbömnlement?What’s a Rich Text element? What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

Shopyflow requires a Storefront API access token to securely connect your Shopify Store to your Webflow site. To generate your Store API access token;

1. Head to your Shopify Admin > Settings > Apps and Sales Channels section and click Develop apps link.

What’s a Rich Text element? What’s a Rich What’s a Rich Text element? What’s a  element?What’s a Rich Text element? What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

Static and dynamic content editing

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

How to customize formatting for each rich text

Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.

Before you start!
Tutorıal Steps
1 Introducing Buy Module2Populate the content3Source the thumbnail images from CMS4Connect Product specific attribute Values5Add conditional visibility to option selectors6Introduce Cart Module7Custom Option Selectors
Other Lınks
Shopyflow Docs
Free ON WEBFLOW.IO DOMAINS

How to build CMS based Shopify product  pages in Webflow

Sourcing your products from CMS has countless benefits. Templated yet customisable product pages, available CMS data to quickly create Product Listing pages and server-side rendering of the content are just a few to note.

Below guide will teach how to build a product page using the Webflow CMS, source all the page content, and the Shopyflow configuration dynamically from CMS.

This tutorial assumes that you have a basic understanding of the Buy Module. If you haven't yet taken a look at it, we recommend that you go check out how Buy Module and its components work here.

Before you start!

1. Install the code snippet

Make sure to copy the Shopyflow code snippet from your Dashboard and paste it into the head section of your Webflow site in site settings to complete the Shopyflow installation.

IMPORTANT: If you have built a store following our Quickstart Tutorial before, make sure to remove the Shopyflow Demo Store code snippet before adding your store's code snippet.

2. Get the Shopyflow Webflow App

This guide requires the installation of the Shopyflow Webflow App on your Webflow account. If you haven't installed it yet, head over to the Webflow Apps Marketplace and add it to your site or to your workspace.

3. Make sure you transfer your Shopify data to Webflow CMS

This tutorial covers the steps of building the product page template in Webflow designer using real product data. Before starting this tutorial make sure you have completed the Shopify to Webflow CMS data transfer steps following this guide.

Getting started

Step 1 - Introducing the Buy Module

We start creating the product page by adding a CMS Buy Module to the page. Buy Module is made of all native Webflow elements with Shopyflow attributes on them. We are going to populate the content and the product specific attribute values using the CMS fields.

To add the Buy Module open the Shopyflow App in Webflow and follow the below steps:

  1. Click Add new.
  2. Select Buy Module from the list.
  3. In the product dropdown select Dynamic (CMS) and click Copy element button.
  4. Paste the Buy Module into a container element in Webflow Designer.

Step 2 - Populate the page content with CMS data

Populating the page content is very simple. All the CMS fields are named as their target components. Please see the below interactive guide to connect your fields to the page template.

Select the Product Title component and connect the text property to the Product Title CMS Field.
Select the Price component and connect the text property to the  Product Price CMS field
Select the Compare Price component and connect the text property to the Compare Price CMS field.
Select the Product Description component and connect the text property to the Product Description CMS field.
Select the first  Option Label component and connect the text property to the Product Options Name 1 CMS field.
Select the second  Option Label component and connect the text property to the Product Options Name 2 CMS field.
Select the third  Option Label component and connect the text property to the Product Options Name 3 CMS field.
Set the Background image of the Product Image component to Product Main Image field.

Product Image component is placed inside of a Slider element with a single slide. Other slides dynamically cloned and populated on page load.
By default you're given a static setup for the Thumbnails component. In your live site this will work just fine. If you like to see the final look in the Webflow designer;

1. Add a new Collection List and connect it to Product Gallery Images field.

2. Select the Collection Item element in your newly added Collection List

3. In the Shopyflow App click Convert and select Thumbnail in the menu

4. For the default basic styling add Thumbnail Wrapper class to Collection List element and Thumbnail class to the Collection Item element.
Connect the Product Title component to Product Title field from the CMS collection.  
Please view this tutorial on a bigger screen to see the interactive guide

Step 3 - Source the thumbnail images from CMS

By default CMS Buy Module comes with static Image Gallery Thumbnails. It's always a good idea to source them CMS so you design/build with real data, and serve the images instantly to your visitors before Shopify data is fetched on the page load.

Step 4 - Connect the Product Specific attribute values

We have two types of product-specific attribute values to source from the CMS. Follow the interactive guide below to connect your attribute values correctly.

  1. Product ID field on Product Container for sf-product attribute
  2. Product Option 1, 2, 3 Name on Option Selectors for sf-change-option attribute

If you want to use Custom Option Selectors instead of the standard ones, please see Step 7 in this guide.

Select the Product Container component and connect the value field of its sf-product attribute to the Product ID CMS Field.
Select the first Option Selector component and connect the value field of its sf-change-option attribute to the Product Options 1 Name CMS field
Select the second Option Selector component and connect the value field of its sf-change-option attribute to the Product Options 2 Name CMS field
Select the third Option Selector component and connect the value field of its sf-change-option attribute to the Product Options 3 Name CMS field

Step 5 - Use conditional visibility to hide/show Option Selectors

Let's make the Option Selectors conditionally visible to avoid having redundant option selectors in the Buy Module when they are not needed.

  1. Select the first Option Group element from the navigator that contains both an Option Label and an Option Selector.
  2. Add a conditional visibility rule to the element. So the first Option Group that is going to be visible only when the Product Option 1 Name is set.
  3. Repeat the step 1 and step 2 for each Option Group using the Product Option 2 Name and Product Option 3 Name fields as the condition for the visibility.

Step 6 - Introducing the Cart Module

Now we have a UI that allows products to be added to the cart, yet our page doesn't have a cart element. Let's introduce a cart to complete the purchase experience on this product page.

  1. Click Add New button in the app.
  2. Select Cart Module from the list.
  3. In the opening screen select with popup option and click Copy element button.
  4. Paste the Cart Module anywhere in the page.

Cart Module by default has all the elements. You are encouraged to style, move around and explore the inner elements to tailor the Cart Module to your needs.

To have a deeper dive into the structure and the sub-components of the Cart Module, visit the component documentation page.

Managing the Cart Popup

Now we have a Cart Module placed in a fixed positioned popup. The cart popup element becomes visible with a class called sf-cart-opened, after a new element is successfully added to the cart. To hide the cart popup initially on the page load:

  1. Open the Navigator Panel
  2. Make sure you select the Cart Popup element which is the outermost element of the Cart Module.
  3. Remove the class sf-cart-opened class from the element.
Don't set the display property of the Cart Popup element to none.

If you change the display property to none for the Cart Popup, the cart opening transitions are not going to work. Instead, when you edit the Cart Module go ahead and add the sf-cart-opened class to the Cart Popup element to make it visible and remove the same class to hide it.

Step 7 - Using Custom Option Selectors

Shopyflow offers a very powerful way to create Custom Option Selectors by using Collection Lists. To find out more please watch 5-minute in-depth tutorial below.

Publish your store!

Once you added the Cart Popup component to your page your store is ready to go. At this point we suggest that you publish your site and see if everything works as expected.

The Step 7 is optional. You can replace the regular Select Inputs with the Custom Option Selectors. Complete the last step for customizing your option selectors.

Can't find a solution? Join our Discord server to get an instant reply from our experts and the community.
DOCS & GUIDES

Deep dive into Shopyflow's docs and guides

VIDEO Tutorıal

Learn the Shopyflow Webflow App

Take a deep dive into our Webflow app and learn how to build your first product page.
Guide

Shopyflow Quickstart Guide

Let's launch your first product page in minutes using Shopyflow Webflow App and the Shopyflow Demo Store.
Documentatıon

Sub-product

SUPPORT & COMMUNITY

Join the discord channel