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

Klaviyo Integration

Klaviyo Integration

Guide

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.
Klaviyo Integration

Klaviyo helps e-commerce businesses send personalized and targeted email campaigns that drive sales and build customer loyalty. It integrates smoothly with Shopify, making it easier to automate email marketing and create meaningful customer connections.

IMPORTANT: Available only in Shopyflow version 1.0.3 and above. Make sure you update your Shopyflow version both in Webflow and in Shopyflow Dashboard.


This guide assumes you have added your Klaviyo tracking code to your Webflow site. If you haven't done so, please follow this guide to find out how to get your Klaviyo code snippet.

After adding the Klaviyo code snippet to your Webflow site, you can enable Klaviyo in Shopyflow by adding klaviyo="true" attribute to your existing Shopyflow code snippet as shown below.


<!-- Shopyflow CSS -->
<link rel="stylesheet" href="https://cdn.shopyflow.io/[VERSION]/shopyflow.css"/>

<!-- Shopyflow Engine -->
<script defer
sf-token="[STOREFRONT API KEY]"
sf-domain="[SHOPIFY STORE DOMAIN]"
src="https://cdn.shopyflow.io/[VERSION]/shopyflow.js"
klaviyo="true"></script>

Do NOT add a second Shopyflow code snippet to your Webflow site or use an example code snippet (like the one above) directly. Update your existing Shopyflow code snippet instead.

Once the code is updated and the site is published, follow these steps to complete your setup:

① Go to Klaviyo Dashboard to create a private API key following these steps:

  • Click on your profile name at the left bottom and go to Settings.
  • In Account tab click API keys and click on Create Private API Key button.
  • In the API scopes, choose full access for Profiles, Lists and Subscriptions.
  • Click create and copy your API key in the next page.

② Go to Shopyflow Dashboard, enable advanced tracking and add your private Klaviyo API Key you created in the previous step to your store settings as shown below:

      

③ Add a Klaviyo form to your Webflow site or use the copyable Shopflow Klaviyo Form. If you are using the Shopyflow form, select the form submit button in Webflow Designer and change the sf-klaviyo-list-id attribute's value to the Klaviyo list ID you would like to subscribe your users to.

④ Finally we need to enable single-opt in in the Klaviyo list settings. If this is not set up, you can not add your customers to any Klaviyo list.

  • Go to your Klaviyo Dashboard > List & Segments
  • Click on the list you want to use.
  • In Settings tab click Consent and choose single-opt in as shown below.

Click here to learn more about the Klaviyo lists.

Klaviyo tracking can start only after a customer explicitly gives consent. Consent is given automatically if you use an email capture form. Moreover you can get consent using the consent checkbox in Shopify checkout or via the checkbox in Customer Account Sign Up Form.

Once your setup is complete, Shopyflow will start tracking the following Klaviyo e-commerce events:

  • View Item
  • Add to Cart
  • Remove from Cart
  • Begin Checkout (via Shopify in checkout)
  • Complete Purchase (via Shopify in checkout)

Once customer gives consent and Shopyflow starts tracking, you will be able to create Klaviyo flows via your Klaviyo dashboard.

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.