|
|
#1 |
|
New Zenner
Join Date: May 2007
Posts: 33
|
Hi there.
Is it possible to have new customers be added to a pre-defined pricing group by default? I can add them manually, but I'm using the Invoice payment mod and it requires a customer to be in a pricing group. Thanks in advance. P |
|
|
|
|
|
#2 |
|
Oba-san
Join Date: Sep 2003
Location: Ohio
Posts: 50,229
|
You can alter the create account so that when the record is created it sets the customers_group_pricing field in the customers table to the value that you are wanting to use as an existing discount group by default ...
__________________
Linda McGrath If you have to think ... you haven't been zenned ... Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here Are you using the latest? Perhaps you've a problem that's fixed in --> [Upgrade today: v1.3.8a] Officially PayPal-Certified! Just click here |
|
|
|
|
|
#3 |
|
New Zenner
Join Date: May 2007
Posts: 33
|
Sweet - that makes perfect sense :) Could I ask which file needs to be edited in order to make that happen? Happy to scootch around a bit, but any pointer would be appreciated.
Thanks, Ajeh - appreciate it :) |
|
|
|
|
|
#4 |
|
Totally Zenned
Join Date: Feb 2006
Location: Tampa Bay, Florida
Posts: 2,708
|
Rather than modifying the code, I would suggest you just modify the default value for customers.customers_group_pricing using phpMyAdmin.
Good luck, Software Guy
__________________
That Software Guy - The Duke of Discounting - Tweeting at @thatsoftwareguy Better Together, Quantity Discounts, Gift Wrap at Checkout, SMS on Sale, Newsletter Discount, MailChimp Integration, Save For Later, and more. |
|
|
|
|
|
#5 |
|
New Zenner
Join Date: May 2007
Posts: 33
|
swguy, you're a genius - thanks. Works a treat! And thanks for making the Invoice mod, very useful.
|
|
|
|
|
|
#6 | |
|
Zen Follower
Join Date: Sep 2007
Location: Far South Coast, NSW, Australia
Posts: 131
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Zen Follower
Join Date: Sep 2007
Location: Far South Coast, NSW, Australia
Posts: 131
|
Me again - does anyone know exactly how to "modify the default value for customers.customers_group_pricing using phpMyAdmin"??
Thanks, Jen |
|
|
|
|
|
#8 |
|
Sensei
Join Date: Jan 2004
Location: Ontario, Canada
Posts: 38,586
|
Open phpMyAdmin
Access the customers table structure Edit the "default" value for the customers_group_pricing table to the value you desire.
__________________
Zen Cart - putting the dream of business ownership within reach of anyone! |
|
|
|
|
|
#9 |
|
Zen Follower
Join Date: Sep 2007
Location: Far South Coast, NSW, Australia
Posts: 131
|
So now I'm nearly there ... found exactly how to change the default value but ... what to? Sorry to be a dodo. I tried "invoice" but got an error. Jen
|
|
|
|
|
|
#10 |
|
Sensei
Join Date: Jan 2004
Location: Ontario, Canada
Posts: 38,586
|
When you created your discount groups in your admin, they were assigned a number. Use that number.
__________________
Zen Cart - putting the dream of business ownership within reach of anyone! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Group Pricing for One Product Category? | PattyGale | Discount Groups | 15 | 22nd September 2009 11:21 PM |
| group pricing | kmickus | Discount Groups | 3 | 2nd May 2007 10:46 PM |