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
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  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
    9,684
    Plugin Contributions
    123

    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
    That Software Guy. My Store: Zen Cart Modifications
    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.

  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
    436
    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
    436
    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
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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
    436
    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
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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. Move customers automatically to defined pricing group after first purchase
    By mybaby in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 24 Oct 2014, 03:07 PM
  2. v151 Group Pricing automatically assigned from email link
    By denliv in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 24 Mar 2014, 11:17 PM
  3. New customer group - auto-join a group?
    By solid in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 7
    Last Post: 8 Feb 2011, 08:44 PM
  4. automatically add customers to group pricing
    By trickobrien in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 23 Aug 2010, 11:10 AM
  5. Add certain customers to Group automatically...
    By rebekah in forum Managing Customers and Orders
    Replies: 5
    Last Post: 20 Apr 2009, 10:00 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR