Zen Cart Logo
Forums / All Other Contributions/Addons / Drop Shipping Purchase Orders Module for v1.3.8

Drop Shipping Purchase Orders Module for v1.3.8

Views: 135,051

Results 41 to 60 of 524
15 Mar 2008, 11:35 AM
#41
cowboyfred avatar

cowboyfred

Zen Follower

Join Date:
Dec 2005
Location:
colorado
Posts:
84
Plugin Contributions:
0

Drop Shipping Purchase Orders Module for v1.3.8

srturner47:

Thanks for all the work on this! This is a fantastic contribution.

One small problem -- The tracking seems to work fine from the email link. But, I can't seem to get it to work from Admin - Customers - POs-Enter Tracking Number. All I get is a blank page when I click this.

I can always enter them using the TY Tracker interface in my admin, but this makes it hard to deal with multiple shipments as it won't show what products shipped with each shipment.

Is anyone else able to get this to work?
I have, everything seems to be working good. although i am still testing with orders,shippers and customers to make sure everything is working good.

15 Mar 2008, 5:50 PM
#42
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

Well, I think the newest version of this must have some problems in admin/confirm_track.php -- I went through the file and found some small issues, but it still didn't work. I must be missing something. Here's what I found:

A couple of %2 are in there instead of a space.

A couple <? are in there instead of <?php

Could you post or PM me the copy of admin/confirm_track.php that you are using successfully? I bet this will fix my problem.

Thanks!

15 Mar 2008, 7:55 PM
#43
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

I found a little bug. If you split an order in two between two suppliers/drop shippers only the first tracking information will be sent to them. To fix this, I changed the following in confirm_track_sub.php

Around line 170 change $customer_notified=1; to this:

if($order_shipping_complete==1) {
$customer_notified=1;
} else {
$customer_notified=0; }

16 Mar 2008, 6:30 AM
#44
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

I found a few other little bugs, but they only seem to affect the resending of old P.O.s:

  1. Old POs will only resend to the original dropshipper no matter what you choose.
  2. Old POs won't combine items onto one PO like New POs does for the same orders.
  3. Old POs won't include product attributes.

I tried to fix the third one, but wasn't able to figure it out.

By the way, I've gone ahead and made some changes to make this contribution easier to use. I realized that I was going to need more information to decide who I would drop ship with. So, I added Customer Comments, State, and Shipping Choice to the New Orders page. This way I can evaluate what the cheapest method to ship something is. I can also see if there are any special requests in the comments that I need to accomodate before blindly sending a PO out. If people are interested I'd be happy to share the changes to do this.

If anyone figures out how to fix the Old PO resend problems please let me know.

Can someone post an old copy of confirm_track.php that is working for them. I still get nothing on Admin-Customers-PO Enter Tracking #. :( I'd really like to try an older version and see if something is up with the newest one.

24 Mar 2008, 7:45 AM
#45
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

I've made some serious changes to this mod, and I am considering re-releasing it. First, I'd just like to ask if that is ok with anyone who has worked on this. I know I have the right to do so as there is no restrictive license on this code, but I'd hate to step on anyone's toes.

Here's what I've done so far:

  1. Implemented PDF packing lists that automatically attach to the email purchase orders. These have customer comments, and only include the products that ship with each purchase order. If the purchase order is a partial shipment, this is indicated on the PDF packing list.
  2. Reworked confirm_track.php. As stated in my previous post, this was badly broken. I fixed a lot of bugs and cut a lot of code. I also added who the purchase order was sent to. It seems to work fine now.
    3)As noted in my last post, I added a ton of extra information to the send PO page.
    4)Emails to customers now include all products shipped regardless of whether or not the shipment was a partial shipment or not. The old one only listed the products if it was a partial shipment
    5)I simplified the PO # and Order # system. Now, PO #'s are what used to be Order #-PO #. So for example, if the PO # is 5 and the order # is 10 the new PO# would be 10-5. This way, there is only one number that your subcontractor needs to know, but you have all the information you might need in this number.
    6)Changed the tracking input page so that all products are checked by default. The most common scenario is that all products shipped at once, so this is the easiest way to handle this. If not, you can still easily uncheck products.

Here are two things that I still have not addressed that I would like to address before re-releasing this:

  1. The Resend PO page has a ton of problems. In addition to the problems I have already posted, the PO is always resent to the same subcontractor! Yikes!! Big problems... I have not worked on the resend page at all.

  2. I'd like to remove one of the two "own stock" selections. Why do we need two of them?

