Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2007
    Posts
    71
    Plugin Contributions
    0

    Default Controlling how Payment Module appears from checkout pricing..

    Hello,

    I have a query, With any payment module is there a way to edit when the module is actually shown at the checkout (enabled on or off going by final checkout cost), by inserting some code?

    For example, I want to allow the use of the bank transfer module, but only to be availble if the checkout comes to £300 and over? likewise with say another module to only show, if the total checkout is up to £300?

    Thank you very much
    Sam

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

    Default Re: Controlling how Payment Module appears from checkout pricing..

    The Payment modules are displayed based on the:
    $this->enabled

    is true ...

    If you set that to false, based on another condition, such as in an IF statement or CASE statement, you can control when the module actually is displayed as an option ...
    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. v139h USPS Module Appears and Disappears on Checkout Page
    By benzdumol in forum Addon Shipping Modules
    Replies: 14
    Last Post: 8 Jan 2014, 07:03 PM
  2. Purchase Order Module -- change text that appears during checkout
    By jguttman in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 25 Dec 2009, 04:33 PM
  3. Why CC payment method appears in checkout?
    By blob in forum PayPal Website Payments Pro support
    Replies: 4
    Last Post: 31 Jan 2008, 11:31 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