
Originally Posted by
velvetangels
Mrmeech,
...
The problem that I am having is that I cant get the calendar to work on the tpl_checkout_shipping_default.php.
The first one was:
PHP Code:
<!-- Bof Ship Date -->
<fieldset class="shipping" id="order_delivery_date">
<legend><?php echo TABLE_HEADING_DELIVERY_DATE; ?></legend>
<label for="date">Date</label>
<input class="calendar" readonly="readonly" id="date" name="date" type="text">
<button class="calendar" type="button"></button>
</fieldset>
<!-- Eof Ship Date -->
and I added:
PHP Code:
<!-- Bof Cancel Ship Date -->
<fieldset class="shipping" id="order_cancel_date">
<legend><?php echo TABLE_HEADING_CANCEL_DATE; ?></legend>
<label for="date2">Date</label>
<input class="calendar" readonly="readonly" id="date2" name="date2" type="text">
<button class="calendar" type="button"></button>
</fieldset>
<!-- Eof Cancel Ship Date -->
and when I get to the shipping page it shows 2 calendar buttons next to Desired Delivery Date and one next to Desired Cancel Date but only the first one on Desired Delivery Date does anything when clicked. (attached screenshot)
This boggles my mind a little bit..
if you remove this line of code from the "requested delivery date" calendar, i bet it will fix that problem:
PHP Code:
<button class="calendar" type="button"></button>
However, what doesn't make sense is why it's not showing up on your cancel date calendar too. What happens if you remove that same line of code from the cancel date calendar?
Bookmarks