Coupon
Code: dc2vsmbrx
DescriptionGreat discount for you
AmountTotal amount: 10, used: 0
Shipping
Coupon offers free shipping
Products
Reserved for products
woo-hoodie-with-logo |
Hoodie with Logo |
|
Appointment Test2 |
Excluded products
stest1 |
Subscription test1 |
Categories
Page markup
<Loop type=woo_coupon count=3>
<div class="p-3 mb-2 bg-light text-secondary">
<h3>Code: <Field code />x </h3>
<dt>Description</dt><dd><Field description /></dd>
<dt>Amount</dt><dd>Total amount: <Field amount />, used: <Field usage_count /></dd>
<dt>Shipping</dt>
<If field="free_shipping">
<dd>Coupon offers free shipping</dd>
<Else/>
<dd>Coupon does <b>not</b> offer free shipping</dd>
</If>
<strong>Products</strong>
<div class="row">
<div class="col-6">
<dd>Reserved for products</dd>
<table class="text-success" cellpadding="5">
<Loop field=products>
<tr>
<td><Field sku /></td>
<td><Field name /></td>
</tr>
</Loop>
</table>
</div>
<div class="col-6">
<dd>Excluded products</dd>
<table class="text-warning" cellpadding="5">
<Loop field=excluded_products>
<tr>
<td><Field sku /></td>
<td><Field name /></td>
</tr>
</Loop>
</table>
</div>
</div>
<strong>Categories</strong>
<div class="row">
<div class="col-6">
<dd>Reserved for categories</dd>
<table class="text-success" cellpadding="5">
<Loop field=product_categories>
<tr>
<td><Field title /></td>
<td><Field slug /></td>
</tr>
</Loop>
</table>
</div>
<div class="col-6">
<dd>Excluded categories</dd>
<table class="text-warning" cellpadding="5">
<Loop field=excluded_product_categories>
<tr>
<td><Field title /></td>
<td><Field slug /></td>
</tr>
</Loop>
</table>
</div>
</div>
</div>
</Loop>