Jump to content
Jam

Is it possible to customize this field?

Recommended Posts

Is it possible to customize this field?  I mean like, I want to remove this field?

image.thumb.png.dc7d8c54178b137683eb0dcea88bb904.png

Share this post


Link to post
Share on other sites

Keep in mind that state/postcode fields are both required for billing purposes and domain registrations. Address 2 on the other hand can be removed safely.

First off open Setup > General Settings > Other > Optional Client Profile Fields to make State and Postcode fields optional then hide them from front-end with a bit of CSS. Alternatively you can remove/comment out them from template fields {your_template}/register.tpl and {your_cart}/checkout.tpl.

Share this post


Link to post
Share on other sites

Thank you for your response 🙂  

Share this post


Link to post
Share on other sites
On 11/27/2019 at 2:31 PM, Kian said:

Keep in mind that state/postcode fields are both required for billing purposes and domain registrations. Address 2 on the other hand can be removed safely.

First off open Setup > General Settings > Other > Optional Client Profile Fields to make State and Postcode fields optional then hide them from front-end with a bit of CSS. Alternatively you can remove/comment out them from template fields {your_template}/register.tpl and {your_cart}/checkout.tpl.

Hello, I couldn't find the file register.tp and checkout.tpl.
Where do I find it?

Edited by Jam

Share this post


Link to post
Share on other sites

templates/{YOUR_TEMPLATE}/register.tpl

templates/orderforms/{YOUR_TEMPLATE}/checkout.tpl

 

Share this post


Link to post
Share on other sites
8 hours ago, Jam said:

Hello, I couldn't find the file register.tp and checkout.tpl.

if you're using Six, the register template will be called clientregister.tpl and not register.tpl

 

Share this post


Link to post
Share on other sites
8 minutes ago, brian! said:

if you're using Six, the register template will be called clientregister.tpl and not register.tpl

 

I can now edit this Field?

Edited by Jam

Share this post


Link to post
Share on other sites
32 minutes ago, Jam said:

I can now edit this Field?

remember that your screenshot is from the admin area, and both Kian and I are mentioning templates in the client area.... as an admin, you can leave those fields blank if you want to when creating a new client.

so if all you want to do is prevent the client from seeing these fields and therefore not having to complete them, then editing those two templates is the way to go... possibly CSS might be a better option depending on your custom theme, but for Six, it's usually cleaner to just edit the template.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated