Shopping Cart Operations > Support
Guest Checkout - Remove Fields?
Evolution:
Hi AbanteCart community,
I'm just wondering how I can remove or make optional the fields such as Address, City, State, Zip Code in the Guest Checkout.
Help is greatly appreciated! :)
abantecart:
You can edit template files
For Default template:
/storefront/view/default/template/pages/checkout/guest_step_1.tpl
For HTML5 template:
/storefront/view/default_html5/template/pages/checkout/guest_step_1.tpl
Evolution:
Thanks for the reply, however:
If I remove something, it would say Oops, there is an error with infomation provided!.
How do I get around this?
abantecart:
For required fields you need to remove validation from controller and possibly from JavaScript.
I would be careful with that. There is a reason fields are required. There could be other issues related to database inserts and updates. In some extent some data integrity issue can come up at checkout. Checkout might not work at all.
Evolution:
In that case I'll leave it as it is at the moment, but as for feedback purposes maybe some stores (digital goods) do not require address or telephone.
Navigation
[0] Message Index
[#] Next page
Go to full version