[TYPO3-commerce] minimum order amount

Franz Koch typo.removeformessage at fx-graefix.de
Sat Oct 27 17:27:02 CEST 2007


Hi,
> does anyone know how to set up minimum order quantity for _one_ article?

that's not to difficult. You can use one of the existing hooks of 
'tx_commerce_pi2' to do it. The hook is called 'postartAddUid'. There 
you can check for the quantity of the items in your basket and correct 
it if necessary. Did this for a customer who needed the possibility to 
define if a article can be ordered in parts (0.5 m, 1.3 m, etc.) or not.

--
Greetings,
Franz


More information about the TYPO3-project-commerce mailing list