Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2005
    Location
    Prague
    Posts
    151
    Plugin Contributions
    0

    help question Payment mode specifiend by Discount group needed

    Hi all.
    I have customers who order but not pay (COD) and Im put they do discount group (damn. I dont have any mods for bad customers but need to know who is problematic)

    Can I limit payment methods offer for customers from specific Discount gorup??
    Example:
    For customers from discoutn group 1 show only specified apyment methods? (bank transfer of CC or Paypal)

    Or For customers from discoutn group 1 dont offer COD mode

    I hate bad customers, but in my country COD is very popular method and I need todo soemthing with customers who order but dont accept ordered goods. I pay delivery fees.

    please advice
    maxus

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Payment mode specifiend by Discount group needed

    You can customize the file:
    /includes/modules/payments/cod.php

    with the code in RED:
    Code:
          $this->enabled = ((MODULE_PAYMENT_COD_STATUS == 'True') ? true : false);
    
    // bof: do not use for Discount Group 1
          if (!IS_ADMIN_FLAG) {
            global $db;
            $chk_discount_group_sql = "SELECT customers_group_pricing FROM " . TABLE_CUSTOMERS . " WHERE customers_id = '" . $_SESSION['customer_id'] . "'";
            $chk_discount_group = $db->Execute($chk_discount_group_sql);
            if ($chk_discount_group->fields['customers_group_pricing'] == 1) {
              $this->enabled = false;
            }
          }
    // eof: do not use for Discount Group 1
    and now it will not show for Discount Group 1 ...
    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
    Feb 2005
    Location
    Prague
    Posts
    151
    Plugin Contributions
    0

    Default Re: Payment mode specifiend by Discount group needed

    Thank you!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Payment mode specifiend by Discount group needed

    You are most welcome ... glad this worked for you ...
    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!

 

 

Similar Threads

  1. Blocking usage of Group Discount & Discount Coupons
    By familynow in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 24
    Last Post: 21 Feb 2012, 03:34 AM
  2. need to define payment type per discount group
    By igofresh in forum Managing Customers and Orders
    Replies: 1
    Last Post: 27 May 2011, 09:32 PM
  3. Discount depending on selected payment mode?
    By flix in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 15 Jul 2010, 09:12 AM
  4. Set max discount for Group Discount + Discount + etc.
    By KEnik in forum Setting Up Specials and SaleMaker
    Replies: 0
    Last Post: 16 Jun 2010, 05:39 PM
  5. Replies: 18
    Last Post: 12 Mar 2010, 06:37 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