Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2008
    Posts
    49
    Plugin Contributions
    0

    Default moneyorder OK on orders more than

    Hi,

    I would like to make moneyorders available only on orders more than a certain amount.

    Is there a way to configure this ?

    Thanks..

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

    Default Re: moneyorder OK on orders more than

    The modules are controlled by the $this->enabled

    Customize it so that when the order total is >= $XXX it is true and false if less ...
    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!

  3. #3
    Join Date
    Dec 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: moneyorder OK on orders more than

    Hi,

    Just to make sure..That's in file:

    /public_html/includes/modules/payment/moneyorder.php

    Then I should ad:

    $this->enabled = (MODULE_PAYMENT_MONEYORDER_TOTAL>=XXX);

    Is that right ?

    Thanks

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

    Default Re: moneyorder OK on orders more than

    To know the total of what is in the shopping cart, use:
    $_SESSION['cart']->show_total()

    Also, doing the test in the:
    function update_status() {

    before or after the zone test would be better ...
    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. Manual orders using check/moneyorder
    By bpoilspill in forum General Questions
    Replies: 12
    Last Post: 29 Feb 2012, 05:47 PM
  2. Replies: 6
    Last Post: 23 Feb 2010, 02:53 PM
  3. When customer orders more than are in stock...
    By teddyswoze in forum Managing Customers and Orders
    Replies: 3
    Last Post: 10 Jul 2009, 11:16 PM
  4. Replies: 1
    Last Post: 2 Jun 2009, 06:53 PM
  5. Orders for items in quanty more than in stock?
    By Lyon in forum Managing Customers and Orders
    Replies: 3
    Last Post: 11 Jun 2006, 03:19 AM

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