28 Mar 2008, 2:55 AM
#46
jimmyv avatar

jimmyv

Zen Follower

Join Date:
Feb 2008
Location:
Philadelphia
Posts:
292
Plugin Contributions:
2

Re: Drop Shipping Purchase Orders Module for v1.3.8

That sounds amazing. Most of those mods you have planned are very good. Keepsake I think originally did this mod and has been excellent for support on it as it grew. Perhaps they can weigh in on your question.

29 Mar 2008, 2:50 AM
#47
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

I figure if I don't hear from anyone before this is ready, I'll just release it. I may not be able to tackle the resend POs; I keep finding more and more problems with it. I'll certainly give it a try, but I'm not going to kill myself trying to fix it.

By the way, if you are using this module, please be aware that there is a bug with the shipping when sending new POs. When sending multiple orders, it will only use one type of shipping for all of your orders! So, be careful, and send orders out one at a time. Otherwise, you may end up with an expensive shipping bill from your subcontractors! :) I've fixed this problem, and when I can pull everything together, my new release will include this fix.

If I don't end up fixing the resend problems, all I really need to do is take out the code that is specific to my site. I've been using the modified system for a little over a week now, and the only problem I had was with the shipping. (Luckily, I stocked the product that led me to discover this error!!)

29 Mar 2008, 4:15 AM
#48
jderrers avatar

jderrers

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

i noticed an issue recently with the email that gets sent in the OLD version (which I am still using). Where it says {delivery adress} in the email, it is not sending the ENTIRE shipping address. Instead, if an address has more than one line, for example:

John Doe
1234 Street
Apt. #4
City, State 12345

it only sends:

John Doe
1234 Street
City, State 12345

It is missing the other line. This is a serious issue. Does anyone else have this problem? How can I fix this?

Thank you!
Jaime

29 Mar 2008, 10:37 PM
#49
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

I already fixed that problem for sending new POs. When I release my changes, it should work with the second address line.

With old POs, I haven't bothered. The resend function has too many other serious problems to even begin tackling the little problems like this one.

If you want to fix it yourself, the variables you need to call from the database for address line 2 are customer_suburb, delivery_suburb, and shipping_suburb. You'll have to create a simple function to check if there is any data, otherwise you will end up with a blank line for all the addresses without a second line.

Hope that helps!

30 Mar 2008, 3:53 PM
#50
cowboyfred avatar

cowboyfred

Zen Follower

Join Date:
Dec 2005
Location:
colorado
Posts:
84
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

srturner47:

I figure if I don't hear from anyone before this is ready, I'll just release it. I may not be able to tackle the resend POs; I keep finding more and more problems with it. I'll certainly give it a try, but I'm not going to kill myself trying to fix it.

By the way, if you are using this module, please be aware that there is a bug with the shipping when sending new POs. When sending multiple orders, it will only use one type of shipping for all of your orders! So, be careful, and send orders out one at a time. Otherwise, you may end up with an expensive shipping bill from your subcontractors! :) I've fixed this problem, and when I can pull everything together, my new release will include this fix.

If I don't end up fixing the resend problems, all I really need to do is take out the code that is specific to my site. I've been using the modified system for a little over a week now, and the only problem I had was with the shipping. (Luckily, I stocked the product that led me to discover this error!!)

srturner47
did you release the new version? also, did you place it in the downloads section?

30 Mar 2008, 6:51 PM
#51
jderrers avatar

jderrers

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

That is way beyond my scope of expertise since I am not a programmer. Can anyone help me? If you can tell me what code to replace that would be easiest for me since I do now know how to write code. Thank you again for your help!

31 Mar 2008, 1:50 AM
#52
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

Just upgrade to the version I just released. I uploaded it to Zen Cart's contributions, so it should be up soon.

