Page 1 of 1

Make Input Read Only

Posted: Wed Apr 06, 2016 5:33 pm
by akgodara
Hi,

I have two major issues in open cart.

(1) I want to put read online on calendar so that any one can not put date manually.
(2) I want to disable some countries and cities as we don't deliver in those locations right now.

Please provide me solution for this.

Anil Kumar

Re: Make Input Read Only

Posted: Fri Apr 08, 2016 5:57 am
by oc-extensions
Hi,

[1] Add "readonly" in input used for calendar

Ex:
<input type="text" name="bla_bla" class="something" readonly />

[2] In table country set for countries you don't want to show columns status to 0;

OR
From admin area > system > localisation > countries > edit ocuntry you want and set option status to Enabled/disabled (depending on your needs)

Wish you many sales;