Docs
Free ON WEBFLOW.IO DOMAINS

Recently Viewed Products

Component
Module
Recently viewed products module for showing products that the customer has recently viewed

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

Recently Viewed Products Module displays products that the customer has previously viewed during their browsing session. This feature enhances the shopping experience by allowing customers to quickly navigate back to products they've shown interest in.

This component is made up of three sub-components:

  1. Recently Viewed Products: The outer wrapper element that defines the boundaries of the module.
  2. Recently Viewed Products List: The looping container that holds the recently viewed product items.
  3. Recently Viewed Products Item: The product card template that displays each recently viewed product's information.
Class name
sf-recently-viewed-products
Target elements
Can be placed anywhere in the site
No items found.

Webflow app usage

  1. Click anywhere in the Webflow designer.
  2. Go to Shopyflow Webflow App > Store Builder and click Add new.
  3. Select Recently Viewed Products
  4. If the required metafields don’t exist in your Shopify store, the app will request permission to create them.
  5. Click Copy component.
  6. Paste the component.

Webflow app settings

Inner components

Module contents

Available methods

Recently Viewed Products List

Looping container for Recently Viewed Products Items
Attribute Name
sf-recently-viewed-products-list
Attribute Value
True or 1
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.

Read more →

Component

contents

Recently Viewed Products List

Looping Container
Looping container for Recently Viewed Products Items
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

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.

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.