Read the help on my home page and search for "add_extra_level"
Printable View
Read the help on my home page and search for "add_extra_level"
Do you mean http://www.thatsoftwareguy.com? I have been looking for everywhere but didn;t find "add_extra_level". and there is no search button for me to put in the key word to search....
Could you please point it out for me? Thank you!
Lina
I found it! Is it
Remember that a limitless number of discount levels are available by calling the add_extra_level_discount() function in setup().
But I still don;t know how to do the calling function. Do you mean I need to run this line add_extra_level_discount() in tool-SQL Query Executor in the admin?
Look here:
http://www.thatsoftwareguy.com/zenca...discounts.html
search for "add_extra_level". There's an example.
Hi,
I can´t seem to get this to work on the site I am making. I am running Norwegian language pack and have NOK as my currency - so I have renamed the /includes/languages/english/ to /includes/languages/norwegian/. It comes up in admin without any warnings, but no matter what settings I use no discount will show up in the shopping cart. Any ideas?
Oh, and here is the site: http://godpåbunn.no/
Thanks,
Kristian
Quantity Discounts is an order total module; the discounts don't show up until page 2 of checkout.
In admin->modules->order totals if you click on quantity discounts, at the top right there's a link to the help.
Great thanks! I have this working on v1.3.9g perfectly!
I have installed the quantity discount module and have tried to set up user exits to exclude categories, but it is still applying the discounts to all.
I've changed:
function exclude_category($category) {
switch($category) {
case 3:
case 4:
case 18:
return true;
}
return false;
}
Is there something else I need to edit? 3, 4 and 18 are my categories. Can I have categories and subcategories here? Are the category numbers supposed to be 5 digits? I tried that and it didn't seem to matter.
Thanks.
There are lots of ways to go wrong with category id's. See the help here for common issues and solutions:
http://www.thatsoftwareguy.com/zenca...ry_issues.html
Thank you. The products that were being discounted improperly were indeed those with Master Category IDs set to "0". Fortunately, I do not have linked products and resetting them worked for me.
Admin -> Tools -> Store Manager, and click on "Reset ALL Products Master Categories ID"
Once you update master categories, you must also run the Products Price Sorter, which is also under Store Manager.
Thanks for the reminder, Scott.
Scott, How can I move the Quantity Discounts link from the Categories sidebar to the Information sidebar? Also, I cannot edit this page from the Define Pages Editor. It doesn't show up.
I am running 1.3.8a and recently installed the latest version of Quantity Discounts. Thank you.
Are you talking about the link to the promotional page? If so, to make it editable in the define pages editor,
copy ./includes/languages/english/html_includes/custom/define_quantitydiscounts_promo.php
to
./includes/languages/english/html_includes/define_quantitydiscounts_promo.php
(You have to have one in the default directory for the defines pages editor to work).
For instructions on moving the link to the information sidebox, please see the FAQ on my website which supplies detailed instructions. (It actually answers your previous question too.)
Hi I have installed this add-on, everything seems to work fine but the calculations seem to be off slightly.
I'm trying to give a 5% discount for orders over $200. On the checkout_payment page, the subtotal is not matching the subtotal used to calculate the discount. The amount is usually very small like less than 1%, but this affects the total.
For instance, a subtotal of $890.00 will be calculated as $888.75 * 5% = 44.44. The discount should be $44.50.
I realize it's a small difference, but I'd like to sort it out. Thank you. Settings below:
HTML Code:This module is installed
true
Sort Order
295
Include Tax
false
Re-calculate Tax
Standard
Discount Units
percentage
Discount Basis
Total Items in Cart
Counting Method
currency
Discount Level 1
200.00
Discount Amount 1
5
Discount Level 2
0
Discount Amount 2
0
Discount Level 3
0
Discount Amount 3
0
Discount Level 4
0
Discount Amount 4
0
Discount Level 5
0
Discount Amount 5
0
Is that maybe Zen Cart's habit of performing calculations on a line by line basis? I's a very irritating habit because it causes rounding errors to accumulate. Perhaps tell us how you derived your example $890.00. Was it a single item costing that much? Or was it a number of items?
Rob
I am very new to zencart.
I am running ZC 1.39h.
I have installed quantity discount 1.3 - latest.
My problem is that I can't figure how this thing is calculated.
I think what I need is very simple. Perhaps a kind member can tell what to enter to accomplish this.
I have downloadable products that I sell among other things.
This downloadable products are in one category. I have about 200 of them. Each cost $49.95
I need to apply two kinds of discount to this category only.
Buy 3 = $99.00
Buy 10= $200.00
Can some one be kind enough to tell me how to accomplish this with this contribution.
Thanks a lot.
You can't do this. Quantity Discounts gives you a discount off ($ or %) specific quantities (or more), not a final price.
Thanks for that. Does anyone know how I may accomplish this.
Item I sell that costs $49.00 each. I want to discount as follows
3 items - $99.00
10items - $199
Thanks for your help
Is this compatible with latest v1.3.9h?
Currently showing on zen addon:
Zen Cart™ Version: v1.3.8
Version: 1.11
Last Updated: Apr 03 2010
Where to download updated version?
A question, is it possible to setup quantity discount by fix amount and % on shipping cost only? instead of on product.
Yes it's compatible with 1.3.9.
No it doesn't discount shipping; it discounts products.
Can you make it have options quantity discount (fix amount and %) on shipping only ? Even together work with item price with checkout.
See previous answer to the same question.
Quantity Discounts doesn't discount shipping.
Thank you for advise. I need to find discount shipping addon. This is based on concept of ship 30 cases shipping cost is huge lower than 1 case in average from carrier, I want to setup to benefit customers. Different location the shipping cost are not same, discount on total sales amount is not working.
I installed the module. How do I make it apply to one particular item that I want to discount in bulk?
I have a furniture store. There is just one particular table I want to give a quantity discount on if they buy 3 or more. However I do not want anything else in the store to be discounted like that.
Regards,
Nadia
If you have just one item you want to discount in bulk, you should just use the native Quantity Discounts feature in Zen Cart. Search for Products Price Manager or look at this tutorial: https://www.zen-cart.com/tutorials/index.php?article=59
I have zen cart 1.39h installed and configured quantity discount for currency. It was working and then on and off. Recently, it doesn't work anymore. I didn't change any settings, Can anyone give me a clue how this is happening. Thanks.
Hi I have installed this module here w w w d o t c u z h y d o t c o d ot u k//index.php?main_page=product_info&cPath=4_41_22&products_id=41
And have set up the module as follows -However I cannot get it to calculate the percentage correctly.Code:© That Software Guy
Help - View the Documentation
This module is installed
true
Sort Order
295
Include Tax
false
Re-calculate Tax
None
Discount Units
percentage
Discount Basis
Total By Item
Counting Method
percentage
Discount Level 1
21
Discount Amount 1
2.5
Discount Level 2
51
Discount Amount 2
5
Discount Level 3
101
Discount Amount 3
0
Discount Level 4
0
Discount Amount 4
0
Discount Level 5
0
Discount Amount 5
0
Customers would have to pay for example, a one off set up fee of £20.00 and are charged on size of logo they require. So for sake of argument prior to discounts a shirt will cost 36.80 which includes the set up charge and logo size.
I have added a discount of 2.5% per shirt if the customer orders more than 21 shirts, however I dont want this to apply to the set up charge or logo. Is there anyway to get this to work?
Currently the way I have it set up it calculates the entire sum of 36.80 x 21 =£372.80?? And even with it taking away the 2.5 % is still far too high a discount.
I know it's me and not the module, can someone help please.
There's no way to get the discount not to apply to certain attributes.
BTW, You have level 3 at 101 and amount 3 at 0. Correct Amount 3.
Hi,
I want a 5% discount when the shopping cart reaches 450 $.
I excluded some categories and products.
The problem is: if the customer buys excluded and not excluded products, the module only applies the discount when the shopping cart reaches 450 $ of non excluded products.
Example:
Product A (excluded) costs 400 $
Product B (non excluded) costs 100 $
If you buy product A and B you don’t get the 5% discount on product B.
Is there any way to get the discount on non excluded products when the total amount mixes excluded and non excluded products?
Thank you.
Quote:
This module is installed
true
Sort Order
295
Include Tax
true
Re-calculate Tax
Standard
Discount Units
percentage
Discount Basis
Total Items in Cart
Counting Method
currency
Discount Level 1
450
Discount Amount 1
5
Response by PM.
Why respond by PM, I need help on this too please. Can you send me a pm?
Does anyone have a free solution to this problem or can you suggest how I can add discounts by percentage on certain amount of products purchased. When I add blank discounts it doesnt take anything away from the price.
If you're adding blank discounts, you're not using the Quantity Discounts Contribution, you're using the built in (native) Quantity Discounts system. You need to look at the help for native Quantity Discounts. Go to tutorials at the top right of this page.
Thanks Scott.
I'll take a look.
Moe.
Quantity Discounts was released five years ago today. :) How time flies!
Hi
ZEN cart version 1.3.9h
Yes, 1.3. cant remember
We have installed the Quantity Discounts 1.11
We have verified that the files are in the correct location.
Error Received: ERROR: module not loaded due to missing language file: /home/taz19/public_html/shop/includes/languages/english/modules/order_total/ot_totalbackup.php
We can not locate this file in the mod. Also, we can not locate this file in the original Zen Cart Upgrade, or in our previous versions.
Also, it is not reading the correct location it should say /shop/manageincludes/......
is the ot_totalbackup.php file something we can download, and if so, can someone tell us where to get it.
Thanks so much,
Floppy Latte
This isn't my file, nor is it my error. You probably have a file like
includes/modules/order_total/ot_totalbackup.php
that you want to delete.
Hello
I get this error in cache, btw. great module just what I need.
Code:PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant MODULE_CATEGORY_DISCOUNT_CALC_TYPE in includes/modules/order_total/ot_category_discount.php on line 27
PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant MODULE_CATEGORY_CALCULATION_TYPE in includes/modules/order_total/ot_category_discount.php on line 31
This is coming from someone else's software. You will probably have files named something like
includes/modules/order_total/ot_category_discount.php
includes/languages/english/modules/order_total/ot_category_discount.php
that you should delete. (I'm speculating on the names, but I am positive this is not coming from my stuff, which is called ot_quantity_discount.php)
Thanks for a lovely mod, it works beautifully. Is it possible, however, to stop the discount being applied to Specials? There is a feeling that we're applying discounts to discounts and that this is unnecessary to make the sale ... I've a feeling I'm missing something very obvious here, but all help gratefully receieved!
There is no mechanism in Quantity Discounts to do this.
I'm hoping I can get an answer here. I realize that the quantity discount contribution is what I need for the pricing scheme that I need. I will be doing drop shipping, and my suppliers have sent me files that can be imported using Easy Populate. However, Easy Populate will not populate the multiple pricing and quantity columns that the files have, so I cannot import the pricing scheme that way.
Here is an issue I am having with this. ALL my products go by this pricing scheme where 1-11 cost XXX and 12-20 cost XXX and so on. However, they are not all the same quantities or cost. Some may have a minimum quantity of 24-40 for XXX and so on while others may start at 1-11 or 5-20 or however.
So, lets say I import all the products with Easy Populate. If I download Quantity Discount does it have the capability of importing the pricing and quantity columns? I don't know if I am explaining my question correctly or not. I guess I'm just wondering how to get my prices in there. Because all the products have different pricing for quantities bought, how exactly would Quantity discount work for me? Would I have to go to each product and enter the information one by one still?
Does anyone know of another module out there like this one that can somehow import the pricing and quantities for all the products from my vendor files so that it just populates instead of manually entering it one by one as that would be a lot of entering to do.
Any and all help is appreciated.
Thank you,
Laura Lee
Hi.
Is there a way to make the the quantity discount display amounts larger in text on the product pages please?
Thank you in advance
Casey
@OhSoNew - if the schedule differs per product, you should use the native quantity discounting solution built in to Zen Cart.
@integrity_designs - if you're asking about the marketing text, you can style it with CSS the way you can with any other text on the page.
Thanks for the reply.
I am not entirely sure what I need to put in the CSS to get it to work.
Here is a link to what I mean
Kind Regards
Casey
Right - you have used discountPolicy2. So you want to create the file:
includes/templates/YOUR_TEMPLATE/css/product_info.css
in that file, put this block of code:
Likely larger than you want but you get the idea.Code:#discountPolicy2{
font-size: 3em;
}
I didn't realize there wasn't an example of this in the help already so I just added one.
http://www.thatsoftwareguy.com/zenca...html#marketing
Thanks heaps for that.
I appreciate it a great deal.
Kind Regards
Casey
Hello,
Zen Cart Version 1.3.9h
Quantity Discounts 1.11
url www.stitchybearstamps.com/shop
Issue:
We have installed the Quantity Discounts Module and configured it as such:
Module is installed - True
Sort order-295
Inclued Tax - false
Recalc tax - None
Discount Units expressed as percentage
Discount Basis - total items in cart
Counting Method - currency
Discount level 1 $10.00
Discount amount 1 5% (this is the only percentage that is working)
Discount level 2 $15.00
Discount amount 2 10%
Discount level 3 $20.00
Discount amount 3 15%
Discount level 4 $25.00
Discount amount 4 20%
Discount level 5 $30.00
Discount amount 5 25%
We do have a paid for Free Gifts mod installed and in the past this has caused issues, but we have no other order total mods installed except for this one. No matter the amount of purchase, the quantity discount stays at 5%. Is there something we have missed in the programming?
Thank you so much for any assistance that you may have.
Jess and Stitchy
StitchyBear Digital Stamps
Be sure the levels are specified without dollar signs (10.0 not $10.0)
Ditto amounts (no percentage mark). Just a number.
Hi Scot, Been testing ZC 1.5 and would like to stat building in some other modules. You said in the v.1.5 thread that your modules will be / are v.1.5 compatable, no doudt they are but I like to doubble check things now that I've bust it up a couple of times.
Tried looking for v.1.5 ready in the downloads section, no joy.
On your site site you still link to the 1.3.8 version is this also the updated one?Quote:
Zen Cart™ Version: v1.3.8
Version: 1.11
Last Updated: Apr 03 2010
Pulled from your site.
No mention of the updated mod anywhere except in the contents of a posting. Don't want to strip out a mod just to put the same one back in so I thought I'd ask and check with you.Quote:
Relevance: Zen Cart™ 1.3.5 - 1.3.9, 1.5.0
The latest version works with 1.5; there are no changes required.
Good news, Bad news.
That means I've done something again to break it.
Oh well back to step two for me then.
Cheers
Billy
Does anyone have this mod working alongside of Products w/ Attributes stock mod? I have tried the mod and not working how I hoped. For example:
I have a single item Wine Glasses, that have attributes of pink, green, blue,etc. Price is $20 each or 6 for $100. If purchase 6 pink glasses, the mod works ok. If I purchase 2 pink glasses and 4 green glasses, it doesn't give a discount. Thoughts?
In the file includes/modules/order_total/ot_quantity_discount.php, around line 191, change
toCode:for ($i=0, $n=sizeof($products); $i<$n; $i++) {
Code:for ($i=0, $n=sizeof($products); $i<$n; $i++) {
$products[$i]['id'] = (int) $products[$i]['id'];
Does this contribution use the discounts already created with the built-in quantity discount feature in ZC?
I have more than 1000 products with quantity discounts already, so it'd be a bit of a pain to have to create the quantity discounts again.
The only functionality I need at this time is the ability to have quantity discounts apply to Sales products, which for some reason the one built-in ZC doesn't work and I can't figure out the code I need to change.
This contribution is separate from the native Quantity Discounts. It doesn't modify the price in the cart; it creates a discount on the subtotal, and can be done by by category or total number of items in the cart, sliced and diced in different ways.
Is it possible to have this mod work alongside the native Quantity Discounts? I would like to have this:
Either they can buy 5 items of the same product to get the quantity discount, or 5 different items in the same category to receive a discount. The subtotal will choose the lower value of the two amounts either the native quantity discount, or the quantity discount module, but not both together.
It doesn't work that way. This would actually be quite difficult to implement.
You really have to pick one or the other.
Would this contribution work with GoogleCheckout?
Yes, all my discounts work with Google Checkout.
Hey there
Great module and very handy for what I am looking to do, however I do have one question which if you could help me with, it would be most appreciated.
I have the module working just fine, however my problem is around the marketing code to show the discount offer on the product page.
I have added the code to the tpl_product_info_display.php file and it works perfectly. The issue for me is that I am only offering a discount strategy on products in one category, however the marketing message shows up on each and every product page. If you could assit me in modifying the code so that it will only appear on the relevant pages of product that is being offered a discount, and not appear on any other product pages, I would be most appreciative.
Thanks so much
Richard
You need to wrap the marketing text in an if block that checks the category id.
Search for current_category_id:
http://www.thatsoftwareguy.com/zenca..._messages.html
Brilliant. Thanks that worked a treat :)
Cheers
Richard
Hi,
I would like to be able to offer multiple sizes under one product and have quantity discount pricing based on the total of all sizes for the product.
For example if the quantity discount for Product A is as follows:
1 to 11: $5 each
12 to 23: $4 each
24 to 54: $3 each
…and Product A is available in size small, medium & large
…and if a shopper orders 6 small 12 medium and 24 large, I would like the total charge to be $126 (42 pieces of Product A x $3) rather than ($5 x 6 + $4 x $12 + $3 x 24).
I would like to offer tier pricing as an accumulative total of a selection of individual products, not per product.
Also, if I want to be able to order x number of size small and y number of medium on the same page; is this accomplished by grouping products rather than attributes?
I would appriciate any help.
Thanks
You can do this with Zen Cart's built in Quantity Discounting mechanism or with my contribution.
This is quite different from what you just asked. Do you want to total quantities of products A, B and C in this case?Quote:
I would like to offer tier pricing as an accumulative total of a selection of individual products, not per product.
And do you want a total charge more like $5 x 6 + $4 x $12 + $3 x 24, from your example above?
If so, the short answer is you can't do this with my mod or the built-in mechanism.
This is a completely separate question that you should ask in a new thread on the templating forum here: http://www.zen-cart.com/forumdisplay...ts-Page-LayoutQuote:
Also, if I want to be able to order x number of size small and y number of medium on the same page; is this accomplished by grouping products rather than attributes?
Thanks for the quick reply. What I'd like to do is sell a product such as a Blue T-shirt A with options of different sizes and have the shopper be able to enter the quantity they want of each size on the same page. If the shopper wants 6 small, 12 medium and 24 large, I don't want the shopper to have to enter the quantities for each size on separate pages or as separte items. Ideally I would want them to be able to have an option box on one product description page in which they would enter "6" in the "small" field, "12" in the "medium" field and "24" in the "large" field. I would then like to offer quantity discount that applies to the sum of the t-shirts (small+mediym+large) so in this case 42 shirts. I hope I am explaining it clearly. Does this make sense and is it possible?
Like I said,
This is a completely separate question that you should ask in a new thread on the templating forum here: http://www.zen-cart.com/forumdisplay...ts-Page-Layout
The presentation of products on a page and the discounts applied to those products are two separate things.
Get one working then deal with the other.
Thanks - I will post the first half of the question in the other thread. Assuming that part can be done; do you know if the second part is possible with Zen? Is it possible to have a quantity discount apply to the sum of a product's elements - either as attributes of as a group product? From the email above: "offer quantity discount that applies to the sum of the blue t-shirts (small+mediym+large) so in this case 42 shirts". So if the discount levels were 1 to 11, 12 to 23, 24 to 47 and 48+; the total of 42 shirts would place the order into a quantity discount level set for 24 to 47.
Thanks again
Like I said,
You can do this with Zen Cart's built in Quantity Discounting mechanism or with my contribution.
Hi All - just installed the Quantity Discounts Module on my Zen Cart v1.3.7.1 but I can't seem to set the addon to control only qty discount only on certain items in the store.
It works for all the items in the store, but I only want qty discount on certain items only.
Can anyone please give me a hint on what I might be missing?
thanks a TON!
gabstero
Based on your other thread posting, it looks like you decided to go with the built in quantity discounting system, which makes sense if you're discounting quantity purchases of a single item.
Lots and lots of things. Read the help for an overview.
Hi This is a great add-on, when I get to the checkout_payment page (where it sub-total, shipping, tax etc), the discount label on the checkout_payment page just lists the discount line as ' : '
Please advise how I can add to this?
Many thanks in advance.
Double check the configuration in admin and make sure you didn't use "%" or "$" signs in the "Amount" fields.
Hi SWGuy
Thanks for the quick response but I think I've worked out what I've done. Embarrassing it may sound but the Quantity Discount is set up as a link and I (like a numpty) have the link the same colour as the page.
Oh dear.
Hi
How can prompt the discount in page product
Buy 5 for $60.00 each and save 8%
Buy 10 for $57.00 each and save 13%
Like this page
http://www.goshmagic. com/formula-8.html
Thanks
Go here: http://www.thatsoftwareguy.com/zenca...html#marketing
and scroll down to example 5. This does part of what you're looking for.
Everything was working fine, but eversince I put an existing category in exclude_category() I can't get beyond step 1 in checkout_shipping as long as a product out of this category is in my shoppingcart.
It says: Entschuldigung, aber wir können nicht in Ihre Region versenden . (No shipping available to the selected country)
(Zen Cart 1.39 (German))
What's going wrong?
Any help is highly appreciated.
Thanks in advance
Inge
These two issues are not related. You can verify this by going to admin->modules->order totals, selecting Quantity Discounts, and doing a REMOVE. (However, it is possible that you have introduced a syntax error, which you can verify by checking the cache directory for error files.)
Are these items marked as free shipping, but you don't have the free shipping module enabled? That could cause what you're seeing.
These and most of the products in other categories are marked as free shipping with the free shipping module enabled and working without any problems.
I just realized, that all of a sudden products from these categories don't pass checkout successfully at all.
They were reimported lately.
I'm just comparing all the table fields, but couldn't see any abnormal or missing entry so far.
Thank goodness I tried out "Quantity Discounts" - otherwise I might not have noticed the somewhere broken products for ages. ;-)
Just to let you know ...
I found the answer to my problem.
These products causing "No shipping available to the selected country" have a value >0 in 'products_weight'.
I have no clue, why this is seemingly breaking the free_shipping_modul.
But that's a different question. ;-)
Is this working in 1.5.1 ? Since my upgrade it does not show the QTY discount and it does not discount the prices
It does work in 1.5.1.
Thanx then I must just trace the problem
Zen cart 1.5.0
I'm using the "blank discounts" implemented in zen cart ( Catalog > Product Price Manager) but the discount isn't calculated at check out. see it here: http://chequesplus.com/index.php?mai...products_id=13