Docs
Free ON WEBFLOW.IO DOMAINS

Quantity Changer

Component
Sub-module

Shopify Storefront data and cart logic is bound to your Webflow elements through Shopyflow attributes. Connecting your Webflow site to Shopify is done by adding custom attributes to your Webflow elements.

Yet, you are not required to type or edit attributes manually. Shopyflow provides you with the pre-configured components needed to create your store, as copyable Webflow elements right in Webflow designer.

All the copyable Shopyflow Components are native editable Webflow elements. There is no layout or styling limitation on any element.

In the below image hover your mouse on the hotspots to see all the required Shopyflow attributes to build a product page like this in Webflow

Webflow designer
Custom Attributes
sf-add-to-cart="1"
Custom Attributes
sf-change-quantity="1"
Custom Attributes
sf-change-option="{Option Name}"
Custom Attributes
sf-cart-count="1"
Custom Attributes
sf-change-option="{Option Name}"
Custom Attributes
sf-product="{Product ID}"
Custom Attributes
sf-show-image="1"
Attribute Name
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Product Container
>
Quantity Changer
Method

Custom Quantity Changer component is a number input that can be modified with plus and minus buttons.

Class name
Target elements
Can be placed anywhere in the site
Product Container

Webflow app usage

  1. Open the Shopyflow app and click add new
  2. Select Quantity Changer
  3. Select the Product Container
  4. Paste the Quantity Changer component

Webflow app settings

Inner components

Module contents

Available methods

Quantity Decreaser

Quantity decreaser button
Attribute Name
sf-change-quantity-dec
Attribute Value
True or 1
Method
sf-change-quantity-dec

Decreases the quantity of the products to be added to cart on click. Quantity Decreaser is a Text Block with the attribute sf-change-quantity-dec.

Read more →

Quantity Changer (Input)

Quantity changer input
Attribute Name
sf-change-quantity
Attribute Value
True or 1
Method
sf-change-quantity

Changes the quantity of the products to be added to cart. Quantity changer is a Text Field with the attribute sf-change-quantity. It is added to the Webflow designer with a wrapping Form Block that is because Text Field element is not allowed outside a Form Block natively in Webflow

Read more →

Quantity Increaser

Quantity increaser button
Attribute Name
sf-change-quantity-inc
Attribute Value
True or 1
Method
sf-change-quantity-inc

Increases the quantity of the products to be added to cart. Quantity Increaser is a Text Block with the attribute sf-change-quantity-inc

Read more →

Quantity Displayer

Selected quantity displayer
Attribute Name
sf-show-quantity
Attribute Value
True or 1
Method
sf-show-quantity

Displays the selected quantity of the products to be added to cart. Quantity Displayer is a Text Block with the attribute sf-display-quantity.

Read more →

Component

contents

Quantity Decreaser

Changer
Quantity decreaser button
Attribute Name
sf-change-quantity-dec
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Product Container
>
Quantity Decreaser

Decreases the quantity of the products to be added to cart on click. Quantity Decreaser is a Text Block with the attribute sf-change-quantity-dec.

Read more →

Webflow app usage

Webflow app settings

Quantity Changer (Input)

Changer
Quantity changer input
Attribute Name
sf-change-quantity
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Product Container
>
Quantity Changer (Input)

Changes the quantity of the products to be added to cart. Quantity changer is a Text Field with the attribute sf-change-quantity. It is added to the Webflow designer with a wrapping Form Block that is because Text Field element is not allowed outside a Form Block natively in Webflow

Read more →

Webflow app usage

  1. In the Webflow designer select a Text Field input element
  2. Make sure the element is inside of a Product Container component
  3. Open the Shopyflow app and click Convert
  4. In the list find and click Quantity Changer

Webflow app settings

Quantity Increaser

Changer
Quantity increaser button
Attribute Name
sf-change-quantity-inc
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Product Container
>
Quantity Increaser

Increases the quantity of the products to be added to cart. Quantity Increaser is a Text Block with the attribute sf-change-quantity-inc

Read more →

Webflow app usage

Webflow app settings

Quantity Displayer

Changer
Selected quantity displayer
Attribute Name
sf-show-quantity
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Product Container
>
Quantity Displayer

Displays the selected quantity of the products to be added to cart. Quantity Displayer is a Text Block with the attribute sf-display-quantity.

Read more →

Webflow app usage

Webflow app settings

State management

No items found.

Related Utilities

No items found.
Can't find a solution? Join our Discord server to get an instant reply from our experts and the community.