Page 22 of 85 FirstFirst ... 1220212223243272 ... LastLast
Results 211 to 220 of 849
  1. #211
    Join Date
    Sep 2004
    Posts
    173
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Quantity Discounts is not working with 1.3.8. When you get to the checkout
    page, i just get a BLANK Page. I removed Quantity Discount from Order Total page, and my zen-cart works fine.

    Thanks

  2. #212
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,290
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    I will release a new version later on; for now, simply replace

    includes/modules/order_total/ot_quantity_discount.php

    with this file. This is only required for 1.3.8.

    Thanks for reporting this problem,
    Scott
    Attached Files Attached Files
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #213
    Join Date
    Sep 2004
    Posts
    173
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    thanks for the quick response. That fixed it!

  4. #214
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,290
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    Quantity Discounts 1.8 (with support for Zen Cart 1.3.8) has been posted to the downloads area.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #215
    Join Date
    Dec 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    is there a way to disable the discounts for a specific user? I'm using a wholesale mod that sets a wholesale attribute 0, 1, 2. Anybody with 1 or 2 should not receive additional discounts.

    $customer_check = $db->Execute("select * from " . TABLE_CUSTOMERS . " where customers_id = '$customers_id'");
    if ($customer_check->fields['customers_whole'] != "0")

  6. #216
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,290
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    You would have to write code to do this; there's nothing built in.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #217
    Join Date
    Dec 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Seems easy enough, I modified the ot_quantity_discount.php page with the following in case it helps anybody in the future. (the add dealers portion)

    for ($i=0, $n=sizeof($products); $i<$n; $i++) {
    // Add categories you wish to exclude to exclude_category()
    if ($this->exclude_category($products[$i]['category'])) {
    continue;
    }
    // Add products you wish to exclude to exclude_product()
    if ($this->exclude_product($products[$i]['id'])) {
    continue;
    }
    // Add dealers

    if ($_SESSION['customer_id']) {
    $customers_id = $_SESSION['customer_id'];
    $customer_check = $db->Execute("select * from " . TABLE_CUSTOMERS . " where customers_id = '$customers_id'");
    if ($customer_check->fields['customers_whole'] != "0") {
    $disc_amount = 0;
    continue;
    }
    }

  8. #218
    Join Date
    Dec 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Hello,

    I'm having difficulty getting Quantity Discounts to install. I'm new to Zen Cart and any help would be greatly appreciated.

    My cart is installed in: public_html/zensetup

    Thanks in advance.

    hsquared

  9. #219
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    At the sake of sounding stupid I am going to ask this anyways.

    Where is this "function exclude_category" where I needed to insert the following code

    Code:
        function exclude_category($category) {
            switch($category) {
               case 11:
                    return false;
            }
            return true;
        }

  10. #220
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,290
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    Within ./includes/modules/order_total/ot_quantity_discount.php. I have updated the FAQ to indicate this.

    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 22 of 85 FirstFirst ... 1220212223243272 ... LastLast

Similar Threads

  1. v153 quantity discounts for attributes
    By delia in forum General Questions
    Replies: 1
    Last Post: 14 Oct 2014, 02:34 PM
  2. v150 Quantity Discounts for shipping 1.5
    By jpmill in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 7 Apr 2013, 05:28 PM
  3. v150 Quantity Discounts for 1.5?
    By mobishelf in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 21 Feb 2012, 12:40 AM
  4. Hide quantity discounts for general customers, show for groups only?
    By swamyg1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 16 Nov 2009, 09:22 PM
  5. Quantity Discounts for Sets?
    By mwlahn in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 30 Mar 2008, 07:39 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