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

Out of stock state

Customise the out of stock state of the Add to Cart Button
Attribute Name
sf-out-of-stock
Attribute Value
True or 1

Stock exceeded state

Customise the exceeding stock state of the Add to Cart Button
Attribute Name
sf-stock-exceeded
Attribute Value
True or 1

Sub Product Added State

Customise the Sub-product components look when it’s staged.
Attribute Name
sf-sub-product-added
Attribute Value
True or 1

Async visibility

Hide the component until Shopyflow finishes loading.
Attribute Name
sf-await
Attribute Value
True or 1

Active Thumbnail state

Customise the look of the active Thumbnail
Attribute Name
sf-active-thumbnail
Attribute Value
True or 1

Cart Module

Cart Item Remover

Cart item remover button.
Attribute Name
sf-cart-item-remove
Attribute Value
True or 1

Cart Item Unit Price

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

Cart Item Discount Displayer

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

Cart Item Discount Code Displayer

Cart Item Discount Code Displayer
Attribute Name
sf-show-discount-code
Attribute Value
True or 1

Cart Subtotal

Cart total displayer
Attribute Name
sf-cart-subtotal
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

Login Form

Attribute Name
Attribute Value
True or 1

Login Form Container

Login form container.
Attribute Name
sf-login-form
Attribute Value
True or 1
1 or True

Logout Link

User log out button.
Attribute Name
sf-logout
Attribute Value
True or 1

Login Email Field

Email collecting field
Attribute Name
sf-email
Attribute Value
True or 1

Login Password Field

Password collecting field
Attribute Name
sf-password
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