[TYPO3-commerce] rare checkout requirement: minimum weight in basket

Ralf Merz ralf.merz at heindl.de
Tue Dec 2 14:19:32 CET 2008


Hi Morten,

Morten Olesen schrieb:
> hi list,
> 
> replying to myself here - seems the problem was with thunderbird and 
> unfortunately the solution was to kill the cached news database :(

That´s a pity. I cannot report any errors with the list on thunderbird yet.
No problem for posting off topic.

Greets
Ralf


> 
> /Morten Olesen
> 
> Morten Olesen wrote:
>> hi list,
>>
>> This would be completely off topic for this thread - but I cannot the 
>> the thread that this is a reply to - anyone else having this problem 
>> or is Thunderbird messing with me?
>>
>> /Morten Olesen
>>
>> Heiko Hänsge wrote:
>>> Hello Ralf,
>>>
>>> Thank you very much.
>>> The solution does not take the 'minimum product weight' condition for 
>>> checkout into account so far.
>>>
>>> regards
>>> Heiko Hänsge
>>>
>>> ------------ Original-Nachricht ------------
>>> Ralf Merz schrieb am 29.11.2008 09:16 Uhr:
>>>> Hello Heiko,
>>>>
>>>> yes, it is possible to do this with commerce.
>>>> First of all, have a look in the commerce wiki on wiki.typo3.org:
>>>> http://wiki.typo3.org/Commerce
>>>> There, at 7.4 "tutorials" you find a link to
>>>> "Creating an extension that switches the delivery methods based on 
>>>> basket sum" 
>>>> http://wiki.typo3.org/Commerce/Tutorial/VariableDeliveryCost/
>>>>
>>>> I think this can help you.
>>>> The idea behind this is as follows:
>>>>
>>>> I assume that you have entered the weight as attribute.
>>>> You have to create your different delivery articles: shipping1 = 7 
>>>> Euro, shipping2 = 0 Euro.
>>>>
>>>> In pi2 you have to use the hooks "after adding an article to the 
>>>> basket" (or sth. like that). So before the basket will be rendered 
>>>> you can or have to change the delivery article.
>>>> For every article you can fetch the attribute 'weight'. So you can 
>>>> calculate the weight sum an then decide how to change the delivery 
>>>> articles.
>>>>
>>>> Maybe someone else has another idea to do this. My way would be like 
>>>> this.
>>>>
>>>> Regards
>>>> Ralf Merz
>>>>
>>>>
>>>>
>>>> Heiko Hänsge schrieb:
>>>>> Hello,
>>>>>
>>>>> we have the following checkout requirements:
>>>>> - a customer needs to have an overall minimum product weight of 3kg 
>>>>> in the basket to be able to checkout, otherwise a message needs to 
>>>>> be shown
>>>>> - if there is less than 10kg of weight in the basket, shipping 
>>>>> costs of 7€ should be applied on checkout
>>>>> - if there is 10kg or more in the basket, NO shipping costs should 
>>>>> be applied on checkout
>>>>>
>>>>> As I couldn't find an appropriate hint in the manual to solve this 
>>>>> I'd like to ask here: Is it possible to do this with 'commerce'?
>>>>> And - if yes - how to declare the TypoScript needed? Thanks in 
>>>>> advance!
>>>>>
>>>>> Regards
>>>>> Heiko Hänsge


-- 
--
Greetings
Ralf Merz

Heindl Internet AG
Tübingen , Germany
ralf.merz at heindl.de


More information about the TYPO3-project-commerce mailing list