AbanteCart Community

Shopping Cart Operations => Support => Topic started by: Evolution on July 22, 2013, 05:06:19 PM

Title: Guest Checkout - Remove Fields?
Post by: Evolution on July 22, 2013, 05:06:19 PM
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! :)
Title: Re: Guest Checkout - Remove Fields?
Post by: abantecart on July 22, 2013, 10:32:51 PM
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
Title: Re: Guest Checkout - Remove Fields?
Post by: Evolution on July 23, 2013, 12:11:59 PM
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?
Title: Re: Guest Checkout - Remove Fields?
Post by: abantecart on July 25, 2013, 04:05:05 PM
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.
Title: Re: Guest Checkout - Remove Fields?
Post by: Evolution on July 25, 2013, 04:10:15 PM
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.
Title: Re: Guest Checkout - Remove Fields?
Post by: abantecart on July 25, 2013, 05:07:22 PM
We have planed to develop more digital products related features to AbanteCart. It will be coming soon.
All your feedback will be considered. Feel free to participate in discussion when we will have them