[TYPO3-commerce] minimum order amount

Elena Kuprienko typo3commerce at kuprienko.de
Tue Oct 30 10:13:44 CET 2007


it works!

first i check the quantity, change it if i need to and update the sum 
with recalculate_item_sums()

and, yes, it's not difficult :)

thank you,
Elena

Franz Koch schrieb:
> 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