Docs

What's next

You have completed setting up the Buy Module. Next step is to launch your store by following the launch checklist.

Review the launch checklist →
Free ON WEBFLOW.IO DOMAINS

Wholesale Volume Tier Discount Displayer

Component
Displayer
Displays the tier's discount as a percentage or as the per-unit amount saved versus the compare price.

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
sf-wholesale-volume-show-discount
Attribute Value
True or 1
amount
percentage
Nesting Rule
Can be placed anywhere in the site
Wholesale Volume Pricing Item
>
Wholesale Volume Tier Discount Displayer
Method
sf-wholesale-volume-show-discount

Displays the tier's discount as a percentage or as the per-unit amount saved versus the compare price.

Wholesale Volume Tier Discount Displayer is a Text Block with the sf-wholesale-volume-show-discount attribute, placed inside a Wholesale Volume Pricing Item. On render its content is overridden with the discount of the row's tier. The attribute value picks the display mode.

Class name
sf-wholesale-volume-show-discount
Target elements
Can be placed anywhere in the site
Wholesale Volume Pricing Item

Webflow app usage

The Store Builder Wholesale Volume Pricing component includes this displayer in its row template, so no separate step is needed when you use it.

To add it manually:

  1. Select the Wholesale Volume Pricing Item row in the Webflow Designer
  2. Add a Text Block inside the row
  3. Add the sf-wholesale-volume-show-discount attribute to it in the element settings panel
  4. Set the attribute value to amount to show the money saved, or to percentage (or leave it empty) for the percentage

Webflow app settings

Display mode

percentage (default): shows the tier's discount percentage prefixed with a minus sign, for example -15%. Used when the attribute value is percentage or empty.

amount: shows the per-unit money saved versus the compare-at price, formatted with the store's currency formatting. The displayer hides itself when there is no saving (no compare-at price or the tier price is not below it).

Inner components

Module contents

Available methods

No items found.

Component

contents

No items found.

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.