Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hello,

I'm having the exact same issue as this topic :
viewtopic.php?f=4&t=11219

The solution hasn't been posted in that thread. I posted a comment to ask if that was possible to get the solution, but I got no reply, so I thought I would make my own topic about it.

Here's the kind of code I'm using (like the posted reference topic):

Code: Select all
<cms:each active_filters as='cat'>

              <cms:if cat = 'squirrel' > <option value="squirrel">Squirrel</option>
                <cms:else />
                <option value="squirrel" disabled>Squirrel (coming soon)</option>
              </cms:if>
              <cms:if cat = 'skunk' > <option value="skunk">Skunk</option>
                <cms:else />
                <option value="skunk" disabled>Skunk (coming soon)</option>
              </cms:if>
              <cms:if cat = 'racoon' > <option value="racoon">Racoon</option>
                <cms:else />
                <option value="racoon" disabled>Racoon (coming soon)</option>
              </cms:if>
            </cms:each>


This is within a select html element.
What is displayed in the select element is:

Squirrel
Skunk (coming soon)
Racoon (coming soon)
Squirrel (coming soon)
Skunk
Racoon (coming soon)
Squirrel (coming soon)
Skunk (coming soon)
Racoon

What I need, is that if "cat = squirrel", it shows "Squirrel", but that's it. Not all the other options. And if the "cat" checkbox is not equal to "squirrel", then show "Squirrel (coming soon)".

If I check Squirrel, but not Racoon and SKunk, it should look like this:

Squirrel
Skunk (coming soon)
Racoon (coming soon)


Any idea what's wrong here?

Thanks a lot
Hi,

I have posted a solution in the original thread -
viewtopic.php?f=4&t=11219&p=29733#p29733

Hope it helps.
Worked perfectly! Thanks KK :)
3 posts Page 1 of 1

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 2 guests