Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 60
  1. #41
    Join Date
    Feb 2009
    Location
    Ontario, Canada
    Posts
    38
    Plugin Contributions
    0

    Default Re: Minimum order for wholesale customers only.

    Nicely done. Works like a charm.

  2. #42
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Minimum order for wholesale customers only.

    I'm afraid with the latest version of Dual Pricing this change is not working. Minimum order amount is being ignored completely and checkout is allowed regardless of order amount.
    M.Valenti
    Contemporary Artist - Entrepreneur
    http://www.manuelavalenti.com - http://www.byvalenti.com

  3. #43
    Join Date
    Nov 2009
    Location
    Cheshire, UK
    Posts
    18
    Plugin Contributions
    0

    Default Re: Minimum order for wholesale customers only.

    Is there any way to make it only work with one set of wholesale customers, I have 4 wholesale groups and only need it on 1???

  4. #44
    Join Date
    Mar 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Minimum order for wholesale customers only.

    I am looking for some assistance with my website. www.flyfishingsigns.com .


    In particular, I am looking for somebody who is familiar with this Wholesale Mod.

    http://www.zen-cart.com/index.php?ma...roducts_id=166

    I would like to utilize this site as retail and wholesale. The site works as retail until the order reaches $200. I would like to have a box in the check-out page of the site say “Attention Wholesale Customes: Once the $ total amount of your order reaches $200, these retail prices will automatically change the wholesale prices.” How do I make sure that the wholesale buyer purchases the $200 minimum order?

    If you are not familiar with this mod or would like to suggest somebody who is more familiar and comfortable with this install, please forward their contact information.

    Thanks,

    Erik I. Pieper

    307-237-3733 Office

    307-259-6164 Cell

    [email protected]

  5. #45
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Minimum order for wholesale customers only.

    Correcting my last post. The latest works, but it throws a blank checkout_shopping.php page. Any ideas?
    M.Valenti
    Contemporary Artist - Entrepreneur
    http://www.manuelavalenti.com - http://www.byvalenti.com

  6. #46
    Join Date
    Jan 2011
    Location
    Colorado
    Posts
    15
    Plugin Contributions
    0

    Default Re: Minimum order for wholesale customers only.

    This code is only for:
    Minimum Amount for Wholesale Customers with Dual Pricing Module After Bug Fix Only.
    Bug fix for Dual Pricing Module at page #69 http://www.zen-cart.com/forum/showth...=35450&page=69

    After the bug fix, replace the code in this file:
    /includes/classes/observers/class.minimum_order_amount.php
    With this code:
    <?php
    /**
    * class.minimum_order_amount.php
    *
    * @copyright Copyright 2005-2007 Andrew Berezin eCommerce-Service.com
    * @copyright Portions Copyright 2003-2006 Zen Cart Development Team
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: config.minimum_order_amount.php 1.0.1 20.09.2007 0:06 AndrewBerezin $
    */

    /**
    * Observer class used to check minimum order amount
    *
    */
    class minimum_order_amount extends base {
    /**
    * constructor method
    *
    * Attaches our class to the ... and watches for 4 notifier events.
    */
    function minimum_order_amount() {
    global $zco_notifier;
    // $_SESSION['cart']->attach($this, array('NOTIFIER_CART_GET_PRODUCTS_START', 'NOTIFIER_CART_GET_PRODUCTS_END'));
    $zco_notifier->attach($this, array('NOTIFY_HEADER_END_SHOPPING_CART', 'NOTIFY_HEADER_START_CHECKOUT_SHIPPING', 'NOTIFY_HEADER_START_CHECKOUT_PAYMENT', 'NOTIFY_HEADER_START_CHECKOUT_CONFIRMATION'));
    }
    /**
    * Update Method
    *
    * Called by observed class when any of our notifiable events occur
    *
    * @param object $class
    * @param string $eventID
    */
    function update(&$class, $eventID) {
    global $messageStack;
    global $currencies;
    switch ($eventID) {
    case 'NOTIFIER_CART_GET_PRODUCTS_END':
    case 'NOTIFY_HEADER_END_SHOPPING_CART':
    if ($_SESSION['cart']->count_contents() > 0 && $_SESSION['customers_wholesale'] == 1 && MIN_ORDER_AMOUNT > 0) {
    if($_SESSION['cart']->show_total() < MIN_ORDER_AMOUNT) {
    $_SESSION['valid_to_checkout'] = false;
    $messageStack->add('shopping_cart', sprintf(TEXT_ORDER_UNDER_MIN_AMOUNT, $currencies->format(MIN_ORDER_AMOUNT)) . '<br />', 'caution');
    }
    }
    break;
    case 'NOTIFY_HEADER_START_CHECKOUT_SHIPPING':
    case 'NOTIFY_HEADER_START_CHECKOUT_PAYMENT':
    case 'NOTIFY_HEADER_START_CHECKOUT_CONFIRMATION':
    if ($_SESSION['cart']->count_contents() > 0 && $_SESSION['customers_wholesale'] == 1 && MIN_ORDER_AMOUNT > 0) {
    if($_SESSION['cart']->show_total() < MIN_ORDER_AMOUNT) {
    zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
    }
    }
    break;
    default:
    break;
    }
    }
    }
    ?>
    *Note: Thanks to Marg http://www.zen-cart.com/forum/showthread.php?t=91542 for the code, i just changed "customers_whole" to "customers_wholesale" to make it work with the Dual Pricing Bug fix.

    Goodluck.

  7. #47
    Join Date
    Jan 2011
    Location
    Colorado
    Posts
    15
    Plugin Contributions
    0

    Default Re: Minimum order for wholesale customers only.

    In addition to the previous post:
    If you want to allow a few wholesale customers to purchase from your site with no minimum amount.

    Go to admin controls>Customer>customer>edit which ever customer you want to allow buy wholesale without minimums and change their "Wholesale pricing level" to 2 instead of 1.

    Assuming you've only set 1 level of wholesale pricing.
    - 0 Automatic retail pricing for retail customers only.
    - 1 This level is for wholesale customers with a minimum amount that you set.
    - 2 This level is for wholesale customers with NO minimum amount.

    Note* This is only for Minimum Amount for Wholesale Customers with Dual Pricing Module After Bug Fix Only.
    Bug fix for Dual Pricing Module at page #69 http://www.zen-cart.com/forum/showth...=35450&page=69


    Goodluch Zenning.

  8. #48
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Minimum order for wholesale customers only.

    thank you for the update on this. I made the changes and like you say it works for wholesale customers level 1. Is there any way to make it work for customers wholesale level 2 and 3? We have minimum order amounts on each level. It would be nice if this could be applied to other wholesale levels as well.
    M.Valenti
    Contemporary Artist - Entrepreneur
    http://www.manuelavalenti.com - http://www.byvalenti.com

  9. #49

    Default Re: Minimum order for wholesale customers only.

    Work for me too. Is there anyway to change it to minimum quantity per product?

  10. #50
    Join Date
    Jun 2011
    Posts
    194
    Plugin Contributions
    0

    Default Re: Minimum order for wholesale customers only.

    Has anyone got this wholesale minimum order to work alongside the minimum order for retail?

    I am needing both wholesale and retail minimum first orders and minimum orders after that.

    Does anyone have any suggestions?

 

 
Page 5 of 6 FirstFirst ... 3456 LastLast

Similar Threads

  1. v150 Help with Minimum Order for Group Pricing Customers Only
    By philip937 in forum General Questions
    Replies: 5
    Last Post: 14 Oct 2013, 03:55 AM
  2. Need to have wholesale pricing with quantity discounts for wholesale customers only..
    By littleturtlemama in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 16 Dec 2010, 04:47 AM
  3. Better Together extension for Wholesale Customers Only
    By point4design in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 28 Oct 2010, 11:49 PM
  4. Setting minimum order for check/money order only
    By coldspag in forum Managing Customers and Orders
    Replies: 0
    Last Post: 26 Nov 2008, 02:18 PM
  5. Need to have wholesale pricing with quantity discounts for wholesale customers only..
    By littleturtlemama in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 29 Sep 2007, 10:01 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