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

How to display Shopify metafields in Webflow

How to display Shopify metafields in Webflow

Using metafields you can customize your Shopify store by displaying additional information that's otherwise not included in the Shopify. You can for example show the size of the wheel of a bike you are selling or you can display the publication date of the book you are showcasing. Shopyflow offers a simple way to show your Shopify metafields in Webflow.

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 currently supports the following product metafields:

  • Single line text
  • Multi-line text
  • Integer
  • Decimal
  • Date
  • Date and time
  • Dimension
  • Volume
  • Weight
  • True or false
  • Color
  • URL
  • Money
  • Link

You can check out this Shopify guide to find out about how you can use metafields in your own store.

You can learn more about Shopyflow metafield attributes here.

IMPORTANT: Metafields are not synced to Webflow CMS. They are dynamically loaded from Shopify on page load.

① Displaying product metafields in Webflow

Shopyflow displays your product metafields by using the sf-show-metafield="[METAFIELD KEY]" attribute. Give this attribute to a text element inside a product container.

① In your product settings in Shopify, click on the metafield name to see its definition.

② In the page that opens, note down the namespace and the key values of your metafield. You will use these values to build your Shopyflow attribute which will display the metafield in Webflow. Shopyflow assumes your metafield's namespace is "custom". If you are using any other namespace, make sure to checkout the next sections in this guide.

③ We can display the Wheel size metafield using sf-show-metafield="wheel_size" attribute. When building your Shopyflow attribute, make sure to to use the key of the metafield (wheel_size). Do not use its name (Wheel size). Please refer to the previous image if necessary.

④ When using metafields (especially in product CMS template page), it's advised to wrap your metafield and its label with a div that has sf-metafield-wrapper="1" attribute. This will hide the content of the metafield wrapper when the product on the page doesn't have that metafield.

② Displaying variant metafields in Webflow

Shopyflow displays your variant metafields by using the sf-show-variant-metafield="[METAFIELD KEY]" attribute. Give this attribute to a text element inside a product container.

③ Using a metafield namespace other than "custom"

If you are using a namespace other than "custom", you will also need to add sf-change-metafield-namespace="[NAMESPACE]" attribute to your metafield displayer element in Webflow.

As seen in the image below, if the namespace of your metafield is "my_namespace" you will need to add sf-change-metafield-namespace="my_namespace" attribute to the same metafield displayer element.

④ Creating a new product metafield

  1. In your product settings in Shopify, scroll down to the metafields section and click on View All.
  2. Click on View Definition > Add Definition using the buttons on the top right.
  3. Namespace is by default set to "custom". Shopyflow also assumes you are using "custom" as the namespace. If you are using another namespace make sure to check out the previous section in this guide.
  4. Give your metafield a name and see how it automatically creates a key for you. You will use this key for the Shopyflow attribute in Webflow.
  5. Add a description.
  6. Select a metafield type. Make sure to pick a metafield that's supported by Shopyflow. See the list above for supported metafields.
  7. Click save.
  8. Go back to your product settings page in Shopify and assign a value to the newly created metafield and save your product.

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.
How to display Shopify metafields in Webflow

Webflow app usage

Webflow app settings

Component contents

Module 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.