All Collections
Settings & How Tos
Show Product Sales on Product Page with Shopify
Show Product Sales on Product Page with Shopify

Learn how to show a specific product recent purchases on the product page to increase the customer's FOMO for the product

Natan Abramov avatar
Written by Natan Abramov
Updated over a week ago

If you'd like to show the product's sales on the product's page, e.g. on the product page "black shoes" we will only show recent sales of that shoe, here's what you should do:

In Shopify Store Admin go to

Online Store -> Themes -> Actions -> Edit Code -> Product.liquid

And add this code in the beginning of the file:

<script type="text/javascript">  
window.dq=[{ n:"Notification Name", g: {{ product.id }} }];
</script>

Don't forget to change "Notificaiton Name" to the name of the Shopify Stream Notification.

Did this answer your question?