Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Quantity Total Discount Issue

    Hello,

    I am using zen cart 1.39 and am using the standard "quantity discount" module to give customers a discount if they order 12 bottles of wine. BUT one of the bottles is not giving the discount. It is under the same master category.

    I have a feeling somewhere in the code it is excluding the sub category--which is category 7. Any ideas if that would be the issue or what file to edit to see if it is excluding this category from the discount

    http://thegraftonwinery.com/store/in...products_id=23

    thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Quantity Total Discount Issue

    Look in includes/modules/order_total/ot_quantity_discount.php to see if you have exclude_category() or exclude_product() functions set up to exclude this item.
    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. #3
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Quantity Total Discount Issue

    Quote Originally Posted by swguy View Post
    Look in includes/modules/order_total/ot_quantity_discount.php to see if you have exclude_category() or exclude_product() functions set up to exclude this item.
    Thank you for the reply, I did look there but there isn't anything excluded. The code is below

    The weird thing is that if you add 12 bottles of wine-from any category except the "sweet wines" (which is category 7) the quantity discount works. It seems as though there is something blocking that one.

    Any idea what could be causing the issue other than that. I have a main category "wines"-#1 Then under that is all of the other sub categories,

    Semi Wine
    Dry Wine
    Etc

    one of them is Sweet Wines. It seems if you add 12 of the Riverbend Red's that the discount doesn't kick in, but it does take off 10% when get up to 12 bottles of something else...

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Quantity Total Discount Issue

    what are your settings from admin->modules->order totals->quantity discounts?
    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. #5
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Quantity Total Discount Issue

    Thank you, here is my setting below, I even tried to go by # of items instead and it doesn't seem to work either


    Sort order-295

    INclude Tax: False

    Recalculate Tax: Standard

    Discount Unit: Percentage

    Discount Basis: Total by category

    Counting Method: items

    Discount Level 1: 12

    Dollar Amount 1--10%

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Quantity Total Discount Issue

    Go to the database and check the master_categories_id of these products again.
    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. #7
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Quantity Total Discount Issue

    It matches up. The master category of each one is the same as in zen cart.

    For example, in zen cart it shows Category 7 and in the database the master category is also 7.

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Quantity Total Discount Issue

    Zen Cart version? Oops- you said 1.3.9. OK. Compare your copy of includes/classes/shopping_cart.php to a fresh download of your version.
    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.

  9. #9
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Quantity Total Discount Issue

    Zen Cart 1.3.9h

    Database Patch Level: 1.3.9h

    v1.3.9h [2011-10-12 10:10:45] (Fresh Installation)
    v1.3.9h [2011-10-12 10:10:45] (Fresh Installation)
    PHP Version 5.2.17

 

 

Similar Threads

  1. Need to Offer Quantity Discount Depending on Total Cart Quantity
    By ikernbecauseicare in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 3 Feb 2011, 01:26 AM
  2. problem with module quantity discount, tax, and total calucation
    By myworld20091 in forum General Questions
    Replies: 0
    Last Post: 28 Jan 2009, 10:57 AM
  3. Quantity Total in Shopping Cart Sidebox with Quantity Discount Contribution
    By maineiac13 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 14 Oct 2008, 08:40 PM
  4. Quantity Discount Issue on 1.3.5
    By ideasgirl in forum Bug Reports
    Replies: 11
    Last Post: 12 Oct 2006, 09:46 PM

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