Page 1 of 1

Attribute radio or select

Posted: 17 Jun 2016, 07:05
by alpin3rocker
Hello,

this settings has no effect in the Product Detail Page

Code: Select all

client.html.catalog.detail.basket.selection.type (
    width = select
    color = radio
    option = radio
)
i wrote this in the TypoScript Setup and in the TypoScript Configuration of the Catalog Detail Plugin.
The option of attributes should be a radio selection.
What else can i try?

Aimeos 16.4.3
Typo3 6.2

Thank you!

Re: Attribute radio or select

Posted: 17 Jun 2016, 08:15
by aimeos
Did you clear the frontend cache afterwards or disabled caching in the Extension Manager during development?

Re: Attribute radio or select

Posted: 17 Jun 2016, 09:35
by alpin3rocker
Hello, thank your for answer.
Yes, i clear the Frontend cache automatically after i did changes in Typo3 Backend ;).
Now i had disabled the cache in Extensionmanager in the Aimeos Shop Extension with "None" in the offered field, cleared cache in Install Tool "important actions --> Clear all cache"... Detail view is still showing select boxes for attributes.

Re: Attribute radio or select

Posted: 17 Jun 2016, 12:46
by aimeos
alpin3rocker wrote:

Code: Select all

client.html.catalog.detail.basket.selection.type (
    width = select
    color = radio
    option = radio
)
Your TypoScript is wrong. You have to use braces - "{" and "}" - instead of brackets "(" and ")"

Re: Attribute radio or select

Posted: 17 Jun 2016, 13:42
by alpin3rocker
i found it out for myself.

now it works for selection type option i use following lines

Code: Select all

plugin.tx_aimeos.settings.client.html.catalog.detail.basket.selection.type.option = radio
plugin.tx_aimeos.settings.client.html.catalog.detail.basket.attribute.type.color = radio
but the attribute type (color) is still a selectbox with another design !?

Is it possible to get the first option checked per default?

thank you

Re: Attribute radio or select

Posted: 17 Jun 2016, 15:47
by aimeos
alpin3rocker wrote:but the attribute type (color) is still a selectbox with another design !?
No, it's a radio checkbox now even if it doesn't look like at the first glimpse ;-)
alpin3rocker wrote:Is it possible to get the first option checked per default?
Not yet, but in the next version this will be a configuration option.