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 Item

Cart Item

Component
Loop Item
Cart item container.

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"
Attribute Name
sf-cart-item
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Cart Container
>
Cart Items List
>
Cart Item

Contains the product information and cart controls for each line item in the cart. Cart item is a Div Block with the attribute sf-cart-item.

Shopyflow requires you to create a single Cart Item component including the children components to be used as a template. The Cart Item template is cloned iterated for all the line items and appended into Cart Items List.

Class name
sf-cart-item
Target elements
Can be placed anywhere in the site
Cart Container
Cart Items List

Webflow app usage

  1. Select the Cart Items List in the Webflow designer
  2. In the Shopyflow app; click Add new
  3. Find and click Cart Item to copy the component
  4. Select the Cart Items List again
  5. Paste Cart Item component

Webflow app settings

Component contents

Module contents

Available methods

Cart Item Title

Cart item product title displayer.
Attribute Name
sf-show-title
Attribute Value
True or 1

Displays the name of the line item product as set in Shopify. Cart Item Title is a Text Block element with the sf-show-title attribute. The content of the element is overriden with the Shopify name of the current line item when the cart content is fetched.

Displays the name of the line item product as set in Shopify. Cart Item Title is a Text Block element with the sf-show-title attribute. The content of the element is overriden with the Shopify name of the current line item when the cart content is fetched.

Read more →

Cart Item Image

Cart item product image displayer.
Attribute Name
sf-show-image
Attribute Value
True or 1

Displays the product image for the line item as set in Shopify. Cart Item Image is a Div Block with the attribute sf-show-image.

An Image element can as well be used as the Cart Item Image component. In the cases when the Div Block is used; the product image is dynamically set as a background image to the element on page load. Make sure the background position and the background size properties of the element is set as intended in Webflow.

Displays the product image for the line item as set in Shopify. Cart Item Image is a Div Block with the attribute sf-show-image.

An Image element can as well be used as the Cart Item Image component. In the cases when the Div Block is used; the product image is dynamically set as a background image to the element on page load. Make sure the background position and the background size properties of the element is set as intended in Webflow.

Read more →

Cart Item Unit Price

Cart item product unit price displayer.
Attribute Name
sf-show-unit-price
Attribute Value
True or 1

Displays the unit price of the line item. Excluding quantity multiplication and the discounts. Cart Item Price is a Text Block element with the sf-show-unit-price attribute.

Displays the unit price of the line item. Excluding quantity multiplication and the discounts. Cart Item Price is a Text Block element with the sf-show-unit-price attribute.

Read more →

Cart Item Total

Cart item product line total price displayer
Attribute Name
sf-show-price
Attribute Value
True or 1

Displays the total price of the line item. Including quantity multiplication and the discounts. Cart Item Total is a Text Block element with the sf-show-price attribute.

Displays the total price of the line item. Including quantity multiplication and the discounts. Cart Item Total is a Text Block element with the sf-show-price attribute.

Read more →

Cart Item Pre-discount Price

Cart item product pre-discount price displayer.
Attribute Name
sf-show-prediscount-price
Attribute Value
True or 1

Displays the total price of the line item. Excluding the discounts and including quantity multiplication. Cart Item Pre-discount Price is a Text Block element with the sf-show-prediscount-price attribute.

Displays the total price of the line item. Excluding the discounts and including quantity multiplication. Cart Item Pre-discount Price is a Text Block element with the sf-show-prediscount-price attribute.

Read more →

Cart Item Variant Option Displayer

Cart item product variant options displayer.
Attribute Name
sf-show-options
Attribute Value
True or 1

Displays selected variant options of the line item separated with ",". Cart Item Variant Options is a Text Block element with the sf-show-options attribute.

Displays selected variant options of the line item separated with ",". Cart Item Variant Options is a Text Block element with the sf-show-options attribute.

Read more →

Cart Item Quantity Changer

Cart item quantity changer input.
Attribute Name
sf-change-quantity
Attribute Value
True or 1

Changes the selected quantity of the line item. Please see Quantity Changer Component to know more about the component

Changes the selected quantity of the line item. Please see Quantity Changer Component to know more about the component

Read more →

Cart Item Remover

Cart item remover button.
Attribute Name
sf-cart-item-remove
Attribute Value
True or 1

Removes the line item from the cart on click. Cart Item Remover is a Div Block with the attribute sf-cart-item-remove.

Removes the line item from the cart on click. Cart Item Remover is a Div Block with the attribute sf-cart-item-remove.

Read more →

Cart Item Discount Displayer

Cart item discount displayer element
Attribute Name
sf-show-product-discount-title
Attribute Value
True or 1

Displays the title of the discount that is applied to the line item. Cart Item Product Discount Displayer is a Text Block with the attribute sf-show-product-discount-title.

Displays the title of the discount that is applied to the line item. Cart Item Product Discount Displayer is a Text Block with the attribute sf-show-product-discount-title.

Read more →

Cart Item Discount Code Displayer

Cart Item Discount Code Displayer
Attribute Name
sf-show-discount-code
Attribute Value
True or 1

Displays the title of the discount that is applied to the line item. Cart Item Product Discount Displayer is a Text Block with the attribute sf-show-product-discount-title.

