ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Yeah, not feeling the love with trying to integrate... I thought that for sure it would still notify as if there had been no changes; however, its an entirely different set of operations and therefore things done to offer more of a plugin nature to ZC are basically useless and have to figure out how to integrate this module into that one.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Submitted version 2.6.1 of the plugin to incorporate operation with One Page Checkout and a few other minor updates/modifications.
(v2.6.1) as identified by a few people, the new checkout plugin that offers a single page check (One Page Checkout) was found not to be compatible with this plugin. This version incorporates use of notifiers in that software and the way it has reworked core Zen Cart operation to maintain operation. Also more work has been done to move operations further away from the core code and to make use of common characteristics in the Zen Cart software.
- Modified the template files to expand the ability to offer modified content.
- Modified usage of global variables to reference $GLOBALS[''] instead of using the global construct.
- Updated the jscript_a-mootools.js file to version 1.2.5.
When it is available, it should be downloadable from the plugin page: https://www.zen-cart.com/downloads.php?do=file&id=683
It is also available on GitHub at the following location: https://github.com/mc12345678/order-delivery-date
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
For operation with this plugin its not necessary, I just expected more integration of existing code into the plugin.
Added observation of more notifiers to integrate and had to add some code because of not posting the action=process parameter when submitting the payment/address/shipping page. Just worked around it.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Thank you. I really appreciate the hard work. Hopefully it will fix my issue
umm ok. This is still not working for me.
I got the version 2.6.1 from GitHub.
I installed all the files on a fresh version of zc 1.5.5f with OPC 2.0.4.
If OPC is set to false, everything works like a charm.
If OPC is set to true, Order delivery date is not being displayed on the checkout_one page.
What am I missing?
I feel really stupid right now and I think I need someone to walk me thru it. Please
Thank you.
So, I didn't include the modified template file I think called tpl_checkout_one.php. Do still need to modify that file to include the display of the date "box". Plus there were some other modifications to be made/incorporated as discused above. (I used a post from the previous page I believe it was where it described the css that needed to be copied over, etc...)
The biggest fix made in 2.6.1 is that the data once captured on the store front now carries over into the admin (and not just the email) and I went ahead and incorporated the jquery.noConflict() command which was sadly necessary to even use this most recent file version of the mootools software.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Using Order Delivery Date v2.6.1 and OPC v2.0.4 on Zen Cart 1.5.5f. Here's what's needed for the integration:
* Update your template's version of checkout_one.css, appending the styling provided by ODD's checkout_shipping.css.
* Copy the ODD files provided in /includes/modules/pages/checkout_shipping to /includes/modules/pages/checkout_one.
* Copy /includes/templates/template_default/templates/tpl_modules_opc_shipping_choices.php to /includes/templates/YOUR_TEMPLATE/templates/ and make the changes highlighted below:
* Copy /includes/templates/template_default/templates/tpl_checkout_one_confirmation.php to /includes/templates/YOUR_TEMPLATE/templates/ and make the changes highlighted below:Code:<div id="checkoutShippingContentChoose" class="important"><?php echo TEXT_NO_SHIPPING_AVAILABLE; ?></div> <?php } ?> <!-- Bof Order Delivery Date --> <?php if (isset($display_delivery_date) ? $display_delivery_date : true) { ?> <fieldset class="shipping" id="order_delivery_date"> <legend><?php echo sprintf(TABLE_HEADING_DELIVERY_DATE, (defined('MIN_DISPLAY_DELIVERY_DATE') && MIN_DISPLAY_DELIVERY_DATE > 0 && (method_exists($zcObserverOrderDeliveryDateObserver, 'display_delivery_date') ? $zcObserverOrderDeliveryDateObserver->display_delivery_date($order) : true)) ? TABLE_HEADING_DELIVERY_DATE_IS_REQUIRED : TABLE_HEADING_DELIVERY_DATE_IS_OPTIONAL); ?></legend> <label for="order_delivery_date">Date:</label> <input id="date" name="order_delivery_date" type="text" value="<?php echo $order_delivery_date; ?>"> </fieldset> <?php } ?> <!-- Eof Order Delivery Date --> <?php } //-Order is not "virtual", display full shipping-method block
* Update your admin's Configuration->One-Page Checkout Settings, adding each payment method you support to the Payment Methods Requiring Confirmation list.Code:<h3 id="checkoutConfirmDefaultShipment"><?php echo HEADING_SHIPPING_METHOD; ?></h3> <h4 id="checkoutConfirmDefaultShipmentTitle"><?php echo $order->info['shipping_method']; ?></h4> <?php /* BEGIN Order Delivery Date */ if (isset($display_order_delivery_date) && $display_order_delivery_date) { ?> <br /> <h3><?php echo TABLE_HEADING_DELIVERY_DATE; ?></h3> <div class="buttonRow forward"><?php echo '<a href="' . $editShippingButtonLink . '">' . zen_image_button(BUTTON_IMAGE_EDIT_SMALL, BUTTON_EDIT_SMALL_ALT) . '</a>'; ?></div> <h4><?php echo $order_delivery_date_text; ?></h4><br /> <?php } /* END Order Delivery Date*/ } ?> </div>
* Copy /includes/languages/english/checkout_one_confirmation.php to /includes/languages/english/YOUR_TEMPLATE/checkout_one_confirmation.php and add the language constants required by ODD (you wouldn't need to do this if they were in an extra_definitions file).