I have been customizing a site and trying to make its checkout process simpler (http://mubyinternational.com/ocart23/in ... t/checkout) but whenever I delete the fields Last Name, Zone, City or Country; the checkout process does not move forward. I have been deleting the div in guest.tpl and the validation in guest.php but this does not work properly for the said fields.
How can I remove these fields ? If that is too complicated, how can I hide these fields and give them a fixed value.
Please help !
In order to remove/hide these fields, you need to have a good knowledge of coding OR use extension from the Opencart marketplace Free and paid both available
Webx IT Solutions
Tel: +91 99154 09292, Skype: webmedialdh, Email: firstname.lastname@example.org
then one can compare Code, and so find out easy, where to do what !
Good Luck, it's all about OC v.2.3.x !
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
Hide Newsletter Section
https://www.opencart.com/index.php?rout ... on_id=9654
https://www.opencart.com/index.php?rout ... n_id=11440
Checkout fields remover for OpenCart2.x
https://www.opencart.com/index.php?rout ... n_id=30891
or then, use something like:
<div class="hidden"> WHATEVER </div>
to hide certain content from beeing visible, but still existent, and doing it's Job!
Sample, untested, part of Code removed, and add a fixed LastName Value, like:
Code: Select all
<div class="form-group hidden"> <div class="col-sm-12 hidden"> <input type="hidden" name="lastname" value="Whatever" id="input-payment-lastname" class="form-control" /> </div> </div>
For Sale: Top URL's, including an OpenCart V-Pro Installation!
A wide range of available Site Designs can be seen here: http://www.opencart.li
For more Information on URL's offered, please contact me at: email@example.com
380+ free Extensions for OpenCart v.1.5.x - v.2.3.x Versions
can be found in my Github Repositories: https://github.com/IP-CAM
Users browsing this forum: No registered users and 8 guests