Results 1 to 8 of 8

Hybrid View

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

    Default Re: How to disable "payment at storepickup" when the customer has the goods delivered

    In the update_status, just before the closing bracket add:
    Code:
    // hide this payment module when set to Store Pickup
    if ( is_object($$module) || ($_SESSION['shipping']['id'] == 'storepickup_storepickup') ) {
      echo 'should not run!!!';
            $this->enabled = false;
    }
    See how that works 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!]
    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!

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

    Default Re: How to disable "payment at storepickup" when the customer has the goods delivered

    oops ... you will see that echo on the page if you leave it in there ... silly me ...
    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. v154 A "space" appears in Customer record when inserting the State/County in "other" box
    By SarahL in forum Managing Customers and Orders
    Replies: 2
    Last Post: 30 Oct 2015, 09:45 AM
  2. v151 "The connection has timed out" when trying to login to Admin
    By serephent in forum Installing on a Windows Server
    Replies: 3
    Last Post: 19 Jan 2013, 10:35 AM
  3. How can I change the word "delivered" to "shipped"?
    By lmw1 in forum General Questions
    Replies: 3
    Last Post: 14 Jan 2010, 01:11 AM
  4. Paypal IPN: How to select "goods" "Service" as the kind of payment?
    By gisco in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 9 Jun 2009, 02:31 PM
  5. What's the best way to duplicate the "storepickup" shipping module?
    By organicplanet in forum Built-in Shipping and Payment Modules
    Replies: 25
    Last Post: 9 Apr 2009, 05:33 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