Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2005
    Location
    Prague
    Posts
    152
    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
    66,809
    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.1]
    Officially PayPal-Certified! Just click here

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

  3. #3
    Join Date
    Feb 2005
    Location
    Prague
    Posts
    152
    Plugin Contributions
    0

    Default Re: Payment mode specifiend by Discount group needed

    Thank you!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,809
    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.1]
    Officially PayPal-Certified! Just click here

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

 

 

Similar Threads

  1. 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
  2. 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
  3. Replies: 18
    Last Post: 12 Mar 2010, 06:37 PM
  4. Can I restrict Discount Coupons if Group Discount used?
    By mitch_h in forum General Questions
    Replies: 3
    Last Post: 5 Nov 2009, 02:25 AM
  5. Discount Coupon AND Group Discount Tax Problem
    By mrkrinkle in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 11
    Last Post: 5 Apr 2007, 12:16 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
  •