Here are the release notes for this upgrade:

  1. Implemented PDF packing lists that automatically attach to the email purchase orders. These have customer comments, and only include the products that ship with each purchase order. If the purchase order is a partial shipment, this is indicated on the PDF packing list.
  2. Reworked confirm_track.php. This was badly broken. I fixed a lot of bugs and cut a lot of code. I also added who the purchase order was sent to. It seems to work fine now.
  3. Added a ton of extra information to the send PO page.
  4. Emails to customers now include all products shipped regardless of whether or not the shipment was a partial shipment or not. The old one only listed the products if it was a partial shipment
  5. Simplified the PO # and Order # system. Now, PO #'s are what used to be Order #-PO #. So for example, if the PO # is 5 and the order # is 10 the new PO# would be 10-5. This way, there is only one number that your subcontractor needs to know, but you have all the information you might need in this number.
  6. Changed the tracking input page so that all products are checked by default. The most common scenario is that all products shipped at once, so this is the easiest way to handle this. If not, you can still easily uncheck products.
  7. Fixed many problems with the PO resend page. Basically, I just reused the code for PO sending with a few modifications. It seems to have fixed all the bugs.
  8. Got rid of duplicate Own stock entry in drop-down menus.
  9. Added search capability for Order Numbers in PO Resend page.
  10. Fixed problems with incorrect shipping when sending multiple POs at once.
  11. Fixed problems with 2nd line of address and company not showing up in addresses.
  12. Added the ability to add comments to packing lists and POs.
  13. Changed the default behavior so that orders are not listed on the Send PO or Resend PO page if they have been marked "Delivered" in Zen Cart.
  14. Added the ability to reinsert "Delivered" products on the Resend PO pages with a checkbox.
  15. Added the ability to remove customer comments from packing lists.
  16. Changed the default behavior so that when an order is sent to subcontractor, the order is changed from "Pending" to "Processing." The customer IS NOT notified when this happens, but they can see this in their account if they log on. After the first part of the order is sent to a subcontractor, it will no longer do this for future POs.
  17. Changed the wording and date format to reflect the changes made and the U.S. date system of MM-DD-YYYY. The exception was on the Resend PO page, where for logistical reasons, changing the date format would have been more difficult to do.
  18. Added a warning about refreshing the page.
  19. Changed default number of POs to show on one page to 100.
  20. If you split an order in two between two suppliers/drop shippers only the first tracking information was sent to the customer. This has been fixed.
  21. Change mailing addresses to reflect the format used in the United States.
  22. Added a way for you to convert one type of shipping to "Cheapest" on the PO.
  23. I've probably forgot something! But, this seems like everything I can remember doing. :)

Enjoy!

31 Mar 2008, 3:06 PM
#53
jderrers avatar

jderrers

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

I'm still using 1.3.7 - will it work with that ok?

31 Mar 2008, 4:16 PM
#54
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

I honestly don't know for sure. I don't see why it wouldn't work, but you never know!

More likely than not, it will work fine. You don't have to make any SQL changes because you have previously installed this, so just make sure you back up your store and your SQL database before you install over them. Then, if it doesn't work, you can always revert back.

31 Mar 2008, 8:11 PM
#55
jderrers avatar

jderrers

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

Thank you! Can you please post a link when it is up?

1 Apr 2008, 6:39 PM
#57
jderrers avatar

jderrers

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

**When I click on Send/Resend POs (/admin/send_pos.php):

Warning**: main(fpdf/fpdf.php) [function.main]: failed to open stream: No such file or directory in /home/wolf/public_html/vitamindesignshop/admin/pdfpack.php on line 2

Warning: main(fpdf/fpdf.php) [function.main]: failed to open stream: No such file or directory in /home/wolf/public_html/vitamindesignshop/admin/pdfpack.php on line 2

Warning: main(fpdf/fpdf.php) [function.main]: failed to open stream: No such file or directory in /home/wolf/public_html/vitamindesignshop/admin/pdfpack.php on line 2

Fatal error: main() [function.require]: Failed opening required 'fpdf/fpdf.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wolf/public_html/vitamindesignshop/admin/pdfpack.php on line 2

1 Apr 2008, 6:46 PM
#58
jderrers avatar

jderrers

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

I also don't have: Admin->Configuration->Purchase Orders

1 Apr 2008, 6:55 PM
#59
jderrers avatar

jderrers

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

nevermind about the admin--->configuration and the errors :) i seem to have fixed most of these issues. am now testing.

1 Apr 2008, 7:15 PM
#60
jderrers avatar

jderrers

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

OK So I am one of the ones who is upgrading, not installing fresh. So, here are my questions:

  1. When the email comes to me, the FROM line is: PO_FROM_EMAIL_NAME
  2. There is no PDF attachment at all.
  3. I have nowhere to configure anything - where is this located? Did I need to change something?

Other than these things, its great!

Thank you!
Jaime