Page 1 of 2 12 LastLast
Results 1 to 10 of 544

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    Melbourne Australia
    Posts
    60
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Hey there mrmeech.

    Still not really doing it for me - - unfortunately most of my osmosis on this matter seems to be in the reverse, so no matter how much I put into the code it seems to be getting less and less likely I can get it to work suitably in the admin side as a pull down list.

    So . . how are you going with the java calander to add into the module? I like the pull down on the front end though! ;-)

    Do you have something that seems OK and can be stuck into my pages to see how it goes? Better to work on the same thing then head off in different directions - if I get it OK on the backend may be able to add it to the package?

  2. #2
    Join Date
    Nov 2006
    Location
    New York City
    Posts
    248
    Plugin Contributions
    1

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by FuzzyBunny View Post
    Hey there mrmeech.

    Still not really doing it for me - - unfortunately most of my osmosis on this matter seems to be in the reverse, so no matter how much I put into the code it seems to be getting less and less likely I can get it to work suitably in the admin side as a pull down list.

    So . . how are you going with the java calander to add into the module? I like the pull down on the front end though! ;-)

    Do you have something that seems OK and can be stuck into my pages to see how it goes? Better to work on the same thing then head off in different directions - if I get it OK on the backend may be able to add it to the package?
    Sorry FuzzyBunny - I got off track this past week with work. (I am a freelance production guy in new york city and last week was insane. It's how i pay rent and eat!! And eating is certainly a priority.)

    Where are you with everything? Did you work out any of your own code?

  3. #3
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    I installed this mod then had to uninstall it when I found out that no one could get to order step 3 (in v1.37).

    I think part of the problem was an install of the gift wrapping mod which this client didn't need but that came as part of another mod which I did need for this client (if my memory is right..which it may not be!).

    Both the gift wrapping mod and the date mod use the same areas of code in some of the same files and I could not figure out completely how to make the two live happily together.

    So I uninstalled the date mod and resumed with our former method of customer date specification for this client. Client is a florist and while the method is not fancy, so far it works until I can get yours to reside happily on her site.

    We have it set up as an attribute in each product and it carries through very nicely into admin and into the email with the customers order so the florist knows the delivery date with no problem. We also have a second attribute set up for the greeting card.

    I know our simple system won't help any of you coders, but thought I would mention it as one never knows what may spark a thought. Sometimes bigger and better ideas came come from the thoughts of simple minds!!

    Here is an example of what this looks like in her store (and *I* didn't pick the colors in the store...the client did! lol):

    http://www.desertroseflorist.com/ind...products_id=53

    betty

  4. #4
    Join Date
    Sep 2007
    Location
    Melbourne Australia
    Posts
    60
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Hi MrMeech,

    On the admin side I tried two java apps - including the one that is used elsewhere in the admin - and could get niether of them to work.

    I tried using:

    - Bazillyo's Spiffy DHTML Popup Calendar (the one used elsewhere in admin and couldn't get a result at all ??? Couldn't figure this one out, so re-visiting on the weekend after they (hopefully) grant me permission to go into their yahoo group to get more info. http://tech.groups.yahoo.com/group/spiffyDHTML/ The court is out for me on this one.

    - http://www.mattkruse.com/javascript/calendarpopup/ - very similar app but a different function to get it to work - however the A HREF="#" function does not work with the forms on the admin side - resets/processes the whole page instead of calling the calendar - so no good here either.

    The best way I see this functioning at this point is having the delivery date update work as a java pop-up itself (like some of the other admin contributions use to control 'elements' of the information. This way the list and the java apps may work and neither will have to default to the current delivery date when displayed so admin users won't 'accidentally' update the delivery date to the wrong one.


    This is the updated list code, which has some updates to allow our shipping staff to update the delivery date historically, on weekends, etc as they need to do:

    <!-- Begin Delivery Date Block -->
    <hr>
    <strong>Current Delivery Date: </strong><?php echo zen_date_long($order->info['order_delivery_date']); ?><br>
    <strong>Reset Delivery Date to: </strong>
    <select name="update_order_delivery_date">
    <?php
    $deliv_date = ($order->info['order_delivery_date']);

    for ($i=-30, $n=365; $i < $n; $i++) {
    $now[$i] = strtotime ("+$i day", time());
    if ( strftime ("%w",$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 ("%d %B %Y (%A)",$now[$i]).'</option>';
    }
    }
    ?>
    </select>
    <?php echo zen_draw_separator('pixel_trans.gif', '50', '1'); ?>
    <?php echo zen_image_submit('button_update.gif', IMAGE_UPDATE); ?>
    <hr>
    <!-- End Delivery Date Block -->

    ** I have been looking at the php manual and tutorials online and trying to work out how to define the current delivery date and make that the default or selected day on the pull down list - so if the rest of the order is updated on a screen in 'editorders', 'superorder' or another admin contribution then the person updating the rest of the information own't change the delivery date UNLESS they actually change the delivery date pull down list.

    ** Pulling out my hair trying to get the current delivery date to default on the list, but I am learning quite a bit about php coding in the mean time (I used to run a html web site management company about 10 years ago and have been away from it for years, so have to work out what to do again!!)

    So either we can work out how to get the current delivery date to be the default date displayed on the list . . . or . . . we put the list code above in a java popup and see how that goes . . that's my current line of thought at the moment.

    Any suggestions or comments??

    Thanks, Max

  5. #5
    Join Date
    Nov 2006
    Location
    New York City
    Posts
    248
    Plugin Contributions
    1

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by FuzzyBunny View Post
    <!-- Begin Delivery Date Block -->
    <hr>
    <strong>Current Delivery Date: </strong><?php echo zen_date_long($order->info['order_delivery_date']); ?><br>
    <strong>Reset Delivery Date to: </strong>
    <select name="update_order_delivery_date">
    <?php
    $deliv_date = ($order->info['order_delivery_date']);

    for ($i=-30, $n=365; $i < $n; $i++) {
    $now[$i] = strtotime ("+$i day", time());
    if ( strftime ("%w",$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 ("%d %B %Y (%A)",$now[$i]).'</option>';
    }
    }
    ?>
    </select>
    <?php echo zen_draw_separator('pixel_trans.gif', '50', '1'); ?>
    <?php echo zen_image_submit('button_update.gif', IMAGE_UPDATE); ?>
    <hr>
    <!-- End Delivery Date Block -->
    Max!

    Looks like you've been hard at work!

    Is that code you've got written out above for the orders.php file on the admin side for when you are looking at the orders in the spreadsheet-like view? Or is that for when you are actually editing orders?

    Also, i have to say, sorry for no response here this week - for all i knew, it was quiet on the support thread... but what really happened was zen cart stopped emailing the updates to the thread! Got it all fixed now, so that's good. I found a small issue with the mod when a paypal checkout is used but i can't figure out what exactly is causing it - i'm going to outline this in a post immediately following this one.

  6. #6
    Join Date
    Nov 2006
    Location
    New York City
    Posts
    248
    Plugin Contributions
    1

    Default Re: Order Delivery Date Support Thread

    Alright!! So, i've found a bug with Order Delivery Date that happens when a customer checks out with the Paypal Integrated Checkout method.

    Basically, when the order email is generated upon successfully completing the paypal payment, the email define "EMAIL_TEXT_DELIVERY_DATE" is not translating to the value set in the language file. The delivery date still makes it to the email OK, but the email prints out as above: EMAIL_TEXT_DELIVERY_DATE

    I just started looking into the issue, but if anyone has any idea what could be causing this, please let me know. I would venture to bet that this has to do with a paypal data array somewhere. As I don't have a comprehensive understanding of the data flow with PayPal, i might need someone else to point me in the right direction with this one...

    It's gotta be something simple - 9 out of 10 times it is.

  7. #7
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by mrmeech View Post
    Alright!! So, i've found a bug with Order Delivery Date that happens when a customer checks out with the Paypal Integrated Checkout method.

    Basically, when the order email is generated upon successfully completing the paypal payment, the email define "EMAIL_TEXT_DELIVERY_DATE" is not translating to the value set in the language file. The delivery date still makes it to the email OK, but the email prints out as above: EMAIL_TEXT_DELIVERY_DATE

    I just started looking into the issue, but if anyone has any idea what could be causing this, please let me know. I would venture to bet that this has to do with a paypal data array somewhere. As I don't have a comprehensive understanding of the data flow with PayPal, i might need someone else to point me in the right direction with this one...

    It's gotta be something simple - 9 out of 10 times it is.
    Great mod, was wondering if this issue was ever sorted????

    Many thanks

    Rob
    if elephants could fly, I'd be a little more optimistic....

  8. #8
    Join Date
    Nov 2006
    Location
    New York City
    Posts
    248
    Plugin Contributions
    1

    Default Re: Order Delivery Date Support Thread

    FuzzyBunny,

    You should take a look at this: http://www.garrett.nildram.co.uk/calendar/scw.htm

    If you look at the demo you will see that one of your formatting options is to click on text to update the date and the javascript calendar will appear, which could possibly circumvent the problem you're having?

  9. #9
    Join Date
    Jul 2007
    Location
    Manitowoc, WI
    Posts
    66
    Plugin Contributions
    4

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by mrmeech View Post
    FuzzyBunny,

    You should take a look at this: http://www.garrett.nildram.co.uk/calendar/scw.htm

    If you look at the demo you will see that one of your formatting options is to click on text to update the date and the javascript calendar will appear, which could possibly circumvent the problem you're having?
    I have this calendar working
    http://www.atcakes.com/index.php?mai...pointment_page
    Very easy to adjust to what you need it for.

  10. #10
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Does anyone have this working with Super Orders? I got the customer end working, and I tried to edit admin/super_orders.php but it is totally different then orders.php and obviously I did something wrong. In the admin, when I go to Customers-Super Orders, it gives this error:


    Parse error: syntax error, unexpected '}' in /home/***/super_orders.php on line 1190

    I tried playing around with that file more, but no luck, I just get errors. I know I must be missing something in the super_orders.php file, but I just don't know what. This is on a 1.3.9d store with the latest version of Super Orders.

    If anyone has any suggestions I would appreciate it!

    Thanks!
    Danielle

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. order delivery date addon - date not showing in checkout
    By jagall in forum Addon Shipping Modules
    Replies: 4
    Last Post: 19 Oct 2017, 09:09 PM
  2. JK Order Exporter - Support Thread
    By eVelt in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 26 Sep 2015, 07:06 AM
  3. v151 Order Delivery date on Product Info Page
    By nicksab in forum General Questions
    Replies: 0
    Last Post: 30 Dec 2013, 03:23 AM
  4. Support Thread for JS Date Picker for options
    By eVelt in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 5 Dec 2013, 05:44 AM
  5. Order Delivery Date Mod
    By fagriffin in forum Addon Shipping Modules
    Replies: 1
    Last Post: 11 Oct 2008, 04:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg