Docs
Free ON WEBFLOW.IO DOMAINS

Recently Viewed Products List

Component
Looping Container
Looping container for Recently Viewed Products Items

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-recently-viewed-products-list
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Recently Viewed Products
>
Recently Viewed Products List
Method
sf-recently-viewed-products-list

Contains the list of the Recently Viewed Products Items. Recently Viewed Products List is a Div Block with the sf-recently-viewed-list attribute. By default, it displays as many products as there are Recently Viewed Product Item elements in the component. However you can use limiter utility attribute to show any number of recently viewed products in your list.

Class name
sf-recently-viewed-products-list
Target elements
Can be placed anywhere in the site
Recently Viewed Products

Webflow app usage

Webflow app settings

Inner components

Module contents

Available methods

Recently Viewed Products Item

Recently viewed product item template
Attribute Name
sf-recently-viewed-products-item
Attribute Value
True or 1
Method
sf-recently-viewed-products-item

Contains the product information for each recently viewed product item. Recently Viewed Products Item is a Div Block with the attribute sf-recently-viewed-item.

Shopyflow requires you to have at least one Recently Viewed Products Item component including the children components to be used as a template. The Recently Viewed Products Item template is cloned and iterated for all the recently viewed products and appended into Recently Viewed Products List.

Read more →

Component

contents

Recently Viewed Products Item

Loop Item
Recently viewed product item template
Attribute Name
sf-recently-viewed-products-item
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
Recently Viewed Products List
>
Recently Viewed Products Item

Contains the product information for each recently viewed product item. Recently Viewed Products Item is a Div Block with the attribute sf-recently-viewed-item.

Shopyflow requires you to have at least one Recently Viewed Products Item component including the children components to be used as a template. The Recently Viewed Products Item template is cloned and iterated for all the recently viewed products and appended into Recently Viewed Products List.

Read more →

Webflow app usage

Webflow app settings

State management

No items found.

Related Utilities

Limiter

Attribute Name
sf-limit
Attribute Value
True or 1
Number of Items

Limits the number of elements that appear in a looping-container.

For example if you add sf-limit="3" attribute to a Product Search Result List, only 3 search result items will be rendered.

Read more →
Can't find a solution? Join our Discord server to get an instant reply from our experts and the community.