Thread: payment method

Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2006
    Posts
    5
    Plugin Contributions
    0

    payment method

    I want the cod method only available when store pick up shipping is using and i add this [$this->enabled = (($_SESSION['shipping']['code'] == 'storepickup') ? true : false);] into the cod.php in includes/modules/payment/ but it does not work any idea what i did wrong?
    regards
    justin

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: payment method

    does it work better if you use 'storepickup_storepickup' instead ?

    ... similar to this discussion? ... http://www.zen-cart.com/forum/showthread.php?t=44416
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Remove "Payment Method" section from "Step 2 of 4 - Payment Method" page
    By iddy in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 27 Jul 2020, 09:10 PM
  2. v151 Disable a payment method for a chosen shipping method?
    By chowyungunz in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 12 Jun 2015, 12:56 PM
  3. shipping method based on payment method?
    By psr racing in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 27 Apr 2011, 01:25 PM
  4. Step 2 of 3 - Payment Information doesn´t show payment method, bug?
    By dadex in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 10 Jun 2009, 03:42 PM
  5. Only show payment method when UPS shipping method chosen?
    By helen610 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 28 Aug 2008, 03:04 AM

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