Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2009
    Posts
    29
    Plugin Contributions
    0

    help question Make it impossible to choose COD when Store pickup?

    Hi
    Is it some way to make it impossible for my customers to choose COD when they choose store pickup?

    Fredrik
    NORWAY

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

    Default Re: Make it impossible to choose COD when Store pickup

    You can customer the Cash on Delivery cod Payment module to not show when the selected Shipping Module is the Store Pickup storepickup by adding:
    Code:
          $this->enabled = ((MODULE_PAYMENT_COD_STATUS == 'True') ? true : false);
          if ($_SESSION['shipping']['id'] == 'storepickup_storepickup') {
            $this->enabled = false;
          }
    
    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!]
    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. Possible to make it impossible?
    By SweetEmotions in forum General Questions
    Replies: 3
    Last Post: 14 Sep 2008, 09:46 PM
  2. When free shipping, store pickup, walk in option has gone .
    By Woody619 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 18 Mar 2007, 07:57 PM
  3. Will safe mode make customer login impossible?
    By tiki in forum Installing on a Linux/Unix Server
    Replies: 19
    Last Post: 31 Jul 2006, 08:58 PM

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