WIP
This commit is contained in:
26
tpl/product-tile.tpl
Normal file
26
tpl/product-tile.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
<div class="product-tile">
|
||||
<a href="{{ cartUrl }}"
|
||||
class="button product_type_simple add_to_cart_button ajax_add_to_cart"
|
||||
data-product_id="{{ id }}"
|
||||
data-product_sku="{{ sku }}"
|
||||
data-quantity="1"
|
||||
aria-label="Add to cart: {{ title }}"
|
||||
data-success_message="“{{ title }}” has been added to your cart"
|
||||
rel="nofollow"
|
||||
>
|
||||
<img src="{{#assetUrl cart-plus.svg }}" alt="Add To Cart" />
|
||||
</a>
|
||||
<a href="{{ url }}">
|
||||
<img src="{{ thumbnail }}" alt="{{ title }}" />
|
||||
</a>
|
||||
<h2>
|
||||
<a href="{{ url }}">{{ title }}</a>
|
||||
</h2>
|
||||
<p class="price">${{ price }}</p>
|
||||
{{#if msrp}}
|
||||
<p class="msrp">MSRP: ${{ msrp }}</p>
|
||||
{{/if}}
|
||||
{{#if savings}}
|
||||
<p class="savings">(You save {{ savings }}%)</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user