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.

Custom Option Selector

The sf-change-option attribute can be utilised to design custom option changers, such as toggle pills or color swatches.

To create Custom Option Selectors, the sf-change-option attribute is added to the wrapper element of a group of elements withsf-option-value attribute.

Webflow designer
Custom Attributes
sf-change-option="{Option Name}"
Custom Attributes
sf-option-value="{Option Name}"

Custom Option Selector Wrapper

Attribute Name
sf-change-option
Attribute Value
{Option Name}
Nesting Rule
>
sf-change-option
Webflow designer
Custom Attributes
sf-change-option="color"

To create a Custom Option Selector from scratch

  • Add a Div Block anywhere inside of the Product Container.
  • Give it the sf-change-option attribute with the {Option Name} as value.

We have created the wrapper element that identifies the option group we're going to modify using this custom option selector.

{Option Name}

Option Name represents the different group of variations available for a specific product. Such as Color, Size, Material etc.

You can locate the available options for your product in your Shopify Product Settings page.

Webflow designer

You can locate all the available Options for any of your products in your Shopyflow Dashboard.

  • Login to Shopyflow.
  • In the Stores screen find the Shopify Store and click the Build button.
  • In the next screen select the product from the list.
  • Scroll down to Custom Option Selector.
  • Select the Option Group that you are building a selector for from the dropdown on the right hand side
Webflow designer

6. Depending on your preference you can copy the Option Name or the whole component with the attributes already set on them.

How to add an active state to the Option Changer Button

Custom Option Changer Buttons

Attribute Name
sf-option-value
Attribute Value
{Option Value}
Nesting Rule
>
>
sf-option-value
Webflow designer
Custom Attributes
sf-product="1"

The second part of the Custom Option Selector is the Custom Option Changer Buttons.

  • Create a Div Block for each Option Value available for your product. Inside of the Custom Option Selector Wrapper element.
  • Add sf-option-value to each button with the values set to {Option Value}

{Option Value}

Option Value represents the different variations available in a group of options for a specific product. Such as Black, White, Yellow as Color Options etc.

You can locate the available options for your product in your Shopify Product Settings page in the variant sections.

Webflow designer
How to create Custom Option Changer Button

State Management

Active Option State

Shopyflow offers a streamlined process for managing the look of the Custom Option Selectors when their state changes from selected to unselected.

When a Custom Option Selector is clicked, it gets a class called sf-active. This is how the active state of the Custom Option Selector can be styled in Webflow.

  • Select one of the Custom Option Selectors
  • In addition to the existing class, add sf-active combo class.
  • Change the styling of the Custom Option Selector for the active state look.
  • Remove the sf-active class and add a transition to the base class for a smooth animation between states
  • If you have nested elements inside of the Custom Option Selector you can repeat the step 2, 3, 4 for all the items. All the elements placed inside of Custom Option Selector are also added sf-active class.
How to add an active state to the Option Changer Button