Page 24 of 85 FirstFirst ... 1422232425263474 ... LastLast
Results 231 to 240 of 849
  1. #231
    Join Date
    Nov 2007
    Posts
    270
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Quote Originally Posted by swguy View Post
    Both of you are correct.
    O.K.
    For any user of this add-on, should I be able to achive the following:
    Code:
    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).
    If this is not the right add-on to do this, could you let me know?
    Tx

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

    Default Re: Quantity Discounts for 1.3

    I figured out what I was doing wrong. Yahoo!.

    Let me explain what I was doing wrong so those in the future will not do the same thing and mayb the documentation can be updated to make it more clearer. The documentation is right but I guess I had a brain phart.

    The documentation says this:

    How do you create that last discount?

    Quantity Discounts 1.4 has the answer. In the file includes/modules/order_total/ot_quantity_discount.php, there is a function called setup(). From there, you may add a call to a function to add additional discounting levels and discounts in the following manner:
    Code:
        function  setup() {
           // Add extra levels and discounts here in this manner: 
           // "Buy more than 100 items, get 50 (% or $, as per admin) off" 
           $this->add_extra_level_discount(100, 50); 
        }
    Place your code right above the closing php statement here
    Code:
    ?>

  3. #233
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Is there a way to place something like "Quantity Discounts Marketing Example 2 Output" that gets displayed in the product in the top level category that the product falls under?

  4. #234
    Join Date
    Nov 2007
    Posts
    270
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Quote Originally Posted by Veronika7747 View Post
    O.K.
    For any user of this add-on, should I be able to achive the following:
    Code:
    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).
    If this is not the right add-on to do this, could you let me know?
    Tx
    Well for those who might be interested.. I did as follows:
    For C: copied all these products to a special category and set "price manager discount? - the one that comes with zencart.
    For A & B - used quantity discount 1. 3 and let it be O.K. for 3 (5) of the same item. If I figure out how to set it for 3(5) discount only of different items I'll let you know.
    Happy New Year to you all!

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

    Default Quantity Discounts included in more then one category

    I have included the following code below in my "ot_quality_discount.php" template. The 65 represents the category that I want to use my quality discount in.

    In the instructions it gives the explain of the code to insert in the "ot_quality_discount.php". The sample uses category 11. I just substituted the 11 for 65.

    The problem is that the discounts also are workign in category 67. This should not be happening according to the instructions.

    Let me clarify that category 67 is not a subcategory under 65.

    How can I correct this?

    Here is the code I am using in my "ot_quality_discount.php".
    Code:
           // Add this code to make category 65 have discounts set up in
           // the quality discounts section
        function exclude_category($category) {
            switch($category) {
               case 65:
                    return false;
            }
            return true;
        }

  6. #236
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Quantity Discounts included in more then one category

    Here are how my categories are set up. They are all top level categories.
    ID Category / Products
    65 Books
    67 Test category

    I read through the documentation again and I ran the query to see if my master categories are set to 0 and the query came back good. I even went into my Admin -> Tools -> Store Manager, and click on "Reset ALL Products Master Categories ID"

    But all my categories are getting the discounts I have setup.

    At first I added this thinking I had was suppose to in order to make sure category 65 got the discounts but I found that without doing this it got the discounts and so do all the categories.
    Code:
        function exclude_category($category) {
            switch($category) {
               case 66:
                    return false;
            }
            return true;
        }
    So I them removed the above code and add this code below to try and exempt category 67 from the discounts but category 67 still gets the discounts with this code in there.
    Code:
        function exclude_category($category) {
            switch($category) {
               case 67:
                    return true;
            }
            return false;
        }
    Am I putting it in the wrong place in the code or something? Here is how I am placing these codes. I am placing them right below the function setup() code like below. In the very bottom of the file.
    Code:
        function  setup() {
           // Add extra levels and discounts here in this manner: 
           // "Buy more than 100 items, get 50 (% or $, as per admin) off" 
           // $this->add_extra_level_discount(100, 50);
        }
      }
        function exclude_category($category) {
            switch($category) {
               case 66:
                    return false;
            }
            return true;
        }

  7. #237
    Join Date
    Apr 2006
    Posts
    67
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    I've got
    category Fragrance_
    sub-16oz_
    a-f
    g-l
    m-r
    s-z
    are they away to buy 10 items out of all these areas to get $10 off?

    Right now I have to buy 10 out of each area to get $10.00 off.

  8. #238
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,697
    Plugin Contributions
    123

    Default Re: Quantity Discounts for 1.3

    response by PM.
    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.

  9. #239
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Hi Scott - Thanks for this great add-on. Before I go through the steps to install this, I just wanted to be clear on one thing: Does this module have to be visible store-wide, as in your example:
    Store Quantity Discount Policy
    Buy 10 or more of any item, get 15% off
    Buy 20 or more of any item, get 20% off
    Buy 30 or more of any item, get 30% off
    Or can it just be utilized on a more product specific basis. For a number of reasons I wouldn't be able to have a true store-wide discount policy.

    Thanks - Tim

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

    Default Re: Quantity Discounts for 1.3

    There are two user exits called exclude_category() and exclude_product(). You can use these to leave categories or products out. You will then need to adjust your display of the store discounting policy (if you've modified tpl_product_info_display to show the table indicated).

    Now if almost everything in your store is excluded, you may want to simply use the native Zen Cart Quantity Discounting mechanism; it is designed to be applied product by product.

    Good luck,
    Scott
    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 24 of 85 FirstFirst ... 1422232425263474 ... 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