a guest May 25th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {{!< default}}
  2. <div class="container">
  3.         <h1>Store</h1>
  4.         <ul class="product-list">
  5.                 {{# each products}}
  6.                 <li class="product-list__item" product-id="{{{}}}" product-price="{{{this.price}}}">
  7.                         <h3 class="product-list__item__name"><a href="{{productUrl slug}}">{{{}}}</a></h3>
  8.                         <p class="product-list__item__price">${{{this.priceString}}}</p>
  9.                         <img class="product-list__item__image" src="{{{this.imageUrl}}}"></img>
  10.                         <a class="btn btn-primary" href="/add-to-cart/{{{}}}">Add to cart</a>
  11.                 </li>
  12.                 {{/each}}
  13.                 </tbody>
  14.         </ul>
  15. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand