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
Related Products Module lets you show related products of a selected product. The related products are configured in Shopify in the product settings through metafields.
Related Products Module offers an advanced way of showing related products by using variants. This means you can display a specific variant (e.g. Blue/Medium) of a product as a related product and allow quick add to cart.
This component is made up of three sub-components:
Follow the below steps to configure your Related Products module.
You can skip this step if you already created the required metafield Shopyflow Related Products.
If you are using a product page path other than "products", you need to add the product-page-path attribute to your Shopyflow Engine code snippet.
For example if your product page path is "articles", you need to add product-page-path="articles" attribute to your existing Shopyflow Engine code snippet as shown below.
Do NOT add a second Shopyflow code snippet to your Webflow site or use an example code snippet (like the one above) directly. Update your existing Shopyflow code snippet instead.
Contains the Related Products Module components. It is the outermost element of the module. Related Products Container is a Div Block with the sf-related-products attribute.
Contains the list of the Related Products Items. Related Products List is a Div Block with the sf-related-products-list attribute. By default it will show 3 search result items at a time. You can use limiter utility attribute to show any number of related products in your list (as long as they are set in Shopify).
Contains the product information for each related product item. Related Products Item is a Div Block with the attribute sf-related-products-item.
Shopyflow requires you to have at least one Related Products Item component including the children components to be used as a template. The Related Products Item template is cloned and iterated for all the related products and appended into Related Products List.