Displays the title of the discount that is applied to the line item. Cart Item Product Discount Displayer is a Text Block with the attribute sf-show-product-discount-title.

Read more →

Component

contents

Cart Item Title

Displayer
Cart item product title displayer.
Attribute Name
sf-show-title
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Cart Container
>
Cart Items List
>
Cart Item
>
Cart Item Title

Displays the name of the line item product as set in Shopify. Cart Item Title is a Text Block element with the sf-show-title attribute. The content of the element is overriden with the Shopify name of the current line item when the cart content is fetched.

Read more →

Webflow app usage

Webflow app settings

Cart Item Image

Displayer
Cart item product image displayer.
Attribute Name
sf-show-image
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Cart Container
>
Cart Items List
>
Cart Item
>
Cart Item Image

Displays the product image for the line item as set in Shopify. Cart Item Image is a Div Block with the attribute sf-show-image.

An Image element can as well be used as the Cart Item Image component. In the cases when the Div Block is used; the product image is dynamically set as a background image to the element on page load. Make sure the background position and the background size properties of the element is set as intended in Webflow.

Read more →

Webflow app usage

Webflow app settings

Cart Item Unit Price

Displayer
Cart item product unit price displayer.
Attribute Name
sf-show-unit-price
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Cart Container
>
Cart Items List
>
Cart Item
>
Cart Item Unit Price

Displays the unit price of the line item. Excluding quantity multiplication and the discounts. Cart Item Price is a Text Block element with the sf-show-unit-price attribute.

Read more →

Webflow app usage

Webflow app settings

Cart Item Total

Displayer
Cart item product line total price displayer
Attribute Name
sf-show-price
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Cart Container
>
Cart Items List
>
Cart Item
>
Cart Item Total

Displays the total price of the line item. Including quantity multiplication and the discounts. Cart Item Total is a Text Block element with the sf-show-price attribute.

Read more →

Webflow app usage

Webflow app settings

Cart Item Pre-discount Price

Displayer
Cart item product pre-discount price displayer.
Attribute Name
sf-show-prediscount-price
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Cart Container
>
Cart Items List
>
Cart Item
>
Cart Item Pre-discount Price

Displays the total price of the line item. Excluding the discounts and including quantity multiplication. Cart Item Pre-discount Price is a Text Block element with the sf-show-prediscount-price attribute.

Read more →

Webflow app usage

Webflow app settings

Cart Item Variant Option Displayer

Displayer
Cart item product variant options displayer.
Attribute Name
sf-show-options
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Cart Container
>
Cart Items List
>
Cart Item
>
Cart Item Variant Option Displayer

Displays selected variant options of the line item separated with ",". Cart Item Variant Options is a Text Block element with the sf-show-options attribute.

Read more →

Webflow app usage

Webflow app settings

Cart Item Quantity Changer

Action
Cart item quantity changer input.
Attribute Name
sf-change-quantity
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Cart Container
>
Cart Items List
>
Cart Item
>
Cart Item Quantity Changer

Changes the selected quantity of the line item. Please see Quantity Changer Component to know more about the component

Read more →

Webflow app usage

Webflow app settings

Cart Item Remover

Action
Cart item remover button.
Attribute Name
sf-cart-item-remove
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Cart Container
>
Cart Items List
>
Cart Item
>
Cart Item Remover

Removes the line item from the cart on click. Cart Item Remover is a Div Block with the attribute sf-cart-item-remove.

Read more →

Webflow app usage

  1. Select the Cart Item in the Webflow designer
  2. In the Shopyflow app; click Add new
  3. Find and click Cart Item Remover to copy the component
  4. Select the Cart Item again
  5. Paste Cart Item Remover component

Webflow app settings

Cart Item Discount Displayer

Displayer
Cart item discount displayer element
Attribute Name
sf-show-product-discount-title
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Cart Container
>
Cart Items List
>
Cart Item
>
Cart Item Discount Displayer

Displays the title of the discount that is applied to the line item. Cart Item Product Discount Displayer is a Text Block with the attribute sf-show-product-discount-title.

Read more →

Webflow app usage

Webflow app settings

Cart Item Discount Code Displayer

Displayer
Cart Item Discount Code Displayer
Attribute Name
sf-show-discount-code
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Cart Container
>
Cart Items List
>
Cart Item
>
Cart Item Discount Code Displayer

Displays the title of the discount that is applied to the line item. Cart Item Product Discount Displayer is a Text Block with the attribute sf-show-product-discount-title.

Read more →

Webflow app usage

Webflow app settings

State management

No items found.

Related Utilities

Product Link

Attribute Name
sf-product-link
Attribute Value
True or 1

Product Link links any element to a product page.

For example if you add the sf-product-link attribute to a link element on or inside a Cart Item, it will convert the element to a link that goes to that product's detail page. Similarly, if you add it to a Product Search Result Item, it will link the search result element to that product's detail page.

If you are using a product page path other than "Products" do the following !

If you are using a product page path other than "products", you need to add the product-page-path attribute to your Shopyflow Engine code snippet.

For example if your product page path is "articles", you need to add product-page-path="articles" attribute to your existing Shopyflow Engine 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"
product-page-path="articles"></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.

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