Forums / Addon Payment Modules / Purchase order module

Purchase order module

Locked

Started by seanscully on 17 May 2006, 3:38 AM · Views: 20,292

Results 21 to 40 of 46
This thread is locked. New replies are disabled.
8 May 2009, 10:47 AM
#21
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

Purchase order module

There is an "Invoice" module in the Free Software Add Ons area that might meet your needs.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

8 May 2009, 2:23 PM
#22
frankderosa avatar

frankderosa

New Zenner

Join Date:
Jan 2009
Location:
Charlottesville, VA
Posts:
51
Plugin Contributions:
0

Re: Purchase order module

swguy:

There is an "Invoice" module in the Free Software Add Ons area that might meet your needs.

Yes, there is! There is a wiki page that points to both the invoice module and this PO module, which is how I would up asking this question. I'm a programmer, not any kind of business/sales/accounting person, so maybe you can clear it up - The basic difference between accepting a PO number and sending an invoice is the PO number itself, because you end up sending an invoice back to the customer with the PO anyway, right?

Maybe somebody can just explain the difference to me. :) That might just work better.

Thanks,
Frank

8 Jun 2009, 7:11 PM
#23
john_dude avatar

john_dude

New Zenner

Join Date:
Apr 2009
Posts:
5
Plugin Contributions:
0

Re: Purchase order module

ebspromo:

I have not used this module since finding the "order status" problem and do not know what the real difference between these 2 contributions since the 1.3.7 should have worked for 1.3.8 without any changes.

http://www.zen-cart.com/index.php?main_page=index&cPath=40_48&sort=20a&page=4

Purchase Module
Last Updated by: Slabadoo on Apr 12 2007 v1.3.7

purchase module
Last Updated by: Knuckle-101 on Feb 20 2008 v1.3.8

I did a diff - they are both the same except the read me.txt file!

8 Jun 2009, 7:41 PM
#24
john_dude avatar

john_dude

New Zenner

Join Date:
Apr 2009
Posts:
5
Plugin Contributions:
0

Re: Purchase order module

flakrat:

Ok, I believe I've fixed it

You need to change each occurrence of the following in file ./includes/modules/payment/po.php

HTTP_POST_VARS

with

_POST

Hope this helps,

Mike

THANKS! I was having the same issue. This fixed it right up - now it is adding to the database. This also fixed my email problem that you described - I didn't need to make those changes.

Thanks again!

8 Jun 2009, 7:44 PM
#25
frankderosa avatar

frankderosa

New Zenner

Join Date:
Jan 2009
Location:
Charlottesville, VA
Posts:
51
Plugin Contributions:
0

Re: Purchase order module

Wow, I guess my decision to go with the readily available invoice order module was a good one, then. I ended up changing the text on the "Instructions" textarea instructing customers to use it for comments, instructions, or purchase order numbers. With that field set to appear on every piece of order-related paperwork that I could find, my client seems satisfied with this solution.

Thanks for doing the diff, john_dude. Where the heck did you find the Purchase Order module, anyhow?

Oh, and my wife explained what a Purchase Order amounts to - an invoice with a code the customer supplies, for their own tracking purposes. Otherwise, it's just a basic invoice: products delivered along with a request for payment after the fact.

Frank

8 Jun 2009, 7:54 PM
#26
frankderosa avatar

frankderosa

New Zenner

Join Date:
Jan 2009
Location:
Charlottesville, VA
Posts:
51
Plugin Contributions:
0

Re: Purchase order module

Oops, john_dude was talking about something different. Oh well, I am settled and my problem is solved. :)

Frank

19 Jun 2009, 2:38 PM
#27
wilpackpackaging avatar

wilpackpackaging

New Zenner

Join Date:
Aug 2008
Location:
Rockford, IL
Posts:
60
Plugin Contributions:
1

Re: Purchase order module

Does anyone know if, once installed, I can limit which customers can submit a PO? Can I limit it to specific groups like wholesalers? I only want my wholesale customers to be able to submit a PO. End users I want to require payment prior to shipment.

You WilPack in the Profits...
By Not Spilling the Beans!

19 Jun 2009, 3:52 PM
#28
frankderosa avatar

frankderosa

New Zenner

Join Date:
Jan 2009
Location:
Charlottesville, VA
Posts:
51
Plugin Contributions:
0

Re: Purchase order module

Yes, you can. The included documentation explains how to (re)name a group such that it is included.

19 Jun 2009, 6:09 PM
#29
wilpackpackaging avatar

wilpackpackaging

New Zenner

Join Date:
Aug 2008
Location:
Rockford, IL
Posts:
60
Plugin Contributions:
1

Re: Purchase order module

What documentation.

The only thing was this readme text file

Last Updated: Apr 12 2007
Author: Slabadoo

Updated for 1.3.8a by knuckle-101 host-99.com

upload all files in current structure.
( Remember to change includes/templates/YOUR TEMPLATE to match your template name)

open admin->tools->sql updater and run the included sql file

open admin->modules->payment and turn on PO

You WilPack in the Profits...
By Not Spilling the Beans!

19 Jun 2009, 6:13 PM
#30
frankderosa avatar

frankderosa

New Zenner

Join Date:
Jan 2009
Location:
Charlottesville, VA
Posts:
51
Plugin Contributions:
0

Re: Purchase order module

From the readme file:

Installation

  1. Copy the contents of the invoice folder to the root directory of your
    shop. There are two new files in this mod; no existing files are
    overwritten.

  2. Login to admin and in Modules->Payment you will see 'Invoice' listed along with all the other payment modules available.

  3. Click on 'Invoice' to highlight the module and click on 'Install'

