[TYPO3-commerce] Validation before checkout!

Rik Willems rik at actiview.nl
Fri May 8 10:13:02 CEST 2009


Hi Idar,

Michiel wrote a wiki article on how to use commerce hooks. Using those 
hooks you can add a step in your checkout process that counts the number 
of bottles in the cart. I it fails your criteria it should drop an error 
and return to the shop. Perhaps you can insert it as first step. But, if 
I remember correctly, you can't add steps at all places...

Hope this is helpful

Rik

Idar Creative schreef:
> Hallo Michel,
> 
> I hope it so easy...
> 
> The boxes contains different kind of wines (free of choice).
> So, to sell boxes with with only 1 kind of wine is no option.
> Obviously is javascript the only way to do it?
> 
> Idar
> 
> 
> 
> 
> 
> 
> "Michiel Roos [netcreators]" <michiel at netcreators.com> schreef in bericht 
> news:mailman.1.1241528502.30798.typo3-project-commerce at lists.netfielders.de...
>> Idar Creative schreef:
>>> Hi List,
>>>
>>> We have the following problem/challenge which i want to discuss with you!
>>>
>>> We are developing a commerce webshop for a client that sells exclusive
>>> wines.
>>> A mandatory is, that it's only possible to checkout the basket by 6 piece
>>> (amount)
>>> So you can order 6, 12, 18, 24, ... bottles
>>> Example: you can order 6 bottles of one brand or 1 bottles of different
>>> brands or in between!
>>>
>>> Before  (or after) clicking the "to checkout" button, I want to validate 
>>> the
>>> amount.
>>>
>>> How can we resolve this matter?
>>> Any suggestion will be great, because I don't have any clue rigtht now.
>>>
>>> Kind regards,
>>>
>>> Idar
>>>
>>>
>>>
>> Uhm . . .
>>
>> Change your setup so you sell boxes instead of bottles?
>>
>> -- 
>> Michiel Roos
>> TYPO3 Developer
>> 06 458 7 8 9 10
>> ________________________________________________________________________
>> Netcreators: Open Source, Open Minds, Open People
>> ________________________________________________________________________ 
> 
> 


More information about the TYPO3-project-commerce mailing list