
Originally Posted by
nicksab
For the love of Zen Cart, I tried everything but I can t get it to work with OPC.
For some reason, it is not registering the date on the order. I keeps displaying the same date over and over again.
I works fine with OPC disable. If I disable OPC and pick a date, like 08-08-18, it will displayed and registered fine on the order ( admin). However, once I switch OPC back on, no matter how many orders or which date I choose, it will always display 08-08-18 on the admin.
Here is what I did:
- copied all the files from /modules/pages/checkout_shipping to /modules/pages/checkout_one
- copied the following code from /templates_default/tpl_checkout_shipping_default.php to template_default/checkout_one_default.php
<!-- Bof Order Delivery Date -->
<fieldset class="shipping" id="order_delivery_date">
<legend><?php echo TABLE_HEADING_DELIVERY_DATE; ?></legend>
<label for="order_delivery_date">Date:</label>
<input readonly="readonly" id="date" name="order_delivery_date" type="text">
</fieldset>
<!-- Eof Order Delivery Date -->
- copied css from checkout_shipping.css to checkout_one.css to have the calendear displayed correctly.
- added the jQuery.noConflict(); to jscript_a-mootools.js
But after all this, it is not working....
Please help thank you