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,056

Results 121 to 140 of 524
10 May 2008, 2:27 AM
#121
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Drop Shipping Purchase Orders Module for v1.3.8

Ok very tired. And I am confused. On my main web site directory I have a list of file folders that are called admin, email, includes, etc. I copied the file into this list and extracted the zip file and it created the folder called purchaseorders.
Not sure where to place the file...

10 May 2008, 2:31 AM
#122
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

ok...think the brain finally kicked in....I take each file and copy to area it should be in like...admin go's into admin area...email files...

10 May 2008, 4:17 AM
#123
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

Yes I was looking for this type of plug when I first launched 3 months ago because I knew I'd be dead manually processing everything after conversion and then this arrived. The first version was clunky but worked. v 2.0 quite good and v 3.0 hits the spot and solves those few issues that remained.

Again excellent work and I will edit the code as noted. I just didn't want to risk it without some basis of confidence.

Your attention to this thread is to be commended.

:bigups:

Had it working heavily today without any problems so I'd say it is basically free of bugs unless you make an error loading the plug or have somehow modified your site to conflict.

10 May 2008, 4:34 AM
#124
srturner47 avatar

srturner47

Zen Follower

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

Re: Drop Shipping Purchase Orders Module for v1.3.8

Thanks JimmyV! By the way, don't be afraid to poke around. I'd never coded a thing with PHP, and had only created a website for a class once until I started my website. I've never read a book about PHP or HTML - Everything was learned on the job. Just look at the code, after a while, it becomes obvious what is going on. The changes to v3.0 were gradual on my end, and I have been using it on my site daily. I'm fairly confident everything works, but of course, there is always the risk of a bug here and there. :)

kburner - yes, that will work. But, you are making this much harder than it needs to be. Just compress every file and directory INSIDE the purchase orders directory, upload it to the main directory, and then uncompress. All files should be where they are supposed to be unless you have renamed the admin directory. Your mistake was to uncompress the file as is. FYI- You'll never need the readme or .SQL files to be uploaded. These can always be excluded. However, I do have a file that is VERY important in the root directory - confirm_track_sub.php - so don't forget that!!! If you are new to Zen Cart I have two pieces of advice:

  1. Backup before you do anything.

  2. Read the instructions carefully included with each mod. They will usually have step-by-step installation instructions.

Good luck!

11 May 2008, 6:28 AM
#125
cropinstop avatar

cropinstop

New Zenner

Join Date:
Oct 2006
Location:
Surprise Arizona
Posts:
73
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

Upgraded to version 3.0 from 2.0, and have 2 problems

  • Heading for admin panels Modules/Shipping, Modules/Payment and Modules/Order Total is Edit Subcontractors

  • Can not get past Step 1 when trying "Send PO for Unknown Customer". Select a category in the dropdown, and resets to Top.

Zencart 1.3.8,
Browser = Firefox 2.0.0.14, or IE 6.029

11 May 2008, 7:50 AM
#126
srturner47 avatar

srturner47

Zen Follower

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

Re: Drop Shipping Purchase Orders Module for v1.3.8

Ack! You caught a bug! :) I'll release an updated version 3.01 to address the issue with the heading titles. The update will be easy, just copy over the following files to upgrade from 3.0:

/admin/edit_subcontrac.php
/admin/includes/languages/english/extra_definitions/edit_subcontrac.php
/admin/includes/languages/english/extra_definitions/send_pos.php

As for the send po for unknown, I really don't have any idea why it won't work for you. I went ahead and tested the file I uploaded compared to the one file I use for send_pos_nc, and it seemed to work fine.... I use firefox as well, both 3beta and 2 depending on the computer. Both work fine....

I do have one idea, and if this is the case, this is a big bug! The add product part of send_pos_nc was adapted from the Edit Orders mod, which was uploaded by Numinix and is available in the downloads section. Could you install this mod and see if this fixes your problem? If so, I'll have to roll up my sleeves to find what edit orders installed that you will need for this to work!

I'll wait to release 3.01 until I hear whether or not this fixes your problem.

For anyone else who has installed this mod, can you check and see if you are having the same problem on the send pos for unknown customers page, and also report whether or not you have edit orders installed. This will help me determine whether or not we have a bug on our hands.

Thanks!

11 May 2008, 11:50 AM
#127
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

srturner47:

For anyone else who has installed this mod, can you check and see if you are having the same problem on the send pos for unknown customers page, and also report whether or not you have edit orders installed.
Yes, I have this problem and no I don't have edit orders installed.

However, I can't make it work anyway: it does not generate pdf packing lists and it does not send out any content in the html part of the email: just

$EMAIL_MESSAGE_HTML

but I'm not sure if it ever sent out html emails in the past.

(later) I've found some php errors which might help explain:
Call to undefined function zen_get_orders_comments() in /home/www/web90/web/admin/orders.php on line 871

PHP Warning: Division by zero in /home/www/web90/web/admin/pdfpack.php on line 77

