Attribute radio or select

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
alpin3rocker
Posts: 29
Joined: 04 Mar 2015, 09:16

Attribute radio or select

Post by alpin3rocker » 17 Jun 2016, 07:05

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!

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Attribute radio or select

Post by aimeos » 17 Jun 2016, 08:15

Did you clear the frontend cache afterwards or disabled caching in the Extension Manager during development?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

alpin3rocker
Posts: 29
Joined: 04 Mar 2015, 09:16

Re: Attribute radio or select

Post by alpin3rocker » 17 Jun 2016, 09:35

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.

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Attribute radio or select

Post by aimeos » 17 Jun 2016, 12:46

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 ")"
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

alpin3rocker
Posts: 29
Joined: 04 Mar 2015, 09:16

Re: Attribute radio or select

Post by alpin3rocker » 17 Jun 2016, 13:42

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
Attachments
aimeos-attribute-type.jpg
aimeos-attribute-type.jpg (50.33 KiB) Viewed 2967 times

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Attribute radio or select

Post by aimeos » 17 Jun 2016, 15:47

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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply