use-shopping-cart logouse-shopping-cart

lastClicked

This property is a string that is either empty or is an ID (i.e. SKU) of the product last clicked on. It should be noted that this property is not updated automatically, you must use storeLastClicked() to update it.

Shopping Cart

Your cart is empty

Try the interactive demos on the docs pages!