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

Cart Popup

Cart Popup

Component
Utility
Dynamic Cart Popup that listens cart events.

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
sf-cart-popup
Target elements
Can be placed anywhere in the site
No items found.
Attribute Name
sf-cart-popup
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
No items found.
Cart Popup

Containing the Cart component and dynamically becomes visible when a product is successfully added to the cart. It is particularly useful for displaying Cart summaries. Cart Popup is a Div Block with the sf-cart-popup attribute.

The component and all its children elements are given sf-cart-opened class which turns the Cart Popup component visible when a product is added to cart or the Cart Popup Opener component is clicked. sf-cart-opened class is removed when the Cart Popup Closer component is clicked.

You can easily add a Cart Popup to your page using the Shopyflow Webflow App.

Managing the Cart Popup

Once you introduced a Cart Popup to the page you end up with Cart Module placed in a fixed positioned Div Block. 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.

Webflow app usage

Webflow app settings

Component contents

Available methods

No items found.

Component

contents

No items found.

State management

Cart pop-up opened state

Customise the open state of the Cart Popup

Class name
sf-cart-opened

Once you added a Cart component to your page with the With pop-up option selected you will have an invisible element with the class called Cart Popup. Cart Popup component’s CSS "visibility" property is set to "hidden" by default. It turns visible with the addition of the sf-cart-opened class whenever a new product is added to the cart. To have the Cart Popup visible add it the sf-cart-opened class as a combo class.

sf-cart-opened class can be used as a combo class to style the open state of the Cart Popup component and create a transition between 2 states in Webflow designer. The class is added to all the elements that are contained inside the Cart Popup component.

Related utilities

Cart Popup Opener

Attribute name
sf-cart-open

Opens the Cart Popup on click by adding the sf-cart-opened class to the Cart Popup and all its children elements.

Read more →

Cart Popup Closer

Attribute name
sf-cart-close

Closes the Cart Popup on click by removing the sf-cart-opened class from the Cart Popup and all its children elements.

Read more →
Can't find a solution? Join our Discord server to get an instant reply from our experts and the community.