Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2004
    Posts
    237
    Plugin Contributions
    2

    Default edit usps shipping module -- help needed

    I need to edit the string that is printed out for usps. We use shipworks to ship and it can only view the 1st 40 characters of the shipping field to determine shipping. I need the shipping type to be within that range.

    On a completed order here is what I get
    United States Postal Service (1 Boxes) (1 lbs, 1 oz) (Standard Post)

    This is what I want
    United States Postal Service (Standard Post) (1 Boxes) (1 lbs, 1 oz)

    Thanks
    tom

  2. #2
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: edit usps shipping module -- help needed

    Not using ShipWorks but I'll give it a try.

    What database table and what datafield does ShipWorks download for shipping?
    The reason I ask is that our database does not save the number of boxes, nor weight in the Orders table => Shipping_method field.

    ShipStation uses the shipping_method field to trigger their internal automation filters and rules. Maybe ShipWorks uses a different field or maybe zencart is saving the number of boxes and weight in the shipping_method field and turning that off will resolve your issue?

    These are examples of what is in my shipping_method field. If you had that, it sounds like your problem would be resolved since the data needed is within the first 50 characters.

    United States Postal Service (First-Class Mail Parcel)
    United States Postal Service (Priority Mail™ Small Flat Rate Box)
    Last edited by RixStix; 24 Aug 2013 at 05:04 PM.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  3. #3
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: edit usps shipping module -- help needed

    It appears that ShipWorks is building its own text string for what you pasted since that data is not located anywhere within the ZC database in the format that you posted.

    IF ShipWorks used the ZenCart orders table; shipping_method field (without modification), the information that you say you need within the first 40 characters. (50 characters according to a SW comment that I read recently.)

    Can you ask SW about how they arrive at the datastring that you posted?
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  4. #4
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: edit usps shipping module -- help needed

    OK, so I downloaded the 75MB SW zipfile, then the MSFT SQLserver 2008 files, then finally got the zencart php file.

    Looks like SW is downloading Table:Orders_total:TITLE which in my case is identical to Table:Orders:shipping_method with the exception of a trailing colon.

    From my database, the data is
    United States Postal Service (First-Class Mail Parcel)

    From your example, it appears that SW is inserting other information in the middle
    United States Postal Service (1 Boxes) (1 lbs, 1 oz) (Standard Post)

    If SW would remove, or not insert, their additional data, your needed information would be within the first 50 characters. The info that you need is within the first 50 characters that SW appears to be receiving from ZC.

    What does the shipping show on a printed invoice?
    • United States Postal Service (1 Boxes) (1 lbs, 1 oz) (Standard Post): OR
    • United States Postal Service (Standard Post):
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  5. #5
    Join Date
    Oct 2004
    Posts
    237
    Plugin Contributions
    2

    Default Re: edit usps shipping module -- help needed

    RixStix-- thanks. My invoices do show
    United States Postal Service (1 Boxes) (1 lbs, 1 oz) (Standard Post)

    I will dig into the shipworks template that I think is used to generate the labels. I'll post an update.

    Again-- I appreciate you looking at this.
    Tom

 

 

Similar Threads

  1. Edit text and style USPS shipping module?
    By BPweb in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 26 Jun 2015, 06:50 PM
  2. v139h Cannot edit USPS shipping module
    By hmbuhler in forum Addon Shipping Modules
    Replies: 0
    Last Post: 5 Sep 2012, 04:33 PM
  3. USPS Flat Rate Shipping help needed
    By ruralcandles in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 5 Mar 2008, 05:09 PM
  4. Shipping Module Help Needed Please
    By jund in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 20 Aug 2007, 08:44 PM

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