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 Application Submit Button

Component
Action
Button that submits the wholesale application form through Storesynk with validity checks, a loading state and Webflow's waiting text.

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-submit
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Wholesale Application Form
>
Wholesale Application Submit Button
Method
sf-submit

Button that submits the wholesale application form through Storesynk with validity checks, a loading state and Webflow's waiting text.

Wholesale Application Submit Button is an Action with the sf-submit attribute. Add it to the submit button or submit input inside the Wholesale Application Form wrapper. On click the module checks the form's validity (invalid forms show the browser's validation messages and do not submit), sends the application to the Storesynk app and then shows Webflow's native success or error block based on the result. Pressing Enter anywhere in the form routes through this button too.

While the request is in flight the button guards against double submits and swaps its label for Webflow's waiting text, the button's data-wait setting in the Designer. The label is restored when the request finishes.

For the general-purpose form submit component used outside the Wholesale module, see Form Submit Button.

Loading

Class Name: sf-loading

Applied To: The submit button

Added while the application request is in flight and removed when it completes. The class is unstyled by default, so style it as you like (for example lower the opacity or show a spinner). While present, further clicks are ignored.

Class name
sf-submit
Target elements
Can be placed anywhere in the site
Wholesale Application Form

Webflow app usage

  1. Add the Wholesale Application Form component from the Store Builder in the Storesynk Webflow App. It includes this button already configured.
  2. To wire a button manually, select the Form Block's submit button and add the sf-submit attribute.
  3. Optionally set the button's Waiting text in the Designer. Storesynk shows it while the application is submitting.

Webflow app settings

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.