Zen Cart Logo
Forums / Addon Order Total Modules / Quantity Discounts for 1.3

Quantity Discounts for 1.3

Views: 226,319

Results 141 to 160 of 847
30 Jul 2007, 4:13 AM
#142
saher_alsous avatar

saher_alsous

New Zenner

Join Date:
Jun 2007
Location:
Palestine
Posts:
55
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

what do u mean by level one?

i didn't change anything for this...

do u mean that t his is the solution?

Q: How can I tell if my master categories are set to 0?
A: To verify whether this is your problem, use the following query in a pmpMyAdmin SQL query window: select p.products_id, p.master_categories_id, s.products_id, s.categories_id
from products p, products_to_categories s
where p.products_id = s.products_id
and p.master_categories_id = 0;
Obviously if your tables have a prefix, you must include this (use "zen_products p, zen_products_to_categories s" if your prefix is "zen_" for instance).

Q: Oh great. I have that problem. How do I fix it?
A: Happily, there's a facility within Zen Cart to fix this problem. Back up your database, then go to Admin -> Tools -> Store Manager, and click on "Reset ALL Products Master Categories ID"

30 Jul 2007, 4:18 AM
#143
saher_alsous avatar

saher_alsous

New Zenner

Join Date:
Jun 2007
Location:
Palestine
Posts:
55
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

or do u mean the 5 levels in the discount level from 1 to 5...

i filled them all, with one additional level at the end...

u can see them in the about us page... despite it shows the percents i used but it dont work on them....

regards

30 Jul 2007, 9:25 AM
#144
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,712
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

You know

Buy 300 or more of any item, get 3% off

means, "buy 300 items' not 'spend $300' right? You are discounting by the total number of items in the cart not the total amount spent.

30 Jul 2007, 11:11 AM
#145
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,712
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

Yep, this was your problem. If you login to your cart now you'll see I put 300 icons in your cart, and you get the discount at checkout time.

31 Jul 2007, 10:13 PM
#146
blainbci avatar

blainbci

New Zenner

Join Date:
Dec 2006
Posts:
27
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Please help.

Your quanity discount was working fine. We are finished with the discounts and I removed them from the product price manager. The discount is still showing??
http://myfavoritenewmexicofoods.com/shoppingcart

Thanks
Blain

1 Aug 2007, 12:43 AM
#147
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,712
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

Products Price Manager (or what I call "native" Quantity Discounts) and the Quantity Discounts Contribution are two different things. The contribution is turned off through Admin->Modules->Order Totals.

1 Aug 2007, 2:08 AM
#148
blainbci avatar

blainbci

New Zenner

Join Date:
Dec 2006
Posts:
27
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Thank You

17 Aug 2007, 3:47 PM
#149
srbin avatar

srbin

New Zenner

Join Date:
Oct 2006
Posts:
32
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Question: I am trying marketing tool, but when i edit tpl_product_info_display.php, i get this message:

Fatal error: Call to undefined function: get_discount_parms() in /home/supermaj/public_html/includes/templates/trublu/templates/tpl_product_info_display.php on line 251

I tried both your site and forums but couldn't find an answer. Can you help me or point to some link?

Also, i would like some categories to be excluded, but i don't know where to place this code:

function exclude_category($category) {
switch($category) {
case 7:
return true;
}
return false;
}

Will it give me the same text of undefined function?

17 Aug 2007, 4:00 PM
#150
srbin avatar

srbin

New Zenner

Join Date:
Oct 2006
Posts:
32
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

ok, i got it about excluding categories, it is editing of includes/modules/order_total/ot_quantity_discount.php

But i am still having problems with marketing tool... Help?

21 Aug 2007, 11:50 AM
#151
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,712
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

If you are using exclude_categories or other exits, you'll need to write your own marketing description, so don't bother with using get_discount_parms().

22 Aug 2007, 12:30 AM
#152
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,712
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

srbin:

Question: I am trying marketing tool, but when i edit tpl_product_info_display.php, i get this message:

Fatal error: Call to undefined function: get_discount_parms() in /home/supermaj/public_html/includes/templates/trublu/templates/tpl_product_info_display.php on line 251

I suspect you got this because you didn't call it as a member function of a ot_quantity_discount object. This is shown in each of the four examples, but not re-emphasized in the notes below; I have updated the page to indicate this.

SoftwareGuy

22 Aug 2007, 3:24 PM
#153
srbin avatar

srbin

New Zenner

Join Date:
Oct 2006
Posts:
32
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I will check it. But now, i have another problem:

When i give discount, it is either in percentage or a fixed amount. Is there a way that when someone takes 100 units, he will have $0.50 lower price than basic price of unit?

Example: t-shirt costs $3

He orders 99, no discount
He orders 100, discount is 100 * $0.50 = $50

The popup window saying how the discount is priced would be something like:
Total 100 units x $0.50 per unit = $50

It is pretty long story why i need it, but the basic is that i have fixed profit of $1 per t-shirt, no matter the price of it.

btw, great preview module, it was worth the money. Can 'discount price' be clicked on preview page and not only in step 3?

22 Aug 2007, 3:35 PM
#154
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,712
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

See your PM.

Scott

30 Aug 2007, 12:06 AM
#155
lomo avatar

lomo

New Zenner

Join Date:
Aug 2007
Location:
Toronto, Canada
Posts:
8
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Hi there,

Is it possible with your mod, to do the following?

Min Quantity 100, Unit 25
Product Price : $1
Buy 100 =$100

Quantity discount level 125 units+
First 100 still at $1
Additional 25 units 5% off

So if I buy 125, I pay $100 + 25x$0.95 = $123.75
If I buy 200, I pay $100 + 100x$0.95 = $195

Not only that, the same or different discount rate applies to some of the attributes?

Thanks...

30 Aug 2007, 12:24 AM
#156
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,712
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

You would have to do a bunch of customization. PM me for details.

1 Sep 2007, 12:06 PM
#157
lazerradial2003 avatar

lazerradial2003

New Zenner

Join Date:
Aug 2007
Posts:
14
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Hi there, is it possible to only allow the discount to be applied to products which have the same attributes selected? (the website I'm working on at the moment sells photos and wants to give a discount if any two photos (each of which is a different product) where the same size attributes are selected. Cheers.

1 Sep 2007, 12:36 PM
#158
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,712
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

You would have to do a bunch of customization to make it work this way.

1 Sep 2007, 2:17 PM
#159
lazerradial2003 avatar

lazerradial2003

New Zenner

Join Date:
Aug 2007
Posts:
14
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Am more than happy to do a load of customisation to it, but any pointers would be great, i'm ok with PHP but any pointers as to where to start within files and so-on would be very much appreciated!

8 Sep 2007, 9:38 PM
#160
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,712
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

Quantity DIscounts 1.6 has just been released. The following issues were resolved:

  • get_discounted_prices() failed to reflect the discounts of sales and specials.
  • Admin labels for "Level" and "Amount" were inconsistent. (To get this fix, you must remove and re-install Quantity Discounts after installing the new files).

Unlike Better Together, Quantity Discounts does not have built in marketing text; you must select a format that you like from the help (or build your own) and manually insert it into the product info template if you wish to show off your quantity discounts. This was done because different people wanted different formats. Several examples of doing this are provided in

http://www.thatsoftwareguy.com/zencart_quantity_discounts.html#marketing

Thank you,
Software Guy