Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2013
    Posts
    5
    Plugin Contributions
    0

    Default Hide COD payment method from certain customers?

    Hi

    I would like to be able to hide certain payment methods from certain customers. Specifically I'd like to hide the COD module from people who didn't go and collect their order in the past.

    I have already modified the module so it will be hidden for specific products and also under/over a certain total amount, but I can't seem to figure out how to do a check against customers ID.

    Could any one give me a hint (or better yet, a solution!)

  2. #2
    Join Date
    Apr 2013
    Posts
    5
    Plugin Contributions
    0

    Default Re: Hide COD payment method from certain customers?

    Nobody even have a a suggestion or a idea?

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Hide COD payment method from certain customers?

    The signed-in customer can be identified by examining the value in $_SESSION['customer_id'].

  4. #4
    Join Date
    Apr 2013
    Posts
    5
    Plugin Contributions
    0

    Default Re: Hide COD payment method from certain customers?

    Of course, why did not I think of that... Thanks a bundle, it worked like a charm!

    A plugin/feature like this is something that is way over my head programming-wise, but a feature I would have liked to see, is the possibility to choose allowed shipping/payment methods on product level, and also for the same reasons stated above, by customer.

 

 

Similar Threads

  1. v138a Disabling COD payment for certain customers
    By moosesoom in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 20 Feb 2014, 04:17 PM
  2. block payment method for certain customers
    By tcl01 in forum General Questions
    Replies: 0
    Last Post: 8 Feb 2010, 08:38 PM
  3. Hide Table Shipping Module from Certain Customers
    By bearaman in forum General Questions
    Replies: 1
    Last Post: 29 Jun 2007, 05:51 AM
  4. COD assigned to certain customers
    By mattallam in forum Addon Payment Modules
    Replies: 2
    Last Post: 24 Feb 2007, 06:42 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