Page 57 of 85 FirstFirst ... 747555657585967 ... LastLast
Results 561 to 570 of 849
  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
    Dayton, Ohio
    Posts
    682
    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
    10,290
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    You can't do any of this with 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.

  4. #564
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    682
    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
    10,290
    Plugin Contributions
    125

    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.
    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. #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
    10,290
    Plugin Contributions
    125

    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?
    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. #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
    115
    Plugin Contributions
    6

    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 85 FirstFirst ... 747555657585967 ... 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