Skip to content

Instantly share code, notes, and snippets.

@theskillwithin
Created October 12, 2015 16:17
Show Gist options
  • Save theskillwithin/a79ce4005b868526cbe2 to your computer and use it in GitHub Desktop.
Save theskillwithin/a79ce4005b868526cbe2 to your computer and use it in GitHub Desktop.
<div class="cimg"><a href="[data field='url']"><img src="[data field='icon-image' fmt='src']" alt="[data field='name']" class="item"></a></div>
<p class="description"><a href="[data field='url']">[data field='name']</a></p>
[data field='abstract']
[cmd type='text' text1='<p class="price">[data field='price' fmt='price']</p>' cond1='(price exists)&&!(sale-price exists)']
[cmd type='text' text1='<p class="price regular-price">Reg: [data field='price' fmt='price']</p>' cond1='(price exists)&&(sale-price exists)']
[cmd type='text' text1='<p class="price sale-price">Sale: [data field='sale-price' fmt='price']</p>' cond1='(price exists)&&(sale-price exists)']
[cmd type='section-reviews']
[cmd type='promo-item']
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment