Skip to content

paperpiedpiper/shopifyInterview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Great task from a recent Shopify dev role interview.


Initial situation:

A Shopify store's e-commerce page, on its homepage currently displays the following Shopify section featuring a chosen set of collections using a tabbed carousel layout

Screenshot 2024-05-01 144944


Challenge?

If applicable, replace the tabbed collections carousel with a single 'collection' that displays the product feature of the last 4 product pages accessed in this shop

Screenshot 2024-05-01 145023


Solution!

A .liquid snippet to cache the full JSON description of each product that had its page visited by the user and store it using the browser's localStorage API

Screenshot 2024-05-01 145954

About

Interview Test Task in .liquid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published