sw45859 Posted November 11, 2002 Posted November 11, 2002 if you have any problems post them here or iqc me below. Quote
gdfwilliams Posted November 11, 2002 Posted November 11, 2002 Stephen, Great contribution. It will be very useful once I get a few kinks ironed out. Problem: On my Payment Method page, I'm getting an 'Array' printed as text in its own <TR>: <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr class="payment-odd"> <td class="main">net30/net60</td> <td align="right" class="main"><input type="radio" name="payment" value="netterms" CHECKED> </td> </tr> <tr class="payment-even"> <td colspan="2">Array </td> </tr> </table> Any idea how/where/why this is happening? Shop can be viewed HERE (My server is misbehaving this PM) Suggestion: It would be a lot more convenient/transparent to the user if the Net30 option didn't appear on the Payment Methods page unless NetTerms had been activated for that user. Thanks, Greg Williams Quote
sw45859 Posted November 11, 2002 Author Posted November 11, 2002 i thought about that but couldn't find a way to tell the payment.php class to pull that payment module out if the user wasn't able to use it. Quote
CC Posted November 12, 2002 Posted November 12, 2002 Tell ya one thing. Stephen has a lot of great ideas up his sleeve with OSC. Some great contributions mate. I love this one too. Keep up the good work buddy. CC. Quote
VyReN Posted December 19, 2002 Posted December 19, 2002 I am having the same "Array" issue. Had this been addressed?? Thanks -Glen Quote
sw45859 Posted December 19, 2002 Author Posted December 19, 2002 post a link to your shop and i'll be by to test it and see whats wrong Quote
VyReN Posted December 20, 2002 Posted December 20, 2002 Sweeet. The store is http://www.glaceyar.com I took the sourcecode from the page displayed and saved it: http://www.glaceyar.com/catalog/array.htm So you do not need to make an account and whatnot... Unless you want to. :) Quote
Guest Posted February 10, 2004 Posted February 10, 2004 steven i have a few mods loaded already and your readme says "around line #" which since my line numbers are not standard is a bit scary unless i'm missing something i was hoping to persuade you to add "after " to your install manual thanks in advance Quote
defender39 Posted February 10, 2004 Posted February 10, 2004 Stephen, Great contribution. It will be very useful once I get a few kinks ironed out. Problem: On my Payment Method page, I'm getting an 'Array' printed as text in its own <TR>: <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr class="payment-odd"> <td class="main">net30/net60</td> <td align="right" class="main"><input type="radio" name="payment" value="netterms" CHECKED> </td> </tr> <tr class="payment-even"> <td colspan="2">Array </td> </tr> </table> Any idea how/where/why this is happening? Shop can be viewed HERE (My server is misbehaving this PM) Suggestion: It would be a lot more convenient/transparent to the user if the Net30 option didn't appear on the Payment Methods page unless NetTerms had been activated for that user. Thanks, Greg Williams I just want to comment a bit off topic on how well you have done your site Greg. I really really liked it. Very clean. Quote
patrick77550 Posted June 16, 2005 Posted June 16, 2005 Hi Stephen, Thank you for your contribution. I seem to have messed something up on admin/customers.php It does not update the customer's credit status in customers.dbf If I manually change credit status to 'enabled' the credit fields display on customers.php But if the credit status is 'disabled' it displays the 'credit is disabled/enable' radio group but shows ENTRY_CREDIT to its left. The one thing I couldn't quite get from your readme was, "around line 36 in admin/customers.php 'customers_credit_left' => $customers_credit_left, 'customers_credit_status' => $customers_credit_status, 'customers_credit_amount' => $customers_credit_amount," had to comment these lines out to stop a syntax error. I think you'll be happy to see your contribution in use Arbor School Products Any suggestion is appreciated. Patrick Quote
patrick77550 Posted June 17, 2005 Posted June 17, 2005 OK like coding usually goes I fixed a couple of things I did wrong. Stephen, if you allow I have a couple of proposed changes for the readme for guys like me. I've changed around line 36 in admin/customers.php 'customers_credit_left' => $customers_credit_left, 'customers_credit_status' => $customers_credit_status, 'customers_credit_amount' => $customers_credit_amount, to find the text $sql_data_array = array('customers_firstname' => $customers_firstname, in admin/customers.php around line 157 insert the array values 'customers_credit_left' => $customers_credit_left, 'customers_credit_status' => $customers_credit_status, 'customers_credit_amount' => $customers_credit_amount, changed the two occurences of ENTRY_CREDIT to 'Credit Suspended' and 'Credit Disabled' respectively Quote
Guest Posted June 17, 2005 Posted June 17, 2005 (edited) I have 3 questions regarding this module before I use it: 1) Does this allow you to set a default credit limit for new customers? (this can be increased/decreased manualy in admin) 2) Does it have the ability to select company users / none business users only or a mix of both (mainly because I want to give credit to people who have entered a company name and not private individuals) i.e the payment option will only be displayed if the customer is a company. 3) Does it have the ability of entering a Purchase Order Number (I'm currently using the purchase order payment module but don't like the fact that you can't set a credit limit on it) At the moment I'm either looking at adding a credit limit to that module or adding a purchase order field to this contribution. If the contribution dosn't have these options, would they be worth considering adding to the contribution? I already have a Business account info box that takes you to a business account creation page rather than a standard account creation page, so would need this to auto allow them credit when they have filled in that form. Let me know if I can help at all. Edited June 17, 2005 by Rochdalemark Quote
patrick77550 Posted June 20, 2005 Posted June 20, 2005 I can answer #1 at least one way. When you add the column customers_credit_amount to the customers table set the default to whatever you wish. (it's 0000.00 in the readme) Quote
patrick77550 Posted June 20, 2005 Posted June 20, 2005 I wondered if anyone has a sucessfully modified checkout_confirmation.php,v 1.139 they would share. I can make it ignore credit status and allow everyone to use Net Terms or I can get it to not let you checkout unless you have credit enabled. lol Quote
AverageJoe Posted July 7, 2005 Posted July 7, 2005 If you're still interested, I updated the code. Check it out here: Net Terms v1.01 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.