Opencart | How to disable/hide checkout steps - iN4sser

Opencart | How to disable/hide checkout steps

Opencart | How to disable/hide checkout steps iN4sser 5من 5
Hello every Opencart users who does not fu*ing care about all these steps, just head straight to this file for registered users /...

Hello every Opencart users who does not fu*ing care about all these steps,
just head straight to this file for registered users
/catalog/view/theme/default/template/checkout/payment_address.twig
and this for the guests
/catalog/view/theme/default/template/checkout/guest.twig

search for them one by one
1- input-payment-company
2- input-payment-address-1
3- input-payment-address-2
4- input-payment-city
5- input-payment-postcode

if you want to keep any of them just skip it

lets see how "input-payment-company" looks before
<div class="form-group">  <label class="control-label" for="input-payment-company">{{ entry_company }}</label>  <input type="text" name="company" value="" placeholder="{{ entry_company }}" id="input-payment-company" class="form-control" /></div>

now lets edit that to
<div class="form-group" style="display:none;">  <label class="col-sm-2 control-label" for="input-payment-company">{{ entry_company }}</label>  <div class="col-sm-10">    <input type="text" name="company" value="Nasser" placeholder="{{ entry_company }}" id="input-payment-company" class="form-control" /></div>

don't copy the whole code, just add the RED ones
change "Nasser" to whatever you want, and in postcode just add 5 numbers

and thats it! enjoy you're easer checkout !

this method is tested on 3.0.3.1, i'm sure it will work on all 3.x and maybe older

www.iN4sser.com

ليست هناك تعليقات:

إرسال تعليق