Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2009
    Location
    NC
    Posts
    174
    Plugin Contributions
    1

    Default Shipping/Lead Time

    What I'm trying to do is indicate to the customer how long the lead time will be (not necessarily the delivery date, but when it'll actually leave our facility here).

    I've attached a pic of what I'd like to see (not red though, I did that so it'd be easy to see what I'm trying to make happen here).

    What would I have to do to achieve this?

    Thanks again, in advance.

    Last edited by jdw1979; 11 Jan 2010 at 09:48 PM.

  2. #2
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Shipping/Lead Time

    The easiest way is to do it in days, and have an extra field in the database table "products". Set it up as an integer, and then call this value on the store side, and place it within a sprintf(TEXT_DELIVERY_TIME, $day_to_despatch) statement. This was you can do loads of things with it in the future if you want, such as estimating despatch times, and delivery dates depending on the products in the order.

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

  3. #3
    Join Date
    Jun 2009
    Location
    NC
    Posts
    174
    Plugin Contributions
    1

    Default Re: Shipping/Lead Time

    Okay, so I did this in a rather ghetto way. Please let me know if this is going to cause problems. Rather than adding stuff in the database, I changed the "product_weight" data format from "FLOAT" to "VARCHAR" and 11 characters. I then use Easy Populate's mechanism to upload data, but in the v_product_weight column I put my lead time information (Stock, Non-Stock, etc...). I then editing a couple of lines in various define(TEXT_PRODUCT_WEIGHT) to display the words "Lead Time" in lieu of "Weight." I also changed all the instances of TEXT_PRODUCT_WEIGHT_UNIT from 'lbs' to nothing.

    I know that Zen Cart does calculations with the weights you have in order to guess at shipping. The company for which I work has no need of this functionality as we have a different mechanism in place for determining shipping and letting the customer know of their shipping costs. So, other than that, is what I've done with changing the data that is displayed from being "weight-affiliated," for lack of a better word, to being "lead-time affiliated?" I really hope I didn't screw anything up.

  4. #4
    Join Date
    Jun 2009
    Location
    NC
    Posts
    174
    Plugin Contributions
    1

    Default Re: Shipping/Lead Time

    Just an update. My ghetto methodology paid off. It has worked quite well, and hasn't broken anything in the couple of weeks that it has been implemented. Whoo-hoo!

 

 

Similar Threads

  1. Edits in admin lead to blank pages
    By imaginarynumber in forum General Questions
    Replies: 3
    Last Post: 19 Feb 2015, 09:08 PM
  2. Product Lead Time
    By bravo14 in forum General Questions
    Replies: 1
    Last Post: 21 Feb 2011, 02:00 PM
  3. Menu buttons lead to nowhere
    By raindancesoaps in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Sep 2010, 05:22 AM
  4. Lead time product ordering?
    By dharry in forum Basic Configuration
    Replies: 1
    Last Post: 13 Jan 2010, 04:32 PM
  5. Products with ordering lead time?
    By dharry in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 1 Mar 2009, 09:55 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