Page 57 of 71 FirstFirst ... 747555657585967 ... LastLast
Results 561 to 570 of 710
  1. #561
    Join Date
    Apr 2010
    Location
    Parkville, MO
    Posts
    2
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Hello All,

    I would like to have Quantity Discounts only available for an admin account. Just wondering how to code....

    I'm using our ZenCart install for our retail side as well, so I need to be able to offer discounts for our Retail Customers. So when I log on, I would create an order and complete the checkout process just like an online customer. At this time, we don't offer discounts globally and the Quantity Discounts mod is what we are looking for.

    Thanks in advance for any input.

    Todd

  2. #562
    Join Date
    Apr 2007
    Location
    Ohio
    Posts
    428
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    SW Guy thank you for the awesome add on it is definately needes (as well as some of your other contributions).

    I was wondering if you could help with my predicatment.

    I have your module on a dog collar site. This site sells dog collars and swatches. The swatches attach to the dog collar to give it a new look so they are accessories.

    I want to offer a $1 off discount if someone purchases a swatch with a collar. (The collar comes with two fee swatches) so it's worded they get their third swatch for $1 off.

    I have two categories:
    1. Collars (all come with two included swatches)
    2. Swatches (have their own prices including a (+1.00) attribute for larger sizes).

    When someone orders a collar (that comes with two included swatches) and then they add another seperate swatch we want to give them $1.00 off. Is this possible with this module? I am having a heck of a time trying to figure out how to cross these categories (if that's what I have to do). I don't want to offer $1 of their second collar (if they order two collars out of that category).

    Also I don't know if this is possible with this add on or if I need another from you, but we also want to offer a: Get your 11th swatch for free (after they purchase 10 swatches they get the 11th for free).

    Is this possible and if so do you any ideas as to how to set this up?

  3. #563
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,483
    Plugin Contributions
    121

    Default Re: Quantity Discounts for 1.3

    You can't do any of this with Quantity Discounts.
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  4. #564
    Join Date
    Apr 2007
    Location
    Ohio
    Posts
    428
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Do you have a paid module that does?

  5. #565
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,483
    Plugin Contributions
    121

    Default Re: Quantity Discounts for 1.3

    Please email me. I would have contacted you but you have turned off both PMs and email, which is probably not what you want if you're asking questions on a forum.
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  6. #566
    Join Date
    Jun 2010
    Posts
    44
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    I'm running into problems where the discount is not calculated correctly under some random circumstances. I currently have it set to give a 20% discount if 2 items are purchased, a 30% discount if 3 items are purchased, a 40% discount if 4 items are purchased and a 50% discount if 5 items are purchased. On a few random occasions, a person will by 5 items, but only receive a 20% OR 30% discount, or somewhere in between. For example, I just had a sale where the customer bought 4 items which should have qualified them for a 40% discount. The items totaled $55.96 USD. The quantity discount given was $10.79 which works out to be about a 19.3% discount. Since I've been monitoring this over the last 2 days, it's happened a handful of time, while still working correctly most of the time. Why in the world would this happen?

    P.S. - There were no other coupons or discounts involved.

  7. #567
    Join Date
    Jun 2010
    Posts
    44
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Upon further discovery, it looks like it's just randomly not calculating one of the items purchased. It's not one specific item as that item will work fine for others. In the above example, The person purchased 4 things which should have given them a 40% discount, but it didn't count one of the items (which cost $9.99), thus only giving them a 30% discount on the 3 items, but charging full price on the 4th. Any ideas?

  8. #568
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,483
    Plugin Contributions
    121

    Default Re: Quantity Discounts for 1.3

    Are you using category based discounting, and if so have you checked the master category id field of the item in question?
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  9. #569
    Join Date
    Jun 2010
    Posts
    44
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Quote Originally Posted by swguy View Post
    Are you using category based discounting, and if so have you checked the master category id field of the item in question?
    Brilliant. It was supposed to be set to calculate by total items in cart. A minor detail that made a major difference. Thanks!

  10. #570
    Join Date
    Mar 2008
    Location
    Belgium
    Posts
    24
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Zen-Cart 1.3.8
    quantity_discount version 1.8

    It works fine but I get a strange display as you can see in the attachment.

    Is there an error in the php?

    PHP Code:
        function process() {
           global 
    $db$order$currencies;
           
    $od_amount $this->calculate_deductions();
           if (
    $od_amount['total'] > 0) {
             
    reset($order->info['tax_groups']);
             while (list(
    $key$value) = each($order->info['tax_groups'])) {
               
    $tax_rate zen_get_tax_rate_from_desc($key);
               if (
    $od_amount[$key]) {
                 
    $order->info['tax_groups'][$key] -= $od_amount[$key];
                 
    $order->info['total'] -=  $od_amount[$key];
               }
             }
             
    $order->info['total'] = $order->info['total'] - $od_amount['total'];
             
    $this->title '<a href="javascript:alert(\'' $this->explanation '\');">' $this->title '</a>'
             
    $this->output[] = array('title' => $this->title ':',
             
    'text' => '-' $currencies->format($od_amount['total'], true$order->info['currency'], $order->info['currency_value']),
             
    'value' => $od_amount['total']);
       
           }
        } 
    Because the text that one can read:

    <a href="javascript:alert( inside the box should not be there.
    Hoeveelheidskorting:'> is under the box and only Hoeveelheidskorting: has has to displayed and in the box.

    Furthermore and that is the big problem <a href="javascript:alert( triggers a Forbidden page on the server when I want change the status of the order. Removing the ( fixes it.
    Also I have to type a - in front of the amount or it will add the discount in stead of deducting it.

    So far I always fix it manually but if it would be automatic, it would be nicer.
    Attached Images Attached Images  

 

 
Page 57 of 71 FirstFirst ... 747555657585967 ... LastLast

Similar Threads

  1. Quantity Discounts
    By ZenLova in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 72
    Last Post: 2 Oct 2010, 08:34 PM

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
  •