Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2006
    Posts
    75
    Plugin Contributions
    0

    Default Bug in 1.3+ "Minimum Order Mod" ?

    Hi Masterblaster,

    The PM system doesn't work at the new Zencart forum. I don't know how to reach you.

    I think I found a bug in the minimum order mod. I'm using the latest minimum order mod on my 1.3.0 zen cart.

    I have only 2 payment modules installed, Authorize.net AIM and Paypal. When I set a minimum order amount, I do not get an order confirmation page (the page that gives the order number and that appears after the sale) with either Paypal or Authorize.net credit card. When I turn the minimum order to zero or blank, I get order confirmation pages for both Paypal and Authorize.Net AIM sales.

    Is there a fix? Thanks!

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Bug in 1.3+ "Minimum Order Mod" ?

    PMs have to be turned on in the USER CP

    edit options
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Feb 2006
    Location
    UK
    Posts
    306
    Plugin Contributions
    1

    Default Re: Bug in 1.3+ "Minimum Order Mod" ?

    I spoke to masterblaster about this yesterday, you need to replace all the code in this file includes/modules/minorderamount.php

    with the following code

    Code:
    <?php
    // BOF MIN ORDER AMOUNT
    // check order total minimum
    if(substr($_GET['main_page'], 0, 8) == 'checkout' && substr($_GET['main_page'], 0, 16) != 'checkout_success')  {
      if ($_SESSION['cart']->total < MIN_ORDER_AMOUNT) {
        zen_redirect(zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'));
      }
    }
    
    ?>
    Works brilliantly, and what a great mod, still amazed this isn't included in the 1.3x version of ZC.

  4. #4
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    663
    Plugin Contributions
    0

    Default Re: Bug in 1.3+ "Minimum Order Mod" ?

    I have my PMs turned on... Wondering why you couldn't contact me. The update posted by Pauls is the current final version.

  5. #5
    Join Date
    Jul 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Bug in 1.3+ "Minimum Order Mod" ?

    Hello,

    Forgive me if this is the wrong place to post. I have searched the forums and the downloads section, and cannot seem to locate a minimum orders contribution.

    Where can I find this contribution?

    Thank you,
    lichen

  6. #6
    Join Date
    Feb 2006
    Location
    UK
    Posts
    306
    Plugin Contributions
    1

    Default Re: Bug in 1.3+ "Minimum Order Mod" ?

    Hi Lichen,
    I think this is normally available from MasterBlasters website, however at the moment the part of his site containing the module will be down for a few days, I will attach and send you the file privately.

 

 

Similar Threads

  1. Changing "Default Order Status" from "Delivered" to "Shipped"
    By CookieMonster in forum Customization from the Admin
    Replies: 1
    Last Post: 25 Nov 2014, 12:22 AM
  2. v150 Is this a bug in v1.50? orders_total doesn't output "text" but "value"
    By inception in forum General Questions
    Replies: 10
    Last Post: 10 Sep 2012, 05:38 AM
  3. Replies: 0
    Last Post: 7 Dec 2008, 02: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