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

Product Search

Product Search

Component
Module
Input element to search products in a Shopify store

Product Search component is a component that lets your customers search for products in your Shopify catalog. The search results are generated as the customer types. Search results can be customized by using the Shopify Search & Discovery app.

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


Shopyflow assumes your product page template path is "products" which is your product CMS collection slug. If this applies to your store too, your setup is complete you can skip the next section.

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.

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.
Product Search

Webflow app usage

  1. Open the Shopyflow app and click Add new
  2. Select Product Search
  3. Select the Product Container
  4. Paste the Product Search component

Webflow app settings

Component contents

Module contents

Available methods

Search Modal Container

Product Search Module wrapping component
Attribute Name
sf-product-search
Attribute Value
True or 1

Contains the search module components. It is the outermost element of the Search Module. Search Modal Container is a Div Block with the sf-cart attribute.

Contains the search module components. It is the outermost element of the Search Module. Search Modal Container is a Div Block with the sf-cart attribute.

Read more →

Product Search Input

Product name collecting input
Attribute Name
sf-search-input
Attribute Value
True or 1

Accepts product names from the customer. Product Search Input is a Text Field with the attribute sf-search-input.

Accepts product names from the customer. Product Search Input is a Text Field with the attribute sf-search-input.

Read more →

Product Search Result List

Looping container for Product Search Result Items
Attribute Name
sf-search-result-list
Attribute Value
True or 1

Contains the list of the Search Result Items currently added to cart. Search Results ms List is a Div Block with the sf-cart-list attribute. By default it will show 5 search result items at a time. You can use limiter utility attribute to show any number of search results in your list.

Contains the list of the Search Result Items currently added to cart. Search Results ms List is a Div Block with the sf-cart-list attribute. By default it will show 5 search result items at a time. You can use limiter utility attribute to show any number of search results in your list.

Read more →

Product Search Result Item

Product search result item container
Attribute Name
sf-search-result-item
Attribute Value
True or 1

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.

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.

Read more →

Component

contents

Search Modal Container

Container
Product Search Module wrapping component
Attribute Name
sf-product-search
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
No items found.
Search Modal Container

Contains the search module components. It is the outermost element of the Search Module. Search Modal Container is a Div Block with the sf-cart attribute.

Read more →

Webflow app usage

Webflow app settings

Product Search Input

Form Field
Product name collecting input
Attribute Name
sf-search-input
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Search Modal Container
>
Product Search Input

Accepts product names from the customer. Product Search Input is a Text Field with the attribute sf-search-input.

Read more →

Webflow app usage

Webflow app settings

Product Search Result List

Looping Container
Looping container for Product Search Result Items
Attribute Name
sf-search-result-list
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Search Modal Container
>
Product Search Result List

Contains the list of the Search Result Items currently added to cart. Search Results ms List is a Div Block with the sf-cart-list attribute. By default it will show 5 search result items at a time. You can use limiter utility attribute to show any number of search results in your list.

Read more →

Webflow app usage

Webflow app settings

Product Search Result Item

Loop Item
Product search result item container
Attribute Name
sf-search-result-item
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Search Modal Container
>
Product Search Result List
>
Product Search Result 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.

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.

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