Forums / General Questions / Change "Product Qty Maximum" based on customer group

Change "Product Qty Maximum" based on customer group

Started by jwlamb on 27 Jan 2014, 10:10 PM · Views: 586

Results 1 to 7 of 7
27 Jan 2014, 10:10 PM
#1
jwlamb avatar

jwlamb

Zen Follower

Join Date:
Jan 2014
Location:
Arizona
Posts:
110
Plugin Contributions:
0

Change "Product Qty Maximum" based on customer group

Good afternoon all. While Twitch is working on another mod for me, I wanted to throw this question out there for those zc brainiacs that know coding way more than I do.

Is it possible to change the Product Qty Maximum for particular customers (defined by group or something) so that logged in customers under that group can buy more than guests and someone who is not logged in but not part of the group? Say guests can but upto 5 qty but group members can buy 10?

THANK YOU!!

31 Jan 2014, 3:23 PM
#2
jwlamb avatar

jwlamb

Zen Follower

Join Date:
Jan 2014
Location:
Arizona
Posts:
110
Plugin Contributions:
0

Re: Change "Product Qty Maximum" based on customer group

Anyone?

31 Jan 2014, 5:27 PM
#3
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Change "Product Qty Maximum" based on customer group

Are you referring to product quantity discounts in the price manager?

Buy 0 - 5 items -> pay $10

Buy 6 - 10 items -> pay $6

This has been addressed for Twitch Wholesale in the forum.

There is no existing code that filters the** product quantity maximum** relative to the customer group.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

31 Jan 2014, 10:53 PM
#4
jwlamb avatar

jwlamb

Zen Follower

Join Date:
Jan 2014
Location:
Arizona
Posts:
110
Plugin Contributions:
0

Re: Change "Product Qty Maximum" based on customer group

Not looking for discounts, I would like to limit non-members and give more freedom to members.

1 Feb 2014, 3:57 AM
#5
mtncycling avatar

mtncycling

New Zenner

Join Date:
Jan 2014
Posts:
14
Plugin Contributions:
0

Re: Change "Product Qty Maximum" based on customer group

I would suggest doing it by group as it would be easier to move customers from one restrcition to another. It is a fairly simple edit but I think it does modify some core files. I will have to take a look at my notes as I did it for a friends site a few years back.

4 Feb 2014, 12:07 AM
#6
jwlamb avatar

jwlamb

Zen Follower

Join Date:
Jan 2014
Location:
Arizona
Posts:
110
Plugin Contributions:
0

Re: Change "Product Qty Maximum" based on customer group

Thank you, please share if you have something that would work (still works if pre 1.5.1)

Thanks!

4 Feb 2014, 12:27 AM
#7
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Change "Product Qty Maximum" based on customer group

You'll need Twitch Wholesale, Twitch Restrict Cat..., and the update for Group Pricing by Item that hasn't been released yet.

Perhaps I'll need to write up 'how to setup a membership pyramid' in the notes.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian