Docs

Shopyflow Components

Shopify Storefront API data and cart logic is bound to your Webflow elements through Shopyflow attributes. Any Webflow element that has a Shopyflow attribute is called a Shopyflow Component. In the list below you can find all the available Shopyflow Components.

ComPONENT REFERENCE

Buy Module

Sub Product

Sub-product identifying container.
Attribute Name
sf-product + sf-sub-product
Attribute Value
True or 1
1 or True
required

Product Container

Product identifying container
Attribute Name
sf-product
Attribute Value
True or 1
{Shopify Product ID}

Add to Cart Button

Add to cart button
Attribute Name
sf-add-to-cart
Attribute Value
True or 1

Option Selector(Select input)

Variant option selector input.
Attribute Name
sf-change-option
Attribute Value
True or 1
{Variant Option Name}

Custom Option Wrapper

Variant option selector container.
Attribute Name
sf-change-option
Attribute Value
True or 1
{Variant Option Name}

Cart Module

Cart Popup Opener

Turns the Cart Popup visible on click.
Attribute Name
sf-cart-open
Attribute Value
True or 1

Cart Popup Closer

Turns the Cart Popup hidden on click.
Attribute Name
sf-cart-close
Attribute Value
True or 1

Open Cart

Closes the Cart Popup by adding the sf-cart-opened combo class.
Attribute Name
window.Shopyflow.openCart()
Attribute Value
True or 1

Cart Note

Cart note changer input
Attribute Name
sf-cart-note
Attribute Value
True or 1

Cart Tax

Cart tax displayer
Attribute Name
sf-cart-tax
Attribute Value
True or 1

Product Listing Module

Product List Container

Product listing module wrapping element.
Attribute Name
sf-collection
Attribute Value
True or 1

Taxonomy Filter Wrapper

Taxonomy filters container
Attribute Name
sf-filter
Attribute Value
True or 1
collections
product-type
vendor
tag

Taxonomy Filter Value

Filter changing button
Attribute Name
sf-filter-value
Attribute Value
True or 1
{Taxonomy Value}

Product List

The product list that is effected by filter and sort components
Attribute Name
sf-list
Attribute Value
True or 1

Product Listing Module

Attribute Name
Attribute Value
True or 1

Customer Accounts

Customer Province

Customer Province
Attribute Name
sf-province
Attribute Value
True or 1

Customer Country

Customer Country
Attribute Name
sf-country
Attribute Value
True or 1

Customer Address Form Container

Customer Address creation form container
Attribute Name
sf-address-form
Attribute Value
True or 1
new
update

Address to update

Selector of the address to be updated.
Attribute Name
sf-address-select
Attribute Value
True or 1

Customer Address Remover

Address remover button
Attribute Name
sf-address-delete
Attribute Value
True or 1

Other Components

Currency Selector Module

Currency switcher as a Webflow Dropdown element.
Attribute Name
Attribute Value
True or 1

Currency Selector

Store currency selector input.
Attribute Name
sf-change-currency
Attribute Value
True or 1

Currency Selector Value

Store currency selector button.
Attribute Name
sf-currency-value
Attribute Value
True or 1
{Currency Value}

Currency Selector Wrapper

Store currency selector container.
Attribute Name
sf-change-currency
Attribute Value
True or 1

Currency Displayer

Store currency displayer
Attribute Name
sf-show-currency-selection
Attribute Value
True or 1