VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: SRD on February 19, 2014, 03:01:06 AM

Title: limit number of products per transaction
Post by: SRD on February 19, 2014, 03:01:06 AM
Hi.  Is there a way to limit the number of products purchased per transaction?

We'd like to limit it to 4 per transaction.

We are using VirtueMart 2.0.12f
Title: Re: limit number of products per transaction
Post by: Jazajay on February 22, 2014, 10:07:01 AM
Hi SRD
This may be possible in the shipping method. I know the: Paypal shipping method, has a setting called: Maximum number of products.

What that does I have no idea; but, you could try there. :)
Title: Re: limit number of products per transaction
Post by: SRD on February 22, 2014, 10:17:51 AM
We don't have Paypal shipping installed.

We have "Vm Shipment plugin Weight/Nb of Products/Countries" version 2.0.12f by The VirtueMart Development Team.

We have the following shipping methods:
- UPS Ground - Tier 2
- UPS Ground - Tier 3
- UPS Ground - Tier 1
- International Freight
Title: Re: limit number of products per transaction
Post by: Jazajay on February 22, 2014, 11:02:03 AM
With out a serious hack, I'm not sure this will be possible at present. I can't seem to find any relevant extensions that would solve this for you.

The best places to check would be:
http://extensions.virtuemart.net/
http://extensions.joomla.org/extensions/

Jaz
Title: Re: limit number of products per transaction
Post by: SRD on February 22, 2014, 11:39:04 AM
Thanks Jazajay.  I didn't find any there.  It looks like it will be a custom modification.
Title: Re: limit number of products per transaction
Post by: Jazajay on February 22, 2014, 11:41:48 AM
Sorry I couldn't be any more help SRD. :(
Title: Re: limit number of products per transaction
Post by: jenkinhill on February 22, 2014, 12:37:40 PM
The current (VM2.0.24d) standard shipping method has a configuration setting  for "Maximum number of products"

Note that all VM versions before 2.0.22c have known critical security issues and some sites have been hacked. See http://forum.virtuemart.net/index.php?topic=118683.0
Title: Re: limit number of products per transaction
Post by: SRD on February 22, 2014, 12:57:51 PM
Excellent, thanks Kelvyn.