I need to have a dropdown function in admin panel, to indicate if they got related products or not. something like this:
<cms: if....>
<cms:repeatable name='related_products' label='Photos' desc="Related Products" >
<cms:editable type='image' name='related_images' label='Photo' show_preview='1' preview_width='150' input_width='100' col_width='150' enforce_max='0' height="600" />
<cms:editable type='text' label='Product Label' name='pro_label' input_width='100' col_width='150' />
</cms:repeatable>
<cms: else...>
an empty message, "no related products".
</cm:if>
If user choose "yes" from dropdown, the repeated region will be shown, if they choose "no", a message will display "no related products". How can this be achieved??
<cms: if....>
<cms:repeatable name='related_products' label='Photos' desc="Related Products" >
<cms:editable type='image' name='related_images' label='Photo' show_preview='1' preview_width='150' input_width='100' col_width='150' enforce_max='0' height="600" />
<cms:editable type='text' label='Product Label' name='pro_label' input_width='100' col_width='150' />
</cms:repeatable>
<cms: else...>
an empty message, "no related products".
</cm:if>
If user choose "yes" from dropdown, the repeated region will be shown, if they choose "no", a message will display "no related products". How can this be achieved??