Re: 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...
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...
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.
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!
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
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!
Re: Drop Shipping Purchase Orders Module for v1.3.8
Quote:
Originally Posted by
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
[FONT='Courier New']$EMAIL_MESSAGE_HTML[/FONT]
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:
[FONT='Courier New']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[/FONT]
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.
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.
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