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

    Hi Mr Meech,

    Thanks for having a look.

    The FEC module does not have an order confirmation page as such, it just has a --\|/--\|/-- processing page.

    The order class is the delivery date file in the module package in it's entirity, it is not overwritten by FEC.

    For the time being I have just removed the delivery date option and told people to put it in the comments section, whic is the "old fashioned way" before your "AddOn" came into being.

    I think it must be caused by something on the confirmation page, so this will be my next investigation.

    Once again, thanks for the assiatance and the great addon.

  2. #2

    Default Re: Order Delivery Date Support Thread

    The order delivery date works great. I'm trying to add a lightbox-style ups time in transit map to the checkout_shipping page. The Dynamic Drive lightbox images works fine without the order delivery date feature and vice versa.

    It as if the two features do not want to co-exist on the same page and are competing for the same initialization functions or variables. FireBug shows this error:
    Code:
    this.options is undefined
    http://pexplumber.com/includes/modul..._b-calendar.js
    Line 4
    My dev url is http://pexplumber.com. I've spent some hours debugging, but with no success.

    I'm using simple seo url.

    Any thoughts or ideas?

    Thanks

  3. #3

    Idea or Suggestion Re: Order Delivery Date Support Thread

    There is a conflict between the mootools and lightbox scripts. As mootools.js is a javascript framework, and so is prototype.js, it is a conflict between those two. There is a lightbox 'clone' called slimbox that uses mootools

    It works great on the same page!

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

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by sweettraders View Post
    There is a conflict between the mootools and lightbox scripts. As mootools.js is a javascript framework, and so is prototype.js, it is a conflict between those two. There is a lightbox 'clone' called slimbox that uses mootools

    It works great on the same page!
    Hey there - I'm a bit confused as to whether or not you got this worked out, because you say there is a conflict, but then say that it works great. There may be a slight chance that you're overthinking this or taking a more complicated approach than necessary - could you explain exactly what you're trying to do with the UPS transit map? Is it just one of those static maps of the country showing shipping times from your location?

    From what i understand you want to have a UPS shipping map show up in a lightbox, more of less? If so, i can help you with hooking directly into the lightbox code to have it render on the screen as you wish. I'm a little confused as to why you'd want to have two JS codebases to render a lightbox when you should be able to just utilize the lightbox code.
    Last edited by mrmeech; 2 Nov 2008 at 06:09 PM.

  5. #5

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by mrmeech View Post
    Hey there - I'm a bit confused as to whether or not you got this worked out, because you say there is a conflict, but then say that it works great. There may be a slight chance that you're overthinking this or taking a more complicated approach than necessary - could you explain exactly what you're trying to do with the UPS transit map? Is it just one of those static maps of the country showing shipping times from your location?

    From what i understand you want to have a UPS shipping map show up in a lightbox, more of less? If so, i can help you with hooking directly into the lightbox code to have it render on the screen as you wish. I'm a little confused as to why you'd want to have two JS codebases to render a lightbox when you should be able to just utilize the lightbox code.
    What I ultimately need is shipping options available, based on temperature not exceeding 70F along the shipping route if the time in transit exceeds 24 hours. Nice try! We ship perishables, i.e. chocolate.

    We found that customers pick the cheapest shipping and expect the delivery to be overnight from CA to NY. Therefore I want to show the static UPS ground shipping time in transit map when the shipping state is in the ground shipping zone.

    I tried to enable the zen lightbox on the checkout shipping, but since it utilizes a conflicting js framework than the delivery date module, I (=lazy js coder) resorted to slimbox that use the same js framework as the delivery date module. I’m using mootools 1.2 and the compatible calendar.js on the checkout shipping page. I have two frameworks for the site, but only one active per slimbox or lightbox page.

    You need to create an account to see the checkout shipping page. Our dev site is at pexplumber.com.

    It will be great if you can enable the delivery module to work with lightbox on the same page. Thanks

  6. #6
    Join Date
    Nov 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    hi i have read the readme file and i dont know how to: Run the sql statement (shipdate.sql) in your database - If you do not have the "zen" prefix in your database tables, remove it from the SQL statement before executing it.

    can anyone tell me step by step on how to do this?

    Thanks

  7. #7
    Join Date
    Nov 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    hi again..manage to run the sql thingy...but now i have another problem..i am clueless abt where to install the rest of the files...cound anyone help ?

  8. #8
    Join Date
    Jun 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    mrmeech,

    I see that a few others were wondering along with me if you had per chance had the time to add a time select option to your wonderfully made calander. Thanks again for your work!

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

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by Child_Of_The_Mind View Post
    mrmeech,

    I see that a few others were wondering along with me if you had per chance had the time to add a time select option to your wonderfully made calander. Thanks again for your work!
    Friends!! A whole page and a half of responses happened and i didn't receive a notification of a new post until today!!! How that happend, i have no clue. But it's the truth!

    Anyway, i DO have a variation with a time feature that will work, but is NOT implemented in the best way.

    Here's the 2 cents of background on why the time part is little "ghetto-implemented": Basically when i went to do this i COULD NOT get the javascript to consistently merge the date with the time and have it insert into the database as a "datetime" record. I ran into huge problems with the fact that the zen's checkout uses css buttons combined with a function to call/create the "continue" button image. Additionally, when i went to use a pre-made date and time picker javascript object, i couldn't get that to work either. Forgive me!!

    I will attach the package as is, which should work (provided you don't have any other checkout mods already installed). In it you will see commented out code from when i was feverishly trying to get a smooth datetime feature working.

    You are going to have to add times to the array - currently there is just 12:30 and 1:30, and the format must be in 24-hour format. You'll see when you get there. You can find it on the includes/templates/YOUR_TEMPLATE/template/tpl_checkout_shipping_default.php. It's around line 140 and looks like this:

    Code:
    <!-- Bof Order Delivery Date -->
    <fieldset class="shipping" id="delivery_date_details">
    <legend><?php echo TABLE_HEADING_DELIVERY_DATE; ?></legend>
    
    <label for="delivery_date_details">Date:</label>
    
    <input readonly="readonly" id="date" name="order_delivery_date_day" type="text">
    
    <select id="order_delivery_date_time" name="order_delivery_date_time">
    <option value="">Select Delivery Time</option>
    <option value="12:30:00">12:30pm</option>
    <option value="13:30:00">1:30pm</option>
    </select>
    </fieldset>
    THIS IS IMPORTANT:
    BACK UP YOUR DATABASE FIRST!!!
    If you have this installed already, you will need to alter the zen_orders table in the database. You *SHOULD* be able to just rename the row "order_deliver_date" to "order_delivery_date_day" and change the type from datetime to date. (I'm *pretty sure* this will preserve the date data, but don't hold me to it!) Then you need to add another row called "order_delivery_date_time" and make the type as just "time".
    The SQL file is attached, which should work if you haven't installed the Mod yet at all.

    And finally, KEEP THIS IN MIND:
    A number of months ago i read (i think) Ajeh's (who is a zen cart official) response to someone asking when the next version of zen cart (1.4) will be out, and the answer was basically some time before the end of december 2008 - WHICH IS VERY SOON (assuming they are still on track). Although not in their roadmap, it is likely that the checkout code will be changed.

    Because of the 48kb limit on file uploads i had to split/zip up the package. Make a folder called includes and decompress the following in there: Classes.zip, languages.zip, modules.zip, templates.zip

    Let me know how this works out for everyone.
    Attached Files Attached Files

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

    Default Re: Order Delivery Date Support Thread

    ...continued from my last post

    ...apparently in addition to the 48kb limit you can only add 4 files at a time - what a pain in the ##########_. Talk about file limits from the 1990's.

    Here are the four files to go inside the INCLUDES folder..
    Attached Files Attached Files

 

 
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