Page 4 of 9 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 87
  1. #31
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Order Module

    Thanks so much Chuckl!

    The decending code worked like a charm!
    Now this is what I am running into...

    Quote Originally Posted by Chuckl View Post
    #2
    Same file, line 33, it uses the 'Email Address (Sent From)' in Admin-Configuration-Email Options.
    I have an email address in that section in Admin- Email Options but its not picking it up.

    Quote Originally Posted by Chuckl View Post
    #3
    I presume you want to use the cutomer order number there, not the po number?
    It won't accept order_number because the database field is called order_id, not order_number
    Do you think there would be any way to change this? I just tried butting in {order_id} in this area. However the only thing working is {po_number}[/QUOTE]

    Quote Originally Posted by Chuckl View Post
    #4
    I assume you mean that you would like to combine multiple products on 1 customer order supplied by the same subcontractor onto 1 email?
    The whole package is set up on a per product basis, rather than a per subcontractor basis, but this could probably be done without too much effort.
    }
    Cool. Now I wish I only knew how to do this....

    Because we rely on alot of Dropshipping companies. I see this as an indespensable mod that should be incorparated into the core release on zen. But who knows, maybe thats just me.

  2. #32
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Drop Shipping Purchase Order Module

    Thats odd on the email from side. I assume we are talking about the same thing, which is the From: in the email header?

    You can try forcing it, by just under this line in send_pos.php (line 35 or so)

    $PO_FROM=$row_from[0];

    add

    $PO_FROM='[email protected]';

    just below the above line,

    obviously replacing the correct email address in there, and see if that helps.

    I just checked the code to do with the Subject PO number. While it gives you the choice to have 'anything' in there in the admin config, in practice it is 'anything as long as it's the PO number'. I need to spend a minute or two to work out how to fix that.

    Don't fret too much about the one email/multiple product, it's a very good suggestion. I'll have a look when I get a mo'. Main blocking factor is the dreadful tortuous SQL code I have to wade through.

  3. #33
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Order Module

    I tried this on that line:

    //wyciaganie informacji od kogo jest e-mail
    $result_po_from=mysql_query("SELECT configuration_value FROM ".TABLE_CONFIGURATION." WHERE configuration_key='EMAIL_FROM'");
    $row_from=mysql_fetch_array($result_po_from, MYSQL_NUM);
    $PO_FROM=$row_from[0];
    $PO_FROM='nothingbutcostumes.com';
    But I still get (None) from the sender section in the email


    Quote Originally Posted by Chuckl View Post
    I just checked the code to do with the Subject PO number. While it gives you the choice to have 'anything' in there in the admin config, in practice it is 'anything as long as it's the PO number'. I need to spend a minute or two to work out how to fix that.
    Oh Thank you so much. The Link To add tracking numbers (As stated earlier does not work) So instead what I am asking from my vendors inside the email is to just reply leaving our order number in the subject of the email. Which would save me a step from having to look up the PO number to get the Order Number.

    Don't fret too much about the one email/multiple product, it's a very good suggestion. I'll have a look when I get a mo'. Main blocking factor is the dreadful tortuous SQL code I have to wade through.
    Which, If all of the above gets fixed would make this in fact a complete solution if any one wants to implement drop shipping into their site.

  4. #34
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Drop Shipping Purchase Order Module

    The

    $PO_FROM='nothingbutcostumes.com';

    needs to be [email protected]
    i.e.

    $PO_FROM = '[email protected]';

    If that fails, I'd also suggest you put a space in front of the email address, to see if that cures your 'none' problems
    i.e.
    $PO_FROM = ' [email protected]';

    if not, I'm afraid it is an email problem with your server setup, not a po mod problem.

    The Order # rather than PO # looks like it can be cured quite simply. Elegantly might take a bit more time.
    I don't have time to test it at the moment, I'll post it when I have done so.

  5. #35
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Order Module

    Quote Originally Posted by Chuckl View Post
    $PO_FROM = '[email protected]';.
    Sends it the same way I am having problems with.

    Quote Originally Posted by Chuckl View Post
    If that fails, I'd also suggest you put a space in front of the email address, to see if that cures your 'none' problems
    i.e.
    $PO_FROM = ' [email protected]';
    Doesnt send anything out at all.

    if not, I'm afraid it is an email problem with your server setup, not a po mod problem.

    Argh... I wouldnt know where to start. Its not on the server side, All that does it foward the address to a location. I cant find anything in conf....

    Quote Originally Posted by Chuckl View Post
    The Order # rather than PO # looks like it can be cured quite simply. Elegantly might take a bit more time.
    I don't have time to test it at the moment, I'll post it when I have done so.
    I look foward to it.. Thanks!

  6. #36
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Drop Shipping Purchase Order Module

    It sounds like your hosting setup is not allowing you to override the 'sendmail_from' address. Unfortunately send_pos.php uses the native mail() function on the server, rather than using the zen_mail function in Zen Cart, so nothing you change will make any difference. Another small change I should look at....

    Back to your order numbers, firstly, you would need to change the PO from in Admin-My Store from

    PO #{po_number}

    to

    Order # {order_number}

    Then look for the line

    $wielowymiar[$i][4]=$row4[31]; //id_orders

    around line 297, and add, repeat add

    $orderno=$row4[31];

    immediately after it.

    Then find

    $tematk=str_replace("{po_number}",$kod,$tematk);

    around line 433, and replace, repeat replace it with

    if (strpos($tematk,"{order_number}")) {
    $tematk=str_replace("{order_number}",$orderno,$tematk);
    }
    else $tematk=str_replace("{po_number}",$kod,$tematk);

    That should then give you your order site number in the subject, with the PO number in the body of the message.

  7. #37
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Order Module

    Parse error: parse error, unexpected T_STRING in /home/***/send_pos.php on line 436

    $tematk=$PO_SUBJECT;
    if (strpos($tematk,"{order_number}")) {
    $tematk=str_replace("{order_number}",$orderno,$tem atk);
    }
    else $tematk=str_replace("{po_number}",$kod,$tematk);
    $po_from="FROM:".$PO_FROM;
    $tracking_link_1=HTTP_SERVER.DIR_WS_ADMIN."confirm_track_sub.php?x=".$dlaemaila. "&y=".$kod;

  8. #38
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Drop Shipping Purchase Order Module

    Probably the space in the second $tematk

    $tematk=str_replace("{order_number}",$orderno,$tem atk);

    remove it.
    Suffered in the translation I guess.

  9. #39
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Drop Shipping Purchase Order Module

    Ok!

    It working! Uhhh... Almost!

    The only problem is when you click on morew then 1 Po to send out at
    one time. Then it sends the same number in the header in all the emails.

    Ok if you want to send out 1 at a time. But not good for multibles....

  10. #40
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Drop Shipping Purchase Order Module

    Ah, not all of us are in direct competition with Amazon and Co. Not used to sending out more than 1 PO at a time.

    Just add [$i] after each instance of $orderno -

    i.e. Change $orderno to $orderno[$i] in both areas you edited.

 

 
Page 4 of 9 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. Drop Shipping Purchase Orders Module for v1.3.8
    By Keepsake in forum All Other Contributions/Addons
    Replies: 523
    Last Post: 21 Feb 2021, 02:16 PM
  2. v150 Unable to install module: Drop shipping purchase order with pdf packing list
    By coucho in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 17 Jan 2013, 03:16 AM
  3. Drop Shipping Purchase Order Module?
    By Zis in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 14 Jan 2008, 02:57 AM
  4. Drop-shipping Purchase Order Mod
    By cmlarsen in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 13 Jun 2006, 08:16 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