I’ve created a CREATE ACCOUNT button in the login page
This is what it had previously in the code:
{{ ‘layout.customer.create_account’ | t | customer_register_link }}
and I need to have this but with the appropriate variables to go to the register page (account/register)
{{ ‘customer.login.sign_in’ | t }}
Can you help me?
Thanks!
@JessicaCP
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:
{{ ‘layout.customer.create_account’ | t | }}
I got this as a result after doing the captcha
and if I put this:
{{ ‘customer_register_link’ | t | }}
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!
@JessicaCP
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!
@JessicaCP it’s already working
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
Still not working, does not redirect to register page (https://webshop.sgs.com/account/register)
Daaniel
10
Hi Jessica,
where you able to implement the button succesfully? I am desperately looking for this button too instead of text solution.