Page 26 of 85 FirstFirst ... 1624252627283676 ... LastLast
Results 251 to 260 of 849
  1. #251
    Join Date
    Sep 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    huh. well I see now that it's nothing to do with this Mod, but the way Zen calculates tax when there are discounts.


    It's strange, I can't even duplicate Zen's results. Same strange results when using coupons. Tax is too low.


    thanks for you comments

  2. #252
    Join Date
    Mar 2006
    Posts
    27
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    What we've noticed with quantity discounts is that with:
    a) Include Tax: false and Re-calculate Tax: None
    - the discounted items are NOT being taxed properly (the taxable amount doesn't have the discount applied), but the non-discounted items in the cart ARE being taxed properly as the taxable amount doesn't have the discount applied to it

    b) Include Tax: false and Re-calculate Tax: Standard
    - the opposite happens, the discounted items ARE taxed properly, but the rest of the cart is undertaxed, as the taxable amount for those items is also getting the discount removed from it

    Has anyone else noticed this?

    Or am I totally off base? we did crunch numbers and this was the conclusion we came to that makes sense numberwise.

    Does anyone have a solution for this besides the one we are coming to, which is, we can't use it?

    Thanks,
    Linda
    ps running zen cart 1.3.7 and quantity discounts 1.5
    Last edited by lvanderb; 5 Mar 2008 at 12:29 AM. Reason: add information

  3. #253
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,319
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    "include taxes" means the discount is grossed up to include applicable taxes.
    "recalculate taxes" means the taxes are lowered based on the new subtotal.

    You might try upgrading to QD 1.9 but I don't recall making tax fixes after 1.5.
    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.

  4. #254
    Join Date
    Apr 2007
    Location
    California, USA
    Posts
    233
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Great mod, Just need a little help with the marketing text on the product info page. I am trying to understand the following from your FAQ page on your site:

    If you have used the apply_special_category_discount() or apply_special_item_discount() exits, you should add text below the call to the get_*() method you use to describe these special cases. As a convenience, each of the get_* methods now takes a product and category id, so you can modify the get_* function you're using in ot_quantity_discount.php to be aware of your exit logic. Alternately, you may make these messages conditional in your template using the logic described in my conditional messages tip.
    What text should I be adding as I am using apply_special_category_discount. I have the following in my product info page using the examples from the conditional message to display the discount using the example 2 method.

    Code:
    <?php
    if ( ($current_category_id != 6) &&
         ($current_category_id != 5) &&
         ($current_category_id != 1)&&
         ($current_category_id != 10)  )
    {
    $value = "ot_quantity_discount.php"; 
      include_once(zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . 
              '/modules/order_total/', $value, 'false'));
      include_once(DIR_WS_MODULES . "order_total/" . $value);
      $discount = new ot_quantity_discount();  
      if ($discount->check() > 0) {
         echo '<div class="content" id="discountPolicy3">';
          //echo '<h2>' . STORE_POLICY . '</h2>';  
         echo '<table border="1" bgcolor="#FFFF66"><tr><td>Quantity</td><td>Discount</td></tr>'; 
         $dislist = $discount->get_discount_parms();
         for ($i = 0; $i < sizeof($dislist); $i++) {
             echo '<tr><td>' . $dislist[$i]['level']; 
             if ($i == (sizeof($dislist) - 1)) {
                echo " + " ; 
             } else { 
                echo " - ";
                echo $dislist[$i+1]['level'] - 1; 
             }
             echo "</td><td>" . $dislist[$i]['discount'] .  "</td></tr>";
         }
         echo '</table>';
         echo '<br /></div>'; 
      }
    }
    ?>
    <?php
    if ( ($current_category_id == 10) ||
         ($current_category_id == 6) )
    
    {
    ** WHAT CODE DO I PUT HERE TO DISPLAY THE apply_special_category_discount FOR THE CATID OF 10 & 6 ***
    }
    ?>

    The first section shows the global quantity discount I set up in the admin under the order totals area. The second conditional section is to display the apply_special_category_discount for the particular cat I set up in the ot_quantity_discount.php. But I am confused in what code I need to put so it displays the discounts for these special categories and not the global discount. Please help and I don't understand your statement that I quoted above.
    Thanks
    Supersnow

  5. #255
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,319
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    There's no easy interface to this data; you'll have to create narratives for the logic that you coded in apply_special_* routines.

    echo "Special offers for this category: buy over 10, get 5% off";

    The apply_special* routines can be arbitrarily complex, so I can't reverse engineer the logic to create a message; you have to do that.
    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.

  6. #256

    Default Re: Quantity Discounts for 1.3

    Hoping someone can help...the quantity discount is not calculating correctly at checkout.

    These are my settings from Admin. Bug when a customer tried to make a $350 purchase, it only gave a 5% discount, when 15% should have been given based on the settings. Also, I realize that customers who order $100, a fairly common amount should be getting 5%, but are getting no discount. Any help/guidance would be greatly appreciated.

    Quantity Discount

    This module is installed
    true

    Sort Order
    295

    Include Tax
    true

    Re-calculate Tax
    Standard

    Discount Units
    percentage

    Discount Basis
    Total By Item

    Discount Level 1
    100

    Discount Amount 1
    5

    Discount Level 2
    160

    Discount Amount 2
    10

    Discount Level 3
    240

    Discount Amount 3
    15

    Discount Level 4
    400

    Discount Amount 4
    20

    Discount Level 5
    1000

    Discount Amount 5
    25

  7. #257
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,319
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    You're using total by item. This means when you have discount level 1 set to 100, the person would have to buy 100 of any one item to get 5% off.

    The Quantity in Quantity Discounts is Quantity of Products not Quantity of dollars spent.
    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.

  8. #258
    Join Date
    Dec 2007
    Location
    New Jersey
    Posts
    76
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    I have installed the files, but I got them from two different places. the admin side of things is available on the downloads page, but seems to be missing all the catalog files.

    I got the catalog files from your website, and now I have installed everything. but! it's not showing up in the modules>>>order totals as an option for me.

    maybe i missed crucial data, please point me in the direction of a fill set of files to download....
    hmmn. really?

  9. #259
    Join Date
    Dec 2007
    Location
    New Jersey
    Posts
    76
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    just giving ths a bump. anyone know where the complete file set is?
    hmmn. really?

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

    Default Re: Quantity Discounts for 1.3

    The files in the download area are all you need. Everything else on my site is an extra added bonus. If you can't get your installation to work, you should put an ad on the commercial help wanted forum.
    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 26 of 85 FirstFirst ... 1624252627283676 ... 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