How to remove Billing details, Delivery details and Delivery method from opencart 2.1.0.1 version

1.5k Views Asked by At

Hello I am using Opencart version 2.1.0.1 and i want to keep only Payment Method on my site.So How can i remove it. I tried OpenCart 2.0: How To Remove Billing Details from Chekout Page this post but not helpfull for me.

Basically I am getting

$('#payment-address .checkout-content').html(html); $('#payment-address .checkout-content').slideDown('slow');

These 2 lines in checkout.tpl

1

There are 1 best solutions below

4
On

in the file /catalog/view/theme/bazien/template/checkout/checkout.tpl i change panel of payment method to none display

<div style="display: none;">
        <div class="panel-collapse collapse" id="collapse-payment-method">
            <div class="panel-body"></div>
        </div>
    </div>

and then i change this code

$('a[href=\'#collapse-payment-method\']').trigger('click');

to this code

$('#button-payment-method').trigger('click');

and it's working. on opencart 2.0.3.1 was tested.