- This topic has 1 reply, 2 voices, and was last updated 12 years, 5 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › eStore – dropdown interface customization
I use the plugin to sell clothes on my site. I currently have a drop-down menu for sizes (each size is a different ID) — like this:
<select id=”selectMe”>
<option value=”option1″>Small</option>
<option value=”option2″>Medium</option>
<option value=”option3″>Large</option>
</select>
</div>
<div style=”float:left; margin-left: 182px; margin-top: -20px;”>
<div id=”option1″ class=”group”>[wp_eStore_fancy1 id=97]</div>
<div id=”option2″ class=”group”>[wp_eStore_fancy1 id=98]</div>
<div id=”option3″ class=”group”>[wp_eStore_fancy1 id=99]</div>
</div>
I would like to make it so that if quantity = 0, then the ID is removed from the dropdown. Does anyone know how I might do this?
What ID are we talking about? The ID of the HTML attribute or your custom ID of something? How did you add this ID?