11 May 2008, 7:02 PM
#128
srturner47 avatar

srturner47

Zen Follower

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

Re: Drop Shipping Purchase Orders Module for v1.3.8

hairydog - are you using zen cart 1.3.8? The undefined function you posted is part of zen cart, not my mod. You'll need the latest version of zen cart for this to work! Also, orders.php is part of zen cart, not my mod (It is the customers/orders page in admin). So, I really am confused as to how you got this error!

One other thought -- Could you have accidentally deleted or overwritten the following file: admin/includes/functions/general.php? This is where the zen_get_orders_comments function is defined.

11 May 2008, 9:58 PM
#129
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

Very odd. As far as I know, this is the current version of Zen Cart (it says it is the current version) but the functions/general.php file was
$Id: general.php 5435 2006-12-28 19:09:50Z drbyte $
and there is another site with a clean install of Zen Cart that has functions/general.php of
$Id: general.php 7125 2007-09-29 00:03:01Z ajeh $

I wonder if the older version is one that was installed by an add-on?

Anyway, that error has gone away and now I am getting a pdf file generated. But it isn't being sent out with the email and the html version of the email hasn't got the right content. Perhaps there is a similar problem with an email file being wrong.

Think I'm going to have to find out what is wrong with this installation.

11 May 2008, 10:33 PM
#130
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

[later] Re-installed all the v1.3.8a files and it seems to be better now. Still not sending html emails, but it is now attaching the PDF - so I'll simply use plain text emails. The Unknown Customer bit doesn't work, but you expected that, I think.

It's worth mentioning that there are no 'e' buttons to edit orders - I guess that's because the addon is missing

11 May 2008, 11:57 PM
#131
srturner47 avatar

srturner47

Zen Follower

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

Re: Drop Shipping Purchase Orders Module for v1.3.8

Glad to hear that fixed your problem! I've never used HTML emails for this, just plain text. I prefer that, especially for subcontractors, as they don't need anything pretty to fulfill orders! :) The PDF file is really for the customers (even though it goes to the subcontractor), so that looks a little more polished.

Hmmm... Not quite sure what you mean about the e for edit orders. The edit orders add-on is not the same as the edit orders included with Zen Cart. You might want to look into that and see what is going wrong. Still sounds like you are missing a few files in 1.3.8a. Also, try clearing your browsers cache. That might be the problem with the e.

12 May 2008, 12:28 AM
#132
srturner47 avatar

srturner47

Zen Follower

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

Re: Drop Shipping Purchase Orders Module for v1.3.8

