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 Container

Cart wrapping container.
Attribute Name
sf-cart
Attribute Value
True or 1

Cart Items List

Looping container for Cart Items.
Attribute Name
sf-cart-list
Attribute Value
True or 1

Cart Module

Attribute Name
Attribute Value
True or 1

Cart Item

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

Cart Item Title

Cart item product title displayer.
Attribute Name
sf-show-title
Attribute Value
True or 1

Product Listing Module

Filter Reset Button (Option)

Option filter selection reset button
Attribute Name
sf-filter-reset
Attribute Value
True or 1

Sort Dropdown

Sort drowpdown for product lists
Attribute Name
sf-sort
Attribute Value
True or 1

Customer Accounts

Street Address2 Field

Customer street address2 collecting field
Attribute Name
sf-address2
Attribute Value
True or 1

Street Address Field

Customer street address1 collecting field
Attribute Name
sf-address1
Attribute Value
True or 1

ZIP Code Field

Customer ZIP Code collecting field
Attribute Name
sf-zip
Attribute Value
True or 1

City Field

Customer City collecting field
Attribute Name
sf-city
Attribute Value
True or 1

Province Field

Customer Province collecting field
Attribute Name
sf-province
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