Jam Posted November 27, 2019 Share Posted November 27, 2019 Is it possible to customize this field? I mean like, I want to remove this field? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted November 27, 2019 Share Posted November 27, 2019 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. 0 Quote Link to comment Share on other sites More sharing options...
Jam Posted November 27, 2019 Author Share Posted November 27, 2019 Thank you for your response 🙂 0 Quote Link to comment Share on other sites More sharing options...
Jam Posted December 9, 2019 Author Share Posted December 9, 2019 (edited) 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 December 9, 2019 by Jam 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted December 9, 2019 Share Posted December 9, 2019 templates/{YOUR_TEMPLATE}/register.tpl templates/orderforms/{YOUR_TEMPLATE}/checkout.tpl 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 9, 2019 Share Posted December 9, 2019 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 0 Quote Link to comment Share on other sites More sharing options...
Jam Posted December 9, 2019 Author Share Posted December 9, 2019 (edited) 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 December 9, 2019 by Jam 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 9, 2019 Share Posted December 9, 2019 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.