Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We have a membership site on Shopify using Dawn th. Using Appstle. And Oxi Social
When users attempt to purchase and press Buy Now, non-logged-in users are directed to the login page. I want to change this so that non-logged-in users are redirected to the registration page instead.
Hello @Brighter ,
Wrap the buy now button with the condition
{% if customer %}
// You default button code
{% else %}
// buttton code with hred
e.g.
<a href='/account/register'></a>
{% endif %}
Remember to make a backup of your theme before making any changes and thoroughly test the functionality after making the modifications. Additionally, Shopify themes may vary, so the exact code and location may differ depending on your theme's structure.
Thanks
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024