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 Tips and Webflow Tricks

Shopyflow Tips and Webflow Tricks

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 Tips and Webflow Tricks

① Disable add to cart button when product is out of stock

Select your Add to Cart Button and give it sf-out-of-stock combo class.

Scroll down in the style panel and set the mouse events to none. Remove the sf-out-of-stock class and publish.

② Give an element custom style when product is out of stock

Add the following custom css to your page (head section) to give an element inside the product container custom style when the product is out of stock.

In this example we are selecting an element that has the stock-indicator class and setting its background color to red. Change the selector to fit to your use-case.

<style>
[sf-product][sf-out-of-stock] .stock-indicator {
  background-color: red;
}
</style>

③ Sliding cart opening animation

Follow these steps to create a sliding cart opening animation.

  1. Select your Cart Container inside the Cart Popup. Fix it to the right side of the page and set its height to 100%.
  2. Add the following styles to the Cart Container:
    transform: translateX(100%)
    opacity: 0
    transitions: transform (200ms)
  3. Add sf-cart-opened combo class to both your Cart Popup and Cart Container elements.
  4. Select the Cart Container and add the following styles while sf-cart-opened combo class is added:
    transform: translateX(0%)
    opacity: 1
  5. Remove the sf-cart-opened combo class from both elements and publish the site.

④ Hide an element when user is logged out

Add the following custom css to your page (head section) to hide an element when user is logged out.

In this example we are selecting an element that has the element-to-hide class and hiding it when user is logged out. Change the selector to fit to your use-case.

<style>
body[_sf-logged-out] .element-to-hide {
    display: none;
}
</style>

⑤ Hide an element based on selected country

Add the following custom css to your page (head section) to hide an element when a certain country is selected using the Currency Selector Component.

Imagine a scenario where you have a product description with two tables containing metric and imperial units. You probably want to show the imperial units only to US customers and the metric units to Australian and Canadian customers. To achieve that you can use the custom CSS below.

In the example,

  1. We are hiding an element that has metric-table class when United States is selected as country.
  2. We are hiding an element that has imperial-table class when Australia or Canada is selected as country.

Change the class selectors and the countries to fit to your use-case. You can find the complete country list here.

<style>
body[_sf-country="US"] .metric-table {
    display: none;
}

body[_sf-country="AU"] .imperial-table,
body[_sf-country="CA"] .imperial-table {
    display: none;
}
</style>

Webflow app usage

Webflow app settings

Component contents

Available methods

No items found.

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.