Guest User

Untitled

a guest
Aug 22nd, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. <select id="parent-{{product.id}}"><option>124</option></select>
  2.  
  3. jquery("#parent-{{product.id}}").hide();
  4. jquery("#parent-{{product.id}}").show();
  5.  
  6. id= parent-{{product.id}}
  7.  
  8. <div class="select">
  9. <select id="product-select-{{ product.id }}{{ product-form }}{{ section.id }}{{ block.id }}" name="id" class="multi_select">
  10. {% for v in product.variants %}
  11. <option {% if v == variant %} selected="selected" {% endif %} data-sku="{{ v.sku }}" value="{{ v.id }}">{{ variant.title }} - {{ v.price | money_with_currency }}</option>
  12. {% endfor %}
  13. </select>
Add Comment
Please, Sign In to add comment