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 Count Displayer

Cart item count displayer.
Attribute Name
sf-cart-count
Attribute Value
True or 1

Order Discount Amount

Order discount item amount displayer.
Attribute Name
sf-show-order-discount-amount
Attribute Value
True or 1

Empty Cart State

Customise the empty state of the cart
Attribute Name
sf-cart-empty
Attribute Value
True or 1

Cart pop-up opened state

Customise the open state of the Cart Popup
Attribute Name
sf-cart-opened
Attribute Value
True or 1

Cart Popup

Dynamic Cart Popup that listens cart events.
Attribute Name
sf-cart-popup
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