Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I've created a CREATE ACCOUNT button in the login page
This is what it had previously in the code:
<p>{{ 'layout.customer.create_account' | t | customer_register_link }}</p>
and I need to have this but with the appropriate variables to go to the register page (account/register)
<button type="submit" class="btn btn--full">
{{ 'customer.login.sign_in' | t }}
</button>
Can you help me?
Thanks!
Firstly you have to enable the customer Account page.
Then it will work.
follow this link to enable the Account page.
https://heliumdev.com/blog/shopify-enable-customer-accounts
The account is enabled the thing is is a put this in the button:
<button type="submit" class="btn btn--full">
{{ 'layout.customer.create_account' | t | }}
</button>
I got this as a result after doing the captcha
and if I put this:
<button type="submit" class="btn btn--full">
{{ 'customer_register_link' | t | }}
</button>
This is the result
If I display it as a link it works and goes to the register page but I want to have it as a button.
Thanks!
Please share your site URL,
I will check out the issue and provide you a solution here.
Hi,
this is the url https://webshop.sgs.com/account/login?return_url=%2Faccount
now I revert it back to the link because the site is live and I need to have it working but I want to have a button instead of a link please.
thank you!
Yes, because I revert it back to a link because the site is live,
check now please https://webshop.sgs.com/account/login?return_url=%2Faccount
Already correct.
Still not working, does not redirect to register page (https://webshop.sgs.com/account/register)
Hi Jessica,
where you able to implement the button succesfully? I am desperately looking for this button too instead of text solution.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024