Page 1 of 1

Required fields in checkout

Posted: Fri Oct 19, 2018 11:42 pm
by smwoodcrafts
No matter what I do, I can't get rid of the Company ID and Company tax ID as required fields at checkout. I went to Sales -> Customers -> Customer Group and edited the Default group to not require them. I also commented that part of the form in my themes registration.tpl. They are still there. How can I get rid of these altogether?

Re: Required fields in checkout

Posted: Sat Oct 20, 2018 11:13 am
by IP_CAM
well, the difference between - to be or not to be required - is a simple word, called required ;)
and you could simply make the Line HIDDEN, if you dont want it to be shown at all. I once experienced
a similar case, where I could not get rid of it, but I don't 'recall' the solution momentarely ... ::)
---
<div class="form-group">
<label class="control-label" for="input-payment-company">
</div>
<div class="form-group required">
<label class="control-label" for="input-payment-address-1">
</div>
---
BTW, if you downloaded PEKU's OC v.1.5.6.5 EDGE, download his newest edition
from my Github Account
https://github.com/IP-CAM
and ONLY replace your existing
controller/checkout/cart.php and theme/template/checkout/cart.tpl Files, to make the
REMOVE Item Button work on the Cart, as it should. It's ONLY required, if you use this Version,
due to it's default OC v.2.0.3.1 Theme, a default OC v.1.5.6.5_rc Version does not have the problem.
Ernie

Re: Required fields in checkout

Posted: Sun Oct 21, 2018 4:44 am
by smwoodcrafts
Thanks again Ernie.
I found a procedure that I tried and it did the trick. Here is the link.
https://multimerch.com/blog/removing-ch ... -opencart/

Now, I'm hoping that this paid extension does what it says it does and completely remove the account.
https://www.opencart.com/index.php?rout ... 20account.

Dan

Re: Required fields in checkout

Posted: Sun Oct 21, 2018 6:03 am
by IP_CAM
Well, onby some links to free Downloads, where you can find some details
on this, some are made for OC-2, but basically, it works the same. I am not
sure at the moment, if some entries have a required Status also in the DB,
where it would also have to changed. It's a long time, since I played around with
such things! But I also added a ZIP, containing a couple of Mods, one of them
is possibly, what you need, probably the famous Custom Register + Checkout
Extension. Unfortunately, it's no longer available at the OC Extension Section.
Good Luck ;)
Ernie
---
Checkout Optional Fields [vQmod]
https://www.opencart.com/index.php?rout ... n_id=17898
---
Checkout Fields Remover (Fax,Postcode,Company,Address 2)
https://www.opencart.com/index.php?rout ... n_id=17829
---
Hide Company Field
https://www.opencart.com/index.php?rout ... on_id=9657
---
Hide Fax Field
https://www.opencart.com/index.php?rout ... on_id=9653
---
Hide Address 2 Field
https://www.opencart.com/index.php?rout ... on_id=9658
---