4. Go to Customers/Group Pricing and press "insert". Add a group called
"invoice" with whatever discount you want to grant. You may add
additional groups with the prefix "invoice" at different discount levels
if so desired; all of them will be able to invoice.

  1. If any of the "Percentage Discount" fields for the Pricing Group(s) you
    just added were non-zero, you must enable the Group Pricing Order Total
    module. Go to Modules->Order Total and install "Group Discount."
19 Jun 2009, 6:15 PM
#31
wilpackpackaging avatar

wilpackpackaging

New Zenner

Join Date:
Aug 2008
Location:
Rockford, IL
Posts:
60
Plugin Contributions:
1

Re: Purchase order module

Are you talking about the Invoice Module or the Purchase Module. I was under the impression this thread was about the Purchase Module.

You WilPack in the Profits...
By Not Spilling the Beans!

19 Jun 2009, 6:18 PM
#32
frankderosa avatar

frankderosa

New Zenner

Join Date:
Jan 2009
Location:
Charlottesville, VA
Posts:
51
Plugin Contributions:
0

Re: Purchase order module

Ahh, damn it. I feel like a dope.

That text is from the Invoice module. Where'd you even get the PO module?

19 Jun 2009, 6:21 PM
#33
wilpackpackaging avatar

wilpackpackaging

New Zenner

Join Date:
Aug 2008
Location:
Rockford, IL
Posts:
60
Plugin Contributions:
1

Re: Purchase order module

The PO Module is available in the Free Software Add ons section of this website.

It is titled Purchase Module.

You WilPack in the Profits...
By Not Spilling the Beans!

30 Sep 2009, 12:10 PM
#34
jguttman avatar

jguttman

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: Purchase order module

Does this module still exist?
If so where can I get it, and does it work with the newest version of Zen Cart?
My payment module is BluePay, will it cause any issues with that?

Thanks for your assistance.

30 Sep 2009, 12:20 PM
#35
jguttman avatar

jguttman

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: Purchase order module

I found the add-on, but still wonder about the effect it will have on my current payment method.
Is there a preferred order of installing the add ons, or doesn't it matter?

30 Sep 2009, 2:59 PM
#36
jguttman avatar

jguttman

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: Purchase order module

I installed this module, updated the SQL and everything works great. Thanks to all those contributed!
I don't currently use account numbers, do you know how to turns this field off?

30 Sep 2009, 6:52 PM
#37
wilpackpackaging avatar

wilpackpackaging

New Zenner

Join Date:
Aug 2008
Location:
Rockford, IL
Posts:
60
Plugin Contributions:
1

Re: Purchase order module

The best way I have found to prevent modules from overridding other modules that I have installed is to check the files themselves.

If...

/thisfolder/thatfolder/blahblah.php

is a file that is used in both modules then I look at the one that is not currently installed and check to see what it changes in comparison to:

  1. the orginal zen-cart file of that name and location and,
  2. the currently used zen-cart file of that name and location.

I have generally found that payment option modules rarely upset other payment modules, however, most modules are written to be an improvement over the base zencart install. Hence, they do not, nor can they really, take into consideration every single different module out there, past, present and future.

Most importantly....BACKUP BACKUP BACKUP....Oh and did I mention BACKUP!

Backup your files and your database prior to installing any new modules! I have had to kick myself in the :censored: before, for not doing that.

You WilPack in the Profits...
By Not Spilling the Beans!

1 Oct 2009, 1:04 PM
#38
jguttman avatar

jguttman

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: Purchase order module

Everything worked out very well - Thanks.
My one issue (my wife might beg to differ) is that the Purchase Order add-on includes an account number field and I don't use them. Anyone know how to remove the field from the form?

28 Dec 2010, 7:46 AM
#39
scientific_anomaly avatar

scientific_anomaly

New Zenner

Join Date:
Nov 2010
Posts:
44
Plugin Contributions:
0

Re: Purchase order module

Hi, I have Purchase Order module 3.12 and Zen Cart 1.3.9h

I am struggling for a way to add total order weight and total order value to the .pdf P.O. that this mod can send by email. And I would really appreciate some help with this. The data for these two things cannot be far away from the product model and quantity data that this .pdf already contains concerning a single Purchase order.

Please, Stuart, Linda anyone who knows?

2 Feb 2011, 10:10 PM
#40
waterslide avatar

waterslide

New Zenner

Join Date:
Feb 2011
Posts:
2
Plugin Contributions:
0

Re: Purchase order module

First off, thanks to those who have posted code changes (HTML_POST_VARS to _POST, flakrats suggestion for changing the Order.php email section). I just spent 6 hours with these two old modules on a Zencart v1.3.9d install.

They are both too old to try and install right onto a newer version of Zencart - replacing core files may seem to work at first, but you may find that they will not show the Account Name, Account Number, or PO Number - they won't even save in the database. Just don't bother.

If you have a good text file comparison tool like Beyond Compare, you can quickly look at what this module is trying to do compared to the new way that Zencart works. You will also see that replacing core files will not work. From here you must edit the NEWER zencart files so that they will perform as desired, only copying that which is necessary for the Purchase Order Module. All of the other non-core files may simply be copied over.

I'm not a real good PHP programmer, but I'll go ahead and post the file changes under Knuckle's version - it may be a starting point for some of you, at the very least the three bits of data, Account Name, Account Number, and PO Number save and the emails work so it is still useful.