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

Related Products Module

Related Products Module

Component
Module
Related products module for showing related products of a 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"

Related Products module lets you show related products of a selected product. The related products are configured in Shopify in the product settings through metafields.

It offers an advanced way of showing related products as by using variants. This means you can display a specific variant (e.g. Blue/Medium) of a product as a related product and allow quick add to cart.

This component is made up of three sub-components:

  1. Related Products Container: Limits the borders of the module as an outer wrapper element.
  2. Related Products List: The looping container of the related product items.
  3. Related Products Item: Related product card which is populated dynamically with Shopify data on page load.
IMPORTANT: Available only in Shopyflow version 1.0.6 and above. Click here to learn how to upgrade your Shopyflow version.

Setting up the module

Follow the below steps to configure your Related Products module.

① Create the metafield in Shopify

You can skip this step if you already created the required metafield Shopyflow Related Products.

  1. Choose a product and go to its settings in Shopify and scroll down to product metafields.
  2. Click View All.
  3. Click View definitions on the top right corner.
  4. Click Add definition button on the top right corner.
  5. Give your metafield the following name:
    Shopyflow Related Products
  6. Remove anything that's written in the Namespace and key field and enter the following value:
    shopyflow--recommendation.related_products
  7. Click Select type and choose Product variant from the list. Choosing product variant as type will allow you pick a specific variant of a product as a related product.
  8. Click List of product variants to allow choosing multiple related product variants.
  9. Click Save.
  10. Make sure the newly created metafield is pinned.

② Choose related products (variants)

  1. Choose one product and go to its settings in Shopify and scroll down to product metafields section.
  2. Click on the Shopyflow Related Products metafield.
  3. Choose the variants that you want to use as related products.
  4. Save the product.

③ Add the Related Products Module to your page

  1. Navigate to this link and copy the element.
  2. Go to Webflow Designer and paste the element on the page.
  3. Select the outermost element of the pasted element (Related Products Container)
    • with CMS: Connect the sf-related-products attribute value to the product ID field in the CMS.
    • without CMS: Enter a product ID manually as attribute value. e.g. sf-related-products="9848780620079"
  4. Publish your site.

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

Webflow app usage

Webflow app settings

Component contents

Module contents

Available methods

Related Products Container

Related Products Module wrapping component
Attribute Name
sf-related-products
Attribute Value
True or 1
{Shopify Product ID}

Contains the Related Products Module components. It is the outermost element of the module. Related Products Container is a Div Block with the sf-related-products attribute.

Contains the Related Products Module components. It is the outermost element of the module. Related Products Container is a Div Block with the sf-related-products attribute.

Read more →

Related Products List

Looping container for Related Products Items
Attribute Name
sf-related-products-list
Attribute Value
True or 1

Contains the list of the Related Products Items. Related Products List is a Div Block with the sf-related-products-list attribute. By default it will show 3 search result items at a time. You can use limiter utility attribute to show any number of related products in your list (as long as they are set in Shopify).

Contains the list of the Related Products Items. Related Products List is a Div Block with the sf-related-products-list attribute. By default it will show 3 search result items at a time. You can use limiter utility attribute to show any number of related products in your list (as long as they are set in Shopify).

Read more →

Related Products Item

Related products item
Attribute Name
sf-related-products-item
Attribute Value
True or 1

Contains the product information for each related product item. Related Products Item is a Div Block with the attribute sf-related-products-item.

Shopyflow requires you to have at least one Related Products Item component including the children components to be used as a template. The Related Products Item template is cloned and iterated for all the related products and appended into Related Products List.

Contains the product information for each related product item. Related Products Item is a Div Block with the attribute sf-related-products-item.

Shopyflow requires you to have at least one Related Products Item component including the children components to be used as a template. The Related Products Item template is cloned and iterated for all the related products and appended into Related Products List.

Read more →

Component

contents

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.