Let us know if any of these work for you. Otherwise, hopefully another Community user can comment on how to implement this via custom code. As a last option, you can always hire a Shopify Expert to code this for you, if that's your preference over using an app!
Hilary | Community Manager @ Shopify - Was my reply helpful? Click Like to let me know! - Was your question answered? Mark it as an Accepted Solution - To learn more visit the Shopify Help Center or the Shopify Blog