Skip to content

Instantly share code, notes, and snippets.

@scottcorgan
Created June 21, 2012 16:05
Show Gist options
  • Save scottcorgan/2966722 to your computer and use it in GitHub Desktop.
Save scottcorgan/2966722 to your computer and use it in GitHub Desktop.
Original Product
<div class='sizeChart'>
size info
</div>
<div class='slides'></div>
<div class='meta'>
<span class='price'>${{product.price}}</span>
<span class='desc'>
{{product.gender.spec.name}}
{{product.cut.spec.name}}
</span>
</div>
<div class='cart'>
<div class='plus'>+ cart</div>
<div class='options'>
<ul>
{{#product.sizes}}
<li class='size'>
{{spec.abbreviation}}
<ul class='colors clearfix'>
{{#colors}}
<li style='background:#{{hex}};' data-productid='{{productId}}' data-sizeid='{{_id}}'>
</li>
{{/colors}}
</ul>
</li>
{{/product.sizes}}
</ul>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment