Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    May 2007
    Posts
    33
    Plugin Contributions
    0

    Default New customers automatically join defined pricing group

    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. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,715
    Plugin Contributions
    6

    Default Re: New customers automatically join defined pricing group

    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 to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    May 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: New customers automatically join defined pricing group

    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. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,479
    Plugin Contributions
    121

    Default Re: New customers automatically join defined pricing group

    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
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  5. #5
    Join Date
    May 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: New customers automatically join defined pricing group

    swguy, you're a genius - thanks. Works a treat! And thanks for making the Invoice mod, very useful.

  6. #6
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    325
    Plugin Contributions
    0

    Default Re: New customers automatically join defined pricing group

    modify the default value for customers.customers_group_pricing using phpMyAdmin
    Can anyone give just a little more detail on this? I'm pretty comfortable in phpMyAdmin, just give me a push in the right direction ... jenpen

  7. #7
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    325
    Plugin Contributions
    0

    Default Re: New customers automatically join defined pricing group

    Me again - does anyone know exactly how to "modify the default value for customers.customers_group_pricing using phpMyAdmin"??
    Thanks, Jen

  8. #8
    Join Date
    Jan 2004
    Posts
    58,262
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: New customers automatically join defined pricing group

    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!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    325
    Plugin Contributions
    0

    Default Re: New customers automatically join defined pricing group

    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. #10
    Join Date
    Jan 2004
    Posts
    58,262
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: New customers automatically join defined pricing group

    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!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Group Pricing for One Product Category?
    By PattyGale in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 15
    Last Post: 22 Sep 2009, 10:21 PM
  2. group pricing
    By kmickus in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 3
    Last Post: 2 May 2007, 09:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •