Thanks a ton!!!
I looked for that piece of code (lines 443-448 of send_pos.php) but I was not able to find them there. Am I looking in the right send_pos.php (the one in the admin folder)?
thanks a ton!
Gabstero.
Printable View
hi,
I have this mod installed and some of it works but i cannot get the content & settings to show up in Admin>configuration>purchase orders... It just shows a blank admin page with some headers and nothing else...
Please help
:)
email and phone number in pdf order to subcontractor
I would like to know how to get these on the pdf .
I can get it into the email (email_header.txt) but the pdf seems more complex.
Thanks
gary
www.theclearboxstore.co.uk
Keepsake,
I loaded this file and can not get it to come up on my admin/extra...
JimmyV - Glad you like the mod, and glad to hear your site is so successful. That's actually why I got involved with this mod - as my web site grew, it was just too much work to manually send out orders. This mod has saved me a ton of time and allowed me to focus on customer service, sending out stock orders, marketing, etc... Anyway, I'm not planning on releasing a new version for awhile. I'm pretty happy with the mod as is for now. There are few things I'd like to do in the future, but they can wait! You can easily do this yourself with a few small changes. Just change line 876 and 877 of send_pos.php to:
The resend page already has this behavior by default.Code:$query=mysql_query("SELECT p.orders_products_id, p.orders_id, p.orders_products_id, p.products_name, p.products_id, o.shipping_method, o.delivery_state, p.products_quantity, o.delivery_street_address, o.delivery_city, o.delivery_suburb, o.delivery_postcode, o.delivery_country, o.delivery_company, o.delivery_name, p.products_model FROM ".TABLE_ORDERS_PRODUCTS." as p, ".TABLE_ORDERS." as o WHERE p.orders_id=o.orders_id AND po_sent='0' AND o.orders_status !=3 AND po_number IS NULL ORDER by p.orders_id DESC LIMIT $start, $l_odp_nastronie")
or die('Failed to connect database: 8');
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!
jamie2k - Did you install the SQL patch? That is what puts the options in. You have to cut and paste the code in dbscript.sql to Admin/Tools/Install SQL patches. It is possible I made a mistake with the new SQL patch... I've never tested it myself. All I ran on my site was the SQL update patch, as I was updating. However, I simply cut an pasted this update code in to where it should go in the original SQL patch, so I would think it should work just fine. Let me know!
garyw - Sorry, but the short answer is that it is much more complicated. I can't imagine a way that I could let you rearrange the packing list easily. You'd have to edit the source code to do this. The good news is that all pdf commands are easy to find in the source. They are all in send_pos.php and send_pos_nc.php. The latter is the send to unknown customer, the former is the regular send and resend page. Each pdf creation function begins with pdf->
kburner - It was I who answered your previous question, not keepsake. Again, make sure all files are in the right directory and that you have run the SQL patch. Go through file by file and check! I am almost positive that either this or your SQL patch are your problem.
There are three versions of this mod - 1.3B that keepsake posted at the start of this thread, 2.0 and 3.0 that I uploaded later. But, everyone should have this menu option regardless of version. Try running this address: admin/edit_subcontrac.php Does the page come up?
Thanks for the quick reply. I could not find admin/edit_subcontrac.php. I went to admin/tools/developers tool kit and no file. Plus,looked at my download.
Do I re-load files again but use SQL patch?
It is me again... Sorry to keep bothering you and thank you for your help.
I looked and files are located in same folders as admin, includes, etc. It has own folder called purchaseorders. I can delete and re-load into a file Which one?
That's your problem. You copied the files into a separate directory. There is no folder called purchase orders. This is the folder that the mod was in.
Everything in the purchase order directory should be copied to your main web site directory. You'll notice the admin and email directory there, just like on your main web site directory. That will fix your problems!