Skip to product information
1 of 1
Published:2024.10.12

[Dawn] Example of settings to display the browsing history section in the Shopify theme "Rise/Dawn"

[Dawn] Example of settings to display the browsing history section in the Shopify theme "Rise/Dawn"

Applications

  • Collection information management and editing

How to implement

  • HTML/CSS
View full details

The Shopify theme "Dawn/Rise" doesn't include a product browsing history by default, so this is an example of how to implement a browsing history section using the Featured Collection section, with js localStorage and liuid cart.attributes. Due to liquid restrictions, a maximum of 20 items can be displayed.


Example of settings to display the browsing history section in the Shopify theme "Rise/Dawn"


[(For the Rise/Dawn theme) Setup method ①] Create a new section and duplicate the contents of the featured collection.


[(For the Rise/Dawn theme) Setting method ②] Modify the contents of sections/recently-viewed-collection.liquid


[(For the Rise/Dawn theme) Setup method 3] Add the code just before layout/theme.liquid and add a section in the theme editor


[Additional Information] If you have set up a "Recently Viewed Products" section using a customized browsing history section in the Shopify theme "Rise/Dawn," the history will be included in the "Additional Details" section when you make a purchase, so here's an example of how to set it up if you don't want it to be displayed.


After making a purchase (all items are ¥0), you will be able to view the sample code.

If you have already made a purchase, please login here.

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Modify the contents of sections/recently-viewed-collection.liquid: ①

Modify the contents of sections/recently-viewed-collection.liquid: ②

Related Post