When you want to actively encourage membership registration on Shopify, placing a prompt near the add-to-cart button in the purchase flow can be more effective than banners or modals. By hiding it from logged-in users, you create a natural user experience.
This implementation follows Horizon theme safe customization guidelines (custom.* files only). Simply add a Custom Liquid block to the product detail page in the theme editor.
◆Features
・Displayed only to non-logged-in users (automatically hidden for logged-in users)
・Works with both new Customer Accounts and legacy accounts
・Text and coupon content freely editable
・No vendor file changes required
How to Display a Membership Registration Banner on Shopify Horizon Theme Product Pages

◆Setup Steps
・Theme Editor → Product Page → Product Details (_product-details)
・Add Block → Custom Liquid
・Place right after buy-buttons
・Paste the code as-is
Dawn version: Setting up membership registration prompts near the add-to-cart button
