[Typo3-shop] shipping options template

Peter Bauer peddabaua at web.de
Tue Apr 12 11:24:19 CEST 2005


The problem remains.

If necessary I can work with the default template, but keep on wandering 
why the custom-template does not work..
thanks anyway

Jens Schmietendorf wrote:
> Try this :
> plugin.tt_products.shipping >
> plugin.tt_products.shipping {
>    radio = 1
>    template = <nobr>###IMAGE### <input type="radio"
>  name="recs[tt_products]['.$key.']" onClick="submit()"
>  value="###VALUE###"###CHECKED###> ###TITLE###</nobr><BR>
>  }
> 
> jenses
> 
> Peter Bauer schrieb:
> 
>> I am trying to use a custom-template for the shipping options.
>> Here the code of my setup:
>>
>> plugin.tt_products.shipping {
>>   radio = 1
>>   template = <nobr>###IMAGE### <input type="radio" 
>> name="recs[tt_products]['.$key.']" onClick="submit()" 
>> value="###VALUE###"###CHECKED###> ###TITLE###</nobr><BR>
>> }
>>
>> In this example the template-string is equal to the default 
>> template-string, but the result is as follows:
>>
>> On selecting a shipping option, the formular is submitted and the page 
>> is reloaded. But instead of MY shipping option being checked, it is 
>> allways a certain other option.
>>
>> Anybody knows why?
>>
>> Greets Peter



More information about the TYPO3-project-tt-products mailing list