Page 54 of 55 FirstFirst ... 44452535455 LastLast
Results 531 to 540 of 543
  1. #531
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by chuckrey View Post
    So apparently, this line is the issue:
    WHERE orders_id = " . (int)($orders_fields['orders_id'] . " LIMIT 1";
    Yeah, just pulled it up...

    Change:
    Code:
    WHERE orders_id = " . (int)($orders_fields['orders_id'] . " LIMIT 1";
    to:
    Code:
    WHERE orders_id = " . (int)$orders_fields['orders_id'] . " LIMIT 1";
    Man, I really wish I knew where/how characters like that just seem to randomly appear...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #532
    Join Date
    Aug 2020
    Location
    Richarson
    Posts
    141
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by mc12345678 View Post
    Yeah, just pulled it up...

    Change:
    Code:
    WHERE orders_id = " . (int)($orders_fields['orders_id'] . " LIMIT 1";
    to:
    Code:
    WHERE orders_id = " . (int)$orders_fields['orders_id'] . " LIMIT 1";
    Man, I really wish I knew where/how characters like that just seem to randomly appear...
    LOL!! I wish I was half as good at you catching such things.
    Thanks again. I greatly appreciate your work. I just did a test and it seems to work great. I just need to let the users know how to properly enter the date.

    I value your time and work always

  3. #533
    Join Date
    Aug 2020
    Location
    Richarson
    Posts
    141
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Yet another question. Is there a way to have the date pop-up a calendar?

  4. #534
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by chuckrey View Post
    Yet another question. Is there a way to have the date pop-up a calendar?
    That's actually one of the primary points of the plugin. Check your browser console for javascript/jquery like errors. A mal-formed page or something that prohibits the associated code from executing could prevent the display of the calendar option. There are a number of other possibilities, but I'm working from the perspective that all of the related files have been loaded for the associated Zen Cart version.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #535
    Join Date
    Aug 2020
    Location
    Richarson
    Posts
    141
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    I will have a look and update. Thanks again.

  6. #536
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    252
    Plugin Contributions
    4

    Default Re: Order Delivery Date Support Thread

    Hi

    Hope someone else is still using this.

    I've noted in the past that the mootools library required for this plugin can cause some issues.

    Namely if you're using the responsive classic template it would break the mobile menu when you were on the checkout_shipping page.

    I have recently started making use of bootstrap template and mootools has reared its head again - basically sometimes when leaving the checkout_shipping page you are directed back to the home page instead of checkout_payment. I have no idea why - but removing the mootools file solved this problem.

    One Page Checkout might be a workaround but I haven't tested this yet.

    Anyway, I have replaced the mootools calendar with the jquery datepicker and got this working fine. However datepicker lacks the flexibility the mootools one had.

    In particular I liked the wildcard and range date blocking, eg [* 1 2024] - block all january, or [1-10 1 2024] - block 1-10 january.

    So asking if anyone has a solution to get mootools to play nice, or if you are aware of another datepicker with flexibility akin to the mootools one.

  7. #537
    Join Date
    Apr 2011
    Posts
    507
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by royaldave View Post
    Hi

    Hope someone else is still using this.

    I've noted in the past that the mootools library required for this plugin can cause some issues.

    Namely if you're using the responsive classic template it would break the mobile menu when you were on the checkout_shipping page.

    I have recently started making use of bootstrap template and mootools has reared its head again - basically sometimes when leaving the checkout_shipping page you are directed back to the home page instead of checkout_payment. I have no idea why - but removing the mootools file solved this problem.

    One Page Checkout might be a workaround but I haven't tested this yet.

    Anyway, I have replaced the mootools calendar with the jquery datepicker and got this working fine. However datepicker lacks the flexibility the mootools one had.

    In particular I liked the wildcard and range date blocking, eg [* 1 2024] - block all january, or [1-10 1 2024] - block 1-10 january.

    So asking if anyone has a solution to get mootools to play nice, or if you are aware of another datepicker with flexibility akin to the mootools one.
    I stopped using this plugin for the same reason you mentioned. I was never able to get Mootools to play nice with my site ( ZC 1.5.7 with one page checkout and bootstrap template).

    I am using an updated version of JS date picker which use product attribute to display the calendar. The downside is the delivery date is on the product page as opposed to the checkout page.

    I like that you can have several calendar with different setting based on which attribute is added to the product. Blocking date, cut off time... is fairly easy once you get the hang of it.

    I haven't figured the time zone cut off time yet for it. The calendar uses UTC time and can be an issue if you cut off time or such.

    Mootools was great when worked but i like my alternative so far. I have seen some nice React datepicker like Ant Design....but no clue how to make it work with ZC.

  8. #538
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    252
    Plugin Contributions
    4

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by nicksab View Post
    I stopped using this plugin for the same reason you mentioned. I was never able to get Mootools to play nice with my site ( ZC 1.5.7 with one page checkout and bootstrap template).

    I am using an updated version of JS date picker which use product attribute to display the calendar. The downside is the delivery date is on the product page as opposed to the checkout page.

    I like that you can have several calendar with different setting based on which attribute is added to the product. Blocking date, cut off time... is fairly easy once you get the hang of it.

    I haven't figured the time zone cut off time yet for it. The calendar uses UTC time and can be an issue if you cut off time or such.

    Mootools was great when worked but i like my alternative so far. I have seen some nice React datepicker like Ant Design....but no clue how to make it work with ZC.
    For one final time I reinvestigated the mootools calendar and I can see that the particular calendar tool chosen for this plugin was last updated in 2009 and won't work with a mootools younger than v1.2.6.

    As I mentioned previously I've been unable to find a datepicker with the same flexibility for blocking dates.

    I'm rubbish at js, and completely ignorant to mootools so I won't be spending any more time on this pathway.

    This plugin will work with pretty much any datepicker, and as mentioned previously I have got it working with a stock standard js date picker.

    I could submit my changes to this plugin but I am sensitive that replacing the previous (mootools) datepicker might seem as a downgrade for some - but I will comment that removal of the mootools library prevents issues with both responsive classic template (on a mobile), and bootstrap overall.

    And finally, and it is probably the wrong forum for this, but it is a shame that the author of the calendar tool used in the delivery date plugin did not carry on with it - not just for zen cart, but it could be useful in any number of applications.

  9. #539
    Join Date
    Apr 2011
    Posts
    507
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by royaldave View Post
    For one final time I reinvestigated the mootools calendar and I can see that the particular calendar tool chosen for this plugin was last updated in 2009 and won't work with a mootools younger than v1.2.6.

    As I mentioned previously I've been unable to find a datepicker with the same flexibility for blocking dates.

    I'm rubbish at js, and completely ignorant to mootools so I won't be spending any more time on this pathway.

    This plugin will work with pretty much any datepicker, and as mentioned previously I have got it working with a stock standard js date picker.

    I could submit my changes to this plugin but I am sensitive that replacing the previous (mootools) datepicker might seem as a downgrade for some - but I will comment that removal of the mootools library prevents issues with both responsive classic template (on a mobile), and bootstrap overall.

    And finally, and it is probably the wrong forum for this, but it is a shame that the author of the calendar tool used in the delivery date plugin did not carry on with it - not just for zen cart, but it could be useful in any number of applications.
    @royaldave

    How are your changes to the plugin working for you?

    I am looking for another options for my "delivery date" options on my site. As mentioned in my earlier post, I am using a jquery datepicker that displays on the product page ( via attribute text option). However, the whole cut-off time is driving me nuts. I can t figure out how to have it works on my time zone as opposed to local time. I am PST time and my cut off is 1 PM but if someone try to order from Europe or else, the date options changes based on their local time.

    Back to this plugin, can it be displayed on product page instead of checkout? Can a cut-off time be specified that would work on my local time as opposed to user?

    Hope this makes sense.

    Thank you

  10. #540
    Join Date
    Apr 2011
    Posts
    507
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    After re-reading this thread, part of my answer was on post #7 regarding the cut-off time.

    So it comes to know if anyone as an updated version that would work with ZC 2.0 , bootstrap template and One page checkout??

    I am open to suggestions ( actually i would love a working solutions if anyone as it)

    It would be great if the callendar could be displayed on product info page instead of checkout.

    Anyone please?

    thank you in advance.

 

 
Page 54 of 55 FirstFirst ... 44452535455 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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR