If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Order Total Modules / Quantity Discounts for 1.3

Quantity Discounts for 1.3

Started by swguy on 13 Aug 2006, 10:22 AM · Views: 226,694

Results 481 to 500 of 847
28 Dec 2009, 12:00 AM
#481
jenbullfrog avatar

jenbullfrog

Zen Follower

Join Date:
Oct 2005
Location:
Helena, MT
Posts:
110
Plugin Contributions:
0

Quantity Discounts for 1.3

any way to accomplish something like this (i pasted it below)?

i have 3 categories, PLANS, DVDs, and T-shirts.
T-shirts category should have no quantity discounst.
Plans and dvds have different quantity discounts.
and there are many as you see, way more than 5.


Get any ONE series of the construction plans for only

$19.95

Get any TWO series of the construction plans for only

$34.95

Get any THREE series of the construction plans for only

$49.95

Get any FOUR series of the construction plans for only

$64.95

Get any FIVE series of the construction plans for only

$79.95

Get any SIX series of the construction plans for only

$94.95

Get any SEVEN series of the construction plans for only

$109.95

Get any EIGHT series of the construction plans for only

$124.95

Get any NINE series of the construction plans for only

$139.95

Get any TEN series of the construction plans for only

$154.95

Get any ELEVEN series of the construction plans for only

$169.95

Get any TWELVE series of the construction plans for only

$184.95

Get Any THIRTEEN series of the construction plans for only

$199.95

Get Any FOURTEEN series of the construction plans for only

$214.95

Get Any FIFTEEN series of the construction plans for only

$229.95

Get Any SIXTEEN series of the construction plans for only

$244.95

Get Any SEVENTEEN series of the construction plans for only

$259.95

Get Any EIGHTEEN series of the construction plans for only

$274.95

Get Any NINETEEN series of the construction plans for only

$287.95

Get Any TWENTY series of the construction plans for only

$299.95

Get ALL TWENTY ONE series of the construction plans for only

$309.95

Get either of the construction videos/dvd's for only

$19.95

Get BOTH of the construction videos/dvd's for only

$35.95

Get it ALL for only $319.95


28 Dec 2009, 12:09 AM
#482
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

jenbullfrog:

any way to accomplish something like this (i pasted it below)?

i have 3 categories, PLANS, DVDs, and T-shirts.
T-shirts category should have no quantity discounts.
Plans and dvds have different quantity discounts.
and there are many as you see, way more than 5.

Normally can accommodate more than 5 levels using the add_extra_level_discount command, but since yours are different on a per category basis, you need to look at the apply_special_category_discount function.

You can exclude t shirts from discounting using the exclude_category or exclude_product functions.

Here's the help:
http://www.thatsoftwareguy.com/zencart_quantity_discounts.html

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.

29 Dec 2009, 3:29 PM
#483
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,022
Plugin Contributions:
2

Re: Quantity Discounts for 1.3

I apply QD on a category basis and the blurb on select product pages reads:

"Get 10% off when you buy 10 or more items in this category" etc

Is it possible to state the actual category rather than "items in this category", eg

"Get 10% off when you buy 10 or more widgits" where "widgits" is the immediate category.

Or would doing this be too specific for my own good?

29 Dec 2009, 4:49 PM
#484
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

There's nothing built in; you'd have to add code to do this.

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.

30 Dec 2009, 1:59 PM
#485
wheat avatar

wheat

New Zenner

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

Re: Quantity Discounts for 1.3

swguy:

the idea of hard increments is not built
in.

Thank you for your help

That may have been a poor choice of words in my part.

Let me go think about a better way to ask the question <G>

Peace of the Season

Wheat

11 Jan 2010, 1:28 AM
#486
jenbullfrog avatar

jenbullfrog

Zen Follower

Join Date:
Oct 2005
Location:
Helena, MT
Posts:
110
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

OneWorldStudios:

Was a solution ever discovered for this problem? I've been having problems with customers not receiving their discounts when using PayPal Express or "Checkout without signup" and then trying to pay via Paypal.

I'm having the same problem. Is there a fix for this?

11 Jan 2010, 2:19 AM
#487
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

For PayPal Express and Discounts, see this post:
http://www.zen-cart.com/forum/showpost.php?p=437721&postcount=15

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.

11 Jan 2010, 2:36 AM
#488
jenbullfrog avatar

jenbullfrog

