Because of specific target of the shop I'm preparing I have to remove some fields from checkout.
For example I have to remove (or at least hide) Company field.
But when I'm removing it from the form or setting input type = hidden, in Step 3 I got the json error:
Code: Select all
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined index: company in <b>/var/www/html/opc2.2/catalog/controller/checkout/guest_shipping.php</b> on line <b>172</b>[]
I would also love to add two select fields taking lists of values from the database - I want it work just like country/zone pair. This is less important but it would help me a lot as well.
I would appreciate your help a lot. Thanks.