Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Sep 2006
    Location
    Oregon
    Posts
    217
    Plugin Contributions
    0

    red flag Attribute discounts not showing up when purchasing mixed items

    PLEASE! Can someone help me!

    I sell miniature Beanbag Chairs for 1" scale dollhouses. They come in many different colors.

    I went in to each product (color), and made it so if a customer buys:
    1-2 cost=$9.25ea......3-6 cost=$8.25ea.....7-10 cost=$7.25ea...11 or more cost=$6.25 ea.

    Upon my testing, I purchased 2 of three different colors, and the price came out to $9.25 ea. for a total of $27.75, when it SHOULD HAVE BEEN $8.25 ea. for a total cost of $24.75.

    How do I fix this? When I set the discounts, I went to:

    admin/catalog/products price manager

    There was a drop down box that says, "Beanbag Chairs". I went to one color chair at a time and set up each color as so:

    Code:
    Discount Qty Applies to Mixed Attributes   Yes   No 
    Preview Only ... Current Price Status ... Preview Only  
     
    Product Discount Info  Discount Type: NonePercentageActual PriceAmount off  Discount Priced from: PriceSpecial  
    Discount Levels Minimum Qty Discount Value Calculate Price: Extended Price: 
    Discount 1   $9.25 x 1 = $9.25 
    Discount 2   $8.25 x 3 = $24.75 
    Discount 3   $7.25 x 7 = $50.75 
    Discount 4   $6.25 x 11 = $68.75

    I must be missing something?

    Thanks for your help in advance!
    Last edited by debtag; 29 Jan 2008 at 07:40 PM.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Discounts not showing up when purchasing mixed items

    I THINK you need to adjust a setting in attributes which applies the discounts to the attributes...
    20 years a Zencart User

  3. #3
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Attribute discounts not showing up when purchasing mixed items

    Is this the same issue as was reported here ... ?:
    http://www.zen-cart.com/forum/showthread.php?t=84061
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Sep 2006
    Location
    Oregon
    Posts
    217
    Plugin Contributions
    0

    Default Re: Attribute discounts not showing up when purchasing mixed items

    Thank you Dr. Byte!

    I saw that post:

    but it didn't work.

    Code:
     
    /includes/classes/shopping_cart.php
    at lines 1401 and 1435 you have code that looks like this: 
    Code:
        // reset($this->contents); // breaks cart    $check_contents = $this->contents;    while (list($products_id, ) = each($check_contents)) {
    add an extra line in both places, making it look like this: 
    Code:
        // reset($this->contents); // breaks cart    $check_contents = $this->contents;    reset($check_contents);    while (list($products_id, ) = each($check_contents)) {

    Code:
    I THINK you need to adjust a setting in attributes which applies the discounts to the attributes...
    FROM SCHOOLBOY

    Schoolboy: Do you know what the setting is I would adjust? or how to get there? (sorry, I need hand holding...I'm still wet behind the ears!)

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Attribute discounts not showing up when purchasing mixed items

    After you've linked through to the ATTRIBUTES CONTROLLER screen of the product in question, scroll down until you find an insert field titled:-

    Attributes Qty Price Discount:

    Then, you insert the PARAMETERS that govern the quantity discounts for THAT SPECIFIC attribute, against THAT product.

    Here's a post from someone who had a similar issue and found the solution.
    20 years a Zencart User

  6. #6
    Join Date
    Sep 2006
    Location
    Oregon
    Posts
    217
    Plugin Contributions
    0

    Default Re: Attribute discounts not showing up when purchasing mixed items

    Hey...I'm sorry...I went to admin/catalog/attributes controller and didn't see anything in there called "attributes Qty Price Discount"...did I go to the wrong spot?

  7. #7
    Join Date
    Sep 2006
    Location
    Oregon
    Posts
    217
    Plugin Contributions
    0

    Default Re: Attribute discounts not showing up when purchasing mixed items

    CAN ANYONE PLEASE HELP? This is crazy!

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Attribute discounts not showing up when purchasing mixed items

    Have you an URL to this Product that we could peek at to perhaps see what's up?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Sep 2006
    Location
    Oregon
    Posts
    217
    Plugin Contributions
    0

    Default Re: Attribute discounts not showing up when purchasing mixed items


  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Attribute discounts not showing up when purchasing mixed items

    Help me out here ...

    Which products_id is not working right on the Discounts?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Quantity Discounts With Mixed Attributes, Priced by Attribute
    By kgamadia in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 7 Oct 2014, 07:29 PM
  2. Replies: 6
    Last Post: 22 May 2010, 08:13 PM
  3. Replies: 5
    Last Post: 10 Sep 2009, 10:33 PM
  4. Replies: 2
    Last Post: 1 Feb 2009, 08:11 PM
  5. Replies: 12
    Last Post: 7 Feb 2008, 12:46 AM

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