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.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024