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.

Free ON WEBFLOW.IO DOMAINS

Shopyflow Quickstart

Shopyflow Quickstart

Guide
Let's launch your first product page with Shopyflow in minutes. We're going to create the product page below in 2 simple steps.

Shopify Storefront data and cart logic is bound to your Webflow elements through Shopyflow attributes. Connecting your Webflow site to Shopify is done by adding custom attributes to your Webflow elements.

Yet, you are not required to type or edit attributes manually. Shopyflow provides you with the pre-configured components needed to create your store, as copyable Webflow elements right in Webflow designer.

All the copyable Shopyflow Components are native editable Webflow elements. There is no layout or styling limitation on any element.

In the below image hover your mouse on the hotspots to see all the required Shopyflow attributes to build a product page like this in Webflow

Webflow designer
Custom Attributes
sf-add-to-cart="1"
Custom Attributes
sf-change-quantity="1"
Custom Attributes
sf-change-option="{Option Name}"
Custom Attributes
sf-cart-count="1"
Custom Attributes
sf-change-option="{Option Name}"
Custom Attributes
sf-product="{Product ID}"
Custom Attributes
sf-show-image="1"
Class name
Target elements
Can be placed anywhere in the site
No items found.
Attribute Name
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
No items found.
Shopyflow Quickstart

Before you start!

1.Install the code snippet

Copy the below code and paste it into the head section of your Webflow site in Site Settings section to complete Shopyflow installation.


<!-- Shopyflow CSS -->
<link rel="stylesheet" href="https://cdn.shopyflow.io/shopyflow.css"/>
             
<!-- Shopyflow Engine -->
<script defer
sf-token="4462d6b96a74754c3cdc0ebaeecb9fbe"
sf-domain="shopyflow-demo.myshopify.com"
src="https://cdn.shopyflow.io/shopyflow.js"></script>

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 Webflow Apps and add it to your site or to your workspace.

You can follow this tutorial using the Shopyflow Demo Store that is predefined in your account. Demo store is a live Shopify store, featuring a selection of random products for the purpose of testing and learning Shopflow. It's handy if you haven't yet connected your own Shopify store to your account.

To get started make sure:

  1. In Webflow Designer the Shopyflow App is opened.
  2. Shopyflow Demo Store is selected.

Creating your first Shopyflow product page

In this tutorial we are going to build a product page for a product called Pattern Travel Water Bottle from the Shopyflow Demo Store.

The product has its title, description, images, variant options, prices, discounts, stock and sku information set in Shopify. All these information is available to us inside of Shopyflow Webflow App to automatically populate the product page content and configure the Shopyflow components.

To create a working product page, we are going to use a Buy Module and a Cart Module.

Step 1 - Introducing the Buy Module

  1. Click Add New button.
  2. Select Buy Module from the list.
  3. In the opening screen select the product Pattern Water Bottle and click Copy element button.
  4. Paste the Buy Module into a container element in the Webflow Designer.

Now we have created the Buy Module for the product. All the module is made of native Webflow elements and the content is populated with the product data from the Shopify Store. You can select elements on the page to see the component information and configuration in the app.

Class names on the elements are for informative and basic styling purposes only and irrelevant to the components function. Shopyflow components are configured with custom attributes. You can view the attributes assigned to the selected Shopyflow component in Webflow App.

In the standard Buy Module we have the following components:

  1. Product Container
  2. Add to Cart Button
  3. Buy Button
  4. Product Price & Compare Price
  5. Product Title & Description
  6. Quantity Selector
  7. Option Selectors
  8. Image Gallery
  9. Sale Tag

In your Buy Module you can also feature

  1. Sub Products
  2. Custom Option Selectors & Swatches
  3. Subscription Selectors

All these components are separately available in the Shopyflow Webflow App to insert into your Buy Module with a click.

To have a deep dive into the structure and the sub-components of the Buy Module visit the component documentation page.

Step 2 - 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 into a container element in the Webflow Designer.

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.


Done! Let's publish and see it in action!

Next

Building CMS based Product Pages →

Webflow app usage

Webflow app settings

Component contents

Available methods

No items found.

Guide

contents

No items found.

State management

No items found.

Related utilities

No items found.
Can't find a solution? Join our Discord server to get an instant reply from our experts and the community.