Page 23 of 85 FirstFirst ... 1321222324253373 ... LastLast
Results 221 to 230 of 849
  1. #221
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Thank you I inserted the code in that module. I am assuming I did that right.
    Was I suppose to remove the following code if I added the other?
    Code:
        function exclude_product($id) {
            switch($id) {
               case 99999:
               case 99998:
                    return true;
            }
            return false;
        }
    Last edited by attroll; 23 Dec 2007 at 06:24 PM.

  2. #222
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    I have the above figured out I think.

    I tried putting the "Quantity Discounts Marketing Example 1 Code" in the tpl_product_info_display.php. I tried all the examples that you gave and each one I tried did not work. When ever I tried to display my product it came up with a blank page.

    Did I miss a step or do something wrong?

  3. #223
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Quantity Discounts for 1.3

    If you're getting a blank page, that means there's a syntax error in your php file. If you look at your server log, it will guide you to the line that needs to be fixed.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  4. #224
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Hmm, I just put the code back in and tried it and got the blank page again. I then went to my cPanel and Error Log and it does not display any errors relating to my shopping cart.

    This means I am back to ground zero. Do you have any other ideas?

  5. #225
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    swguy

    If I send you the admin login and the ftp info to my zen cart will you look at this for me?

  6. #226
    Join Date
    Nov 2007
    Posts
    270
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    I have eliminated categories O.K., but I am trying to set the following without a success so far:
    A: If 3 different items from one category - discount $xx
    B: If 5 different items from one category - discount $yy
    C: If 10 of the same items from one category - discount $zz

    However right now I am getting discounts for A & B even if they are of the same item. (I did not do C: as yet).

    [CODE][ function apply_special_category_discount($category, $count, &$disc_amount) {
    switch($category) {
    case 4:
    if ($count > 300) {
    $disc_amount = 150;
    }
    break;
    case 4:
    if ($count > 500) {
    $disc_amount = 200;
    }
    break;
    }
    }/CODE]

    What do I have to add??
    Tx

  7. #227
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Quantity Discounts for 1.3

    Extending my contributions is a fee based service that I provide. I support the basic purpose of each contribution on the forum; I really can't take the time to debug user written modifications.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  8. #228
    Join Date
    Nov 2007
    Posts
    270
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Quote Originally Posted by swguy View Post
    Extending my contributions is a fee based service that I provide. I support the basic purpose of each contribution on the forum; I really can't take the time to debug user written modifications.
    I am sorry, was this message for my inquiry?? If yes, I thought I was suppose to modify that file...

    TX

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

    Default Re: Quantity Discounts for 1.3

    Quote Originally Posted by Veronika7747 View Post
    I am sorry, was this message for my inquiry?? If yes, I thought I was suppose to modify that file...

    TX
    I think his reply was intended for me.

  10. #230
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Quantity Discounts for 1.3

    Both of you are correct.
    That Software Guy. My Store: Zen Cart Modifications
    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 23 of 85 FirstFirst ... 1321222324253373 ... 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