Alright. The fix for the headings was easy. But, I can't seem to reproduce the bug with category selection reverting back to "Top". I tried taking out the functions from the edit orders mod, but it still worked fine. I've looked over the code, and I see no issues! :( Could someone who is having this problem please put this debug line into their code and let me know what they get. This will at least point me in the right direction.

On line 514 (the line before // Set Defaults), change from nothing to this:

echo "Add products category id - ".$add_product_categories_id."<br />Add products category id IsSet - ".IsSet($add_product_categories_id)."<br />Step - ".$step."<br />Current Category ID - ".$current_category_id."<br /><br />";

Please let me know what these values are both before choosing a category, and what they become after choosing a category.

13 May 2008, 4:40 AM
#133
cropinstop avatar

cropinstop

New Zenner

Join Date:
Oct 2006
Location:
Surprise Arizona
Posts:
73
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

srturner47:

Ack! The add product part of send_pos_nc was adapted from the Edit Orders mod, which was uploaded by Numinix and is available in the downloads section. Could you install this mod and see if this fixes your problem? If so, I'll have to roll up my sleeves to find what edit orders installed that you will need for this to work!

Thanks!

Installed Edit Orders,, same problem - no step 2

Installed the debug code at 514.
Before selecting on the dropdown

Add products category id -
Add products category id IsSet -
Step -
Current Category ID - 0

After selecting on the dropdown

Add products category id -
Add products category id IsSet -
Step -
Current Category ID - 0

Suspect this is not the expected result:no:

13 May 2008, 7:03 AM
#134
srturner47 avatar

srturner47

Zen Follower

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

Re: Drop Shipping Purchase Orders Module for v1.3.8

Thanks cropinstop. No, that is not what I want to see. :( I still can't figure out why it works for me, but it doesn't work for anybody else.... I'll keep playing with it and try to figure this out. :frusty:

13 May 2008, 4:01 PM
#135
gabstero avatar

gabstero

Zen Follower

Join Date:
Nov 2007
Posts:
342
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

srturner47:

gabstero - Yes, the one in the admin folder. Are you using the new version, 3.0? If so, the code has changed. Just search for {shipping_method}, these are the lines that determine what goes in the {shipping_method} part of your P.O. There are now two places in the code that handle this, as shipping method can be entered in the header OR the footer in 3.0. 2.0 only worked with shipping method in the footer.

I honestly don't know if 3.0 will work with 1.3.7.1. I've heard that 2.0 had some troubles with 1.3.7.1. Never tested it myself. Sorry!

Thanks so much!

You are one of the rare ones that actually supports actively his mods! A thing to be very much appreciated!

Thanks for your response also, but I wanted to make sure if I got my question right:

I am curious to know if the tweak you mentioned (with the {shipping_method}) will actually display for the Customer a separate shipping fee per SC in a mixed cart checkout. For example:

Product 1 Price: $34
FedEx shipping fee: $12

Product 2 Price: $34
UPS shipping fee: $25

Product 3 Price: $34
USPS shipping fee: $10

Something similar what the MVS mod (for OSCommerce) does... There you can specify a separate shipping method for each Manufacturer (Sub Contractor) and the shipping price for each product will be calculated according to that.

I suspect that your fix will only allow me (the store administrator) to specify a separate shipping method per SC in the PO sending process, right?

In that case - do you have in mind to add that functionality to it later on?

Even if not, the mod is extremely convenient, and thanks so much again for being on top of things!!!

cheers!
Gabstero

13 May 2008, 6:45 PM
#136
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Drop Shipping Purchase Orders Module for v1.3.8

gabstero:

Something similar what the MVS mod (for OSCommerce) does... There you can specify a separate shipping method for each Manufacturer (Sub Contractor) and the shipping price for each product will be calculated according to that.

This feature, to be able to specify different shipping options per vendor and having that be added to the cart functionality, would be super fantastic and I would be willing to contribute $$ towards it to help it along.:bigups:

13 May 2008, 9:33 PM
#137
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

Thank you for your help. I am a newbee and this can be very challenging. I really appreciate your help. I need this mod badly as I have three vendors I am going to be working with. I am still trying to read all the threads.

Everything loaded except when I go to admin/extras/ po edit subcontracs...I do not see anyway to add them. I may be looking in the wrong place.

Which version is the latest for me to load? I think I may have loaded an older version.

14 May 2008, 2:01 AM
#138
srturner47 avatar

srturner47

Zen Follower

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

Re: Drop Shipping Purchase Orders Module for v1.3.8

gabstero and lankeeyankee -- No Gabstero, my quick fix wouldn't do this unfortunately. I see what you mean about shipping -- that would be a nice feature to have. It would be a huge amount of work, as I would have to write a new shipping module. I'd be happy to look into it, but this really wouldn't benefit my store, and the changes I have made to this mod were really made for my store...I just thought I could give back to the community by releasing it.

If you were willing to pay for it, I'd be happy to look into it and see if I could do it though... This would really be a totally different mod as it would be a new shipping module, which would really have nothing to do with the PO system -- other than the small fix I wrote about earlier. Unforunately, I can't do that immediately due to personal issues in my life that are simply sucking up too much of my time. I'll PM you if I find that I have the time to take on a project like that...but it would require some generous funds as this would take awhile to write. Another option would be to look around and see if someone else would be willing to do that for a fee. There are tons of people who write code for Zen for money.

By the way, and this is just my 2 cents, I think you are making a big mistake if you intend to charge shipping this way. Free and reduced shipping make a HUGE difference for internet customers. Charging more for adding items to their cart doesn't make sense -- customers should be rewarded for doing so, not punished with additional shipping. Frankly, I think you'd be better off losing money on an order here and there. What difference does it make if you are doing a ton of business? Just my two cents...I'll step down off my soapbox now.

kburner - Just change one of the subcontractors and hit the "insert" button. It will add the subcontractor you just entered. And don't feel bad about being new...Everyone was a newbie at one time. :) BTW- V3.0 is the newest.

As for the unknown customer bug, I'm still stumped. I just don't understand why it works for me... The easiest way to fix it would be if someone who has this problem would let me edit the code and login to their site...but that is asking a lot...I certainly wouldn't let anyone do that to my site! :) I'll keep trying to figure this bug out.

14 May 2008, 8:54 PM
#139
cropinstop avatar

cropinstop

New Zenner

Join Date:
Oct 2006
Location:
Surprise Arizona
Posts:
73
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

If by log on to their site, you mean login to the zcart admin, I have no problem letting you do that - I am testing on an offline site, and it is backed up 100% to my local desktop. But if you need access to the code, that is a problem because the test site and online site are on the same file system, and I do not know if/how I grant you write access to one subdomain... I guess I could open it up to 777, and only tell YOU where it is...

15 May 2008, 4:53 PM
#140
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

Re: Drop Shipping Purchase Orders Module for v1.3.8

srturner47:

Hmmm... Not quite sure what you mean about the e for edit orders. The edit orders add-on is not the same as the edit orders included with Zen Cart.

On tracker.php the orders are listed down the page. Across the top there is a "key" that says
Show Customers Orders etc etc

but there is no

         Edit Order                      

to be seen next to any of the orders - even though the other symbols are there.