Page 3 of 53 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 524
  1. #21
    Join Date
    Feb 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Orders Module for v1.3.8

    Me too. Even with the updated version. Here is how I fixed it for myself.

    1. Cut, but copy, all of the text before the <? character that is right above the text that explains which lines to edit for admin.

    2. Paste that text immediately after the line that says //echo TRACKING_CUSTOMER_DATA (basically, you're moving all of the header HTML beneath all of the require statements so that it doesn't get sent until the session data can be sent.

    3. Enclose that text within these characters:

    <? and ?> -- The <? goes before all of the HTML you're pasting in and the ?> goes after the HTML. If you're not familiar with php this turns off PHP processing so that regular HTML can be sent to the browser, and then turns it back on.

    This is what it ends up looking like:

    Code:
    //echo TRACKING_CUSTOMER_DATA;
    
    ?>
    
    <html>
    <head>
    <html>
    <head>
    <TITLE>Confirm tracking</TITLE>
    <link rel="STYLESHEET" type="text/css" href="admin/includes/style_tracking.css">
    
    </head>
    
    <body>
    
    <?
    
    if($_POST['save']=='save')
    Keepsake: I'm not sure if this is what you intended to do but if you send anything before a session cookie you'll get the errors shown below, and apparently when you require something here it tries to do session cookie stuff. I'm by no means a guru of PHP but I know this much from tinkering.


    Quote Originally Posted by gabstero View Post
    Gang,

    I seem to be having slightly different error messages upon a click on the link at the bottom of a PO email (although everything seems to be working fine otherwise):

    Code:
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/admin/confirm_track_sub.php:10) in /home/includes/functions/sessions.php on line 108

  2. #22
    Join Date
    Sep 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Orders Module for v1.3.8

    Quote Originally Posted by jgarvas View Post
    Keepsake: I'm not sure if this is what you intended to do but if you send anything before a session cookie you'll get the errors shown below, and apparently when you require something here it tries to do session cookie stuff. I'm by no means a guru of PHP but I know this much from tinkering.
    I did know that much. :) I just didn't realize that the session cookie is sent from the files that are required in the script... To be honest I never even had that problem at all, I never saw that message on my setup, not sure why.

    Did the solution you outlined work for you?

    I've updated the code again with your suggestions.

  3. #23
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Orders Module for v1.3.8

    Keepsake & Ggarvas -

    YES! it worked for me! The only minor thing was that apparently the css formatting was not applied any more but everything else worked as a whiz!

    Side question. Since the confirm_track_sub.php form submits user info, shouldn't that be using the https? Any tweaks for that?

    Thanks a lot for the tips!!!

    Gabstero

  4. #24
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Orders Module for v1.3.8

    Dumb question #1:

    SCs (Sub Contractors) are hitting the zencart ADMIN login page when clicking on the email footer link to enter tracking. Should I create an admin login for them??


    Dumb quesiton #2:
    Shouldn't the buyer receive a notification email with the tracking number?

    Thanks!
    Gabstero

  5. #25
    Join Date
    Feb 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Orders Module for v1.3.8

    Good point on the CSS. I was just happy to see it working so I forgot about fancy looks.

    With #1 - I think the idea is to allow SCs to update the tracking number without giving them access to your store. Thats definitely how I'd like it to work. (Heck, I'd like to either automate send_pos.php or allow it to be manipulated without admin access to the entire store).

    The only way the confirm script appears it will do anything is if a proper order is supplied, and once that order is updated it can't be updated again. (or so it looks), so brute forcing it wouldn't be that big of a risk. You could probably put it into a directory like /tracking/ and put an .htaccess on that if you wanted to be safe.

    #2 - I am getting emails from my test environment:

    From: Test Store

    Test Store
    ------------------------------------------------------
    Order Number: 5

    Detailed Invoice:
    {URL Redacted}/index.php?main_page=account_history_info&order_id=5

    Date Ordered: 2008-02-14 20:20:00

    The comments for your order are: Completed shipping this order.

    Your FedEx Tracking ID is 4532432432
    You can track your package at
    http://www.fedex.com/Tracking?action...ers=4532432432

    Your order has been updated to the following status:
    New status: Delivered

    Please reply to this email if you have any questions.

  6. #26
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Orders Module for v1.3.8


    Good point on the CSS. I was just happy to see it working so I forgot about fancy looks.
    Me too. I just went in and turned on the table borders to have some sort of a layout.

    With #1 - I think the idea is to allow SCs to update the tracking number without giving them access to your store. Thats definitely how I'd like it to work. (Heck, I'd like to either automate send_pos.php or allow it to be manipulated without admin access to the entire store).
    Agreed. It would be also nice to have a SC login of some sort of limited access to their previous orders, etc.

    The only way the confirm script appears it will do anything is if a proper order is supplied, and once that order is updated it can't be updated again. (or so it looks), so brute forcing it wouldn't be that big of a risk. You could probably put it into a directory like /tracking/ and put an .htaccess on that if you wanted to be safe.

    #2 - I am getting emails from my test environment:
    MAkes sense. And yes, the user recives the email but only when I go into the order, and do an update of some sort like change the Status to Update, or by adding something in the Comments box. Or even adding a new tracking to the existent one.

    But hey - it works so far! Thanks a lot!

    G

  7. #27
    Join Date
    Sep 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Orders Module for v1.3.8

    Quote Originally Posted by gabstero View Post
    Side question. Since the confirm_track_sub.php form submits user info, shouldn't that be using the https? Any tweaks for that?
    It doesn't submit user info it pulls user info from the database. I don't think https here makes any sense.

    Maciek

  8. #28
    Join Date
    Sep 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Orders Module for v1.3.8

    Quote Originally Posted by gabstero View Post
    Me too. I just went in and turned on the table borders to have some sort of a layout.
    For me, the CSS works just fine in confirm_track_sub - which CSS doesn't work for you, ie. in which file? Because in this one it works... Unless you redirected your admin which means you have to change the link href.

    Code:
    <html>
    <head>
    <html>
    <head>
    <TITLE>Confirm tracking</TITLE>
    <link rel="STYLESHEET" type="text/css" href="admin/includes/style_tracking.css">
    </head>
    Quote Originally Posted by gabstero View Post
    Agreed. It would be also nice to have a SC login of some sort of limited access to their previous orders, etc.
    Well this module was a simple one in it's design assumptions, what you're talking about here is a whole new functionality that would be really complex to create. SCs should copy all emails to another folder for future reference and this would work as their order history.

    Quote Originally Posted by gabstero View Post
    MAkes sense. And yes, the user recives the email but only when I go into the order, and do an update of some sort like change the Status to Update, or by adding something in the Comments box. Or even adding a new tracking to the existent one.
    That's how Ty_Tracker is designed it only emails the user if you change something in the order AND check "Notify user" - it allows you to perform order changes without notifying the user also.

    My code turns on the notify user function and updates the comment and I also get emails to my test user account so it works just fine.

  9. #29
    Join Date
    Feb 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Orders Module for v1.3.8

    Quote Originally Posted by Keepsake View Post
    For me, the CSS works just fine in confirm_track_sub - which CSS doesn't work for you, ie. in which file? Because in this one it works... Unless you redirected your admin which means you have to change the link href.
    Is the CSS just drawing a box around the fields or does it bring in other theme related colors? If its just a box then mine is working.

    Well this module was a simple one in it's design assumptions, what you're talking about here is a whole new functionality that would be really complex to create. SCs should copy all emails to another folder for future reference and this would work as their order history.

    That's how Ty_Tracker is designed it only emails the user if you change something in the order AND check "Notify user" - it allows you to perform order changes without notifying the user also.

    My code turns on the notify user function and updates the comment and I also get emails to my test user account so it works just fine.
    Did you write most of send_pos.php or did you inherit that? The different language throws me off from variable names to comments in the code. I'd like to try to identify the query that shows all the un-sent POs and the code that sends them when they're checked.

    I'd like to write an alternative to send_pos.php that generates a list of non-processed PO's and processes them along with their default SC as if all of the check boxes were marked. For the store I run the suppliers are fairly static and this simple hack would automate my store. (Everything is drop shipped)

    Can you help me figure out what code I need in send_pos.php?

  10. #30
    Join Date
    Jan 2005
    Posts
    22
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Orders Module for v1.3.8

    I updated with the latest code release, and everything is working fine so far!

    Thanks for the help!

 

 
Page 3 of 53 FirstFirst 1234513 ... LastLast

Similar Threads

  1. v151 Drop Shipping Purchase Orders w/ PDF Packing List (v3.22)
    By Danielle in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 16 Nov 2015, 01:48 PM
  2. Can I change the dates in Drop Shipping Purchase Orders Module?
    By unlucky-pete in forum Customization from the Admin
    Replies: 0
    Last Post: 23 Feb 2013, 09:08 PM
  3. Drop Shipping Purchase Order Module
    By jderrers in forum All Other Contributions/Addons
    Replies: 86
    Last Post: 9 Jul 2009, 09:30 AM
  4. Drop Shipping Purchase Order Module?
    By Zis in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 14 Jan 2008, 02:57 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