Instead of a text box, I like the Ship Order Date Contribution- A nice clean box. I've got it to work on the checkout payment page. Here is where I could use some guidance... Instead of having it's own "field"- listed separately as if it were a coupon code field... I'd like it to appear in one of the shipping upgrade options that I have added (based on priority handling). If there were a template for that, I'd put the code there but there isn't. I've got this code:
Code:
<!-- Bof Ship Date -->
<fieldset class="shipping" id="order_delivery_date">
<legend><?php echo TABLE_HEADING_DELIVERY_DATE; ?></legend>
<select name="order_delivery_date">
<?php
for ($i=1, $n=50; $i < $n; $i++) {
$now[$i] = strtotime ("+$i day", time());
if ( strftime ("%w",$now[$i])<>0
AND strftime ("%m-%d",$now[$i])<>"12-25"
AND strftime ("%m-%d",$now[$i])<>"12-26"
AND strftime ("%m-%d",$now[$i])<>"01-01"
){
echo '<option value="'.strftime ("%Y-%m-%d",$now[$i]).'">'.strftime ("%A %d %B %Y",$now[$i]).'</option>';
}
}
?>
</select>
</fieldset>
<!-- Eof Ship Date -->
And I don't know where else to put it- everything I try, breaks everything!
Any help- direction etc... is most welcome!
Nancy