Zen Follower

Join Date:
Oct 2005
Location:
Helena, MT
Posts:
110
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

ok cool thank you, so is there also a fix for paypal ipn, or just for paypal express?

11 Jan 2010, 11:08 AM
#489
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Are you having this problem with IPN too? I thought you said just paypal express.

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.

11 Jan 2010, 3:08 PM
#490
jenbullfrog avatar

jenbullfrog

Zen Follower

Join Date:
Oct 2005
Location:
Helena, MT
Posts:
110
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

swguy:

Are you having this problem with IPN too? I thought you said just paypal express.

I have the Checkout Without Account (Fast and Easy Checkout mod) installed, and when customer chooses to pay with Paypal IPN, he gets charged full price instead of the discounted price, even though the discounts do show up in cart and on order page.

Now I don't know yet whether the correct total is being passed to payment gateway (authorize.net emulator). We haven't had a qty discount authorize.net sale, but the store has only been live for one day.

Everything appears to be correct in ZenCart Admin, discount and correct total displays on the order, the only thing I can see that's wrong is Gross Amount: in the payment section of the order.

11 Jan 2010, 3:16 PM
#491
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

I have heard of reports of problems passing discounts to paypal recently but don't know the root cause.

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.

15 Jan 2010, 3:48 PM
#492
odessey1 avatar

odessey1

New Zenner

Join Date:
Mar 2008
Posts:
33
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I have installed this module, on my store zen-cart 1.37,
I have a product in multiple sub-categories, the discount works fine when I add the product selected from the category I set it up in.
The problem lies when I select the same product from a different category it does not add the discount.

15 Jan 2010, 3:55 PM
#493
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

The master categories id is used in category computations, so if you have copied the product from category A to category B, the one in category B will use category A as its category id.

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.

15 Jan 2010, 4:01 PM
#494
odessey1 avatar

odessey1

New Zenner

Join Date:
Mar 2008
Posts:
33
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

This what I have setup:
// Add all linkages here
$this->add_twoforone_cat(4);

The product is all also in 6_13.

Does this make sense?

15 Jan 2010, 4:05 PM
#495
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

If you copied the product (instead of linking it), you would have to do an $this->add_twoforone_cat(13); or do an add_twoforone_prod on that particular product if the former is not appropriate.

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.

15 Jan 2010, 4:08 PM
#496
odessey1 avatar

odessey1

New Zenner

Join Date:
Mar 2008
Posts:
33
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Thanks so much for your quick reply.

17 Jan 2010, 5:38 AM
#497
lunabug avatar

lunabug

New Zenner

Join Date:
Dec 2009
Posts:
94
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I've got this installed and it's working great except...

I've added the code for 'Quantity Discounts Contribution Example 5 Marketing Text' described on the web page.
My web page is displaying: "Priced as low as in quantities of or more." Notice there are no numbers, what's wrong?

I was floating in a peaceful sea...rescued by a sinking ship.

17 Jan 2010, 5:58 AM
#498
lunabug avatar

lunabug

New Zenner

Join Date:
Dec 2009
Posts:
94
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

lunabug:

I've got this installed and it's working great except...

I've added the code for 'Quantity Discounts Contribution Example 5 Marketing Text' described on the web page.
My web page is displaying: "Priced as low as in quantities of or more." Notice there are no numbers, what's wrong?

Still me...

This text is also showing up on the products that do not qualify for this discount. The discount at check out works fine it's just the text.

Help!

I was floating in a peaceful sea...rescued by a sinking ship.

17 Jan 2010, 11:07 AM
#499
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Both of these questions are answered in the notes that follow the marketing text examples. See notes 3 and 7.

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.

17 Jan 2010, 6:10 PM
#500
lunabug avatar

lunabug

New Zenner

Join Date:
Dec 2009
Posts:
94
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Not quite there yet...

I updated the code as stated in note 3, nothing changed in the text, still no numbers.

So, now it must be the issue about excluding categories. I have all my products in 2 categories: one that is discounted, one that is not. Both these categories are the master categories for the products and are hidden/inactive, all the products are linked into their 'end user' categories.

I have excluded the master category ID in the user exit code:

  • function exclude_category($category) {
    switch($category) {
    case 16:
    return true;
    }
    return false;
    }*

which brings me to note 4... how does it determine "$current_category_id"?

I was floating in a peaceful sea...rescued by a sinking ship.