i am developing a module in opencart 2.1.0.1, and need to modify core view file (order_info.tpl) that changes i am done by using rewriting that file in (system/storage) but i want that changes only when that module is active (when i will deactivae that module that modification should deactivae too) how to do this ?
added these fildes
<div style='display:none;' id='business' class="form-group">
<div class="col-sm-2 text-right padding5"><label class="">Date</label></div>
<div class='col-sm-4'>
<div class='input-group date' id='datetimepicker2'>
<input type='text' name="pickdate" class="form-control" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
<div class="col-sm-2 text-right padding5"><label>Time slot</label></div>
<div class='col-sm-4'>
<select name="order_time_slot" class="form-control">
<?php foreach ($timeslots as $time_slot) { ?>
<option value="<?php echo $time_slot['key']; ?>"><?php echo $time_slot['value']; ?></option>
<?php } ?>
</select>
</div>
</div>
