Developer forum

Forum » Templates » Items - how to output selected checkboxes

Items - how to output selected checkboxes

Lise T. Pedersen
Reply

Haven't worked much with items yet, and have a question:

I have some products, created as items. Each product is available in different colours, which has to be shown with both the name and an icon.

At first I created a Checkbox List with ALL colours, which made it easy to select the actual colours for each product (See attached file).
But I can't see figure out how to output a loop with the selected colors, showing both name and the icon-picture, that I already have connected to each checkbox, when I created the check box list. In fact I can't find the templatetags for each value in the check box list, only one value for all that is selected...

Instead I tried to create separate checkboxes with each color. But then I have to make a template, listing all colours and link to image for each. This is no problem to make, but it would be nicer if it could be done with a loop - but the colour picking is more intuitive in backend, if the colours is shown, when products is created, I think.

Hope some of you have the key to solve this issue, or some examples :-)

/LIse


Replies

 
Lise T. Pedersen
Reply

Please close this post - it's important to input your "dwtemplatetag" at the right place...

 

You must be logged in to post in the forum