Post by alphauby » Mon Nov 27, 2017 3:51 pm

Hi,

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 !

Newbie

Posts

Joined
Sat Nov 25, 2017 5:08 am

Post by webmedialdh » Mon Nov 27, 2017 6:12 pm

Hi,

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

Regards

Webx IT Solutions
Tel: +91 99154 09292, Skype: webmedialdh, Email: support@webxitsolutions.com
Image


User avatar
New member

Posts

Joined
Fri Apr 22, 2016 5:52 pm
Location - Ludhiana, Punjab

Post by alphauby » Tue Nov 28, 2017 12:14 am

I do have some knowledge of programming. I am sure I could do it if shown the way. Please help me out with the programming part. I couldn't find any specific tutorials regarding this.

Newbie

Posts

Joined
Sat Nov 25, 2017 5:08 am

Post by IP_CAM » Tue Nov 28, 2017 3:06 am

Well, if you are a Coder, the best Tutorials are existing free Extensions,
then one can compare Code, and so find out easy, where to do what ! :D
Good Luck, it's all about OC v.2.3.x !
Ernie
---
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
---
Masked Fields
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>
<input type="hidden"
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>

Ernie's OpenCart v.1.5.6.5 LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.opencart.li/shop/ - http://www.ipcam.li/shop/
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 13 guests