Show message when item is out of stock
							parent
							
								
									52828cbd40
								
							
						
					
					
						commit
						1b32393b2b
					
				|  | @ -38,6 +38,15 @@ | ||||||
|                     {{/each}} |                     {{/each}} | ||||||
|                     </div> |                     </div> | ||||||
|                 {{/if}} |                 {{/if}} | ||||||
|  |                 {{#if config.trackStock}} | ||||||
|  |                     {{#ifCond result.productStock '==' 0}} | ||||||
|  |                     <div class="col-md-10"> | ||||||
|  |                         <h4 class="text-danger text-center"> | ||||||
|  |                             Out of stock | ||||||
|  |                         </h4> | ||||||
|  |                     </div> | ||||||
|  |                     {{/ifCond}} | ||||||
|  |                 {{/if}} | ||||||
|                 <div class="col-md-10 productOptions"> |                 <div class="col-md-10 productOptions"> | ||||||
|                     <p class="product-option-text">Quantity</p> |                     <p class="product-option-text">Quantity</p> | ||||||
|                     <div class="input-group"> |                     <div class="input-group"> | ||||||
|  |  | ||||||
|  | @ -38,6 +38,15 @@ | ||||||
|                 {{/each}} |                 {{/each}} | ||||||
|                 </div> |                 </div> | ||||||
|             {{/if}} |             {{/if}} | ||||||
|  |             {{#if config.trackStock}} | ||||||
|  |                 {{#ifCond result.productStock '==' 0}} | ||||||
|  |                 <div class="col-md-10"> | ||||||
|  |                     <h4 class="text-danger text-center"> | ||||||
|  |                         Out of stock | ||||||
|  |                     </h4> | ||||||
|  |                 </div> | ||||||
|  |                 {{/ifCond}} | ||||||
|  |             {{/if}} | ||||||
|             <div class="col s10 productOptions"> |             <div class="col s10 productOptions"> | ||||||
|                 <p class="product-option-text">Quantity</p> |                 <p class="product-option-text">Quantity</p> | ||||||
|                 <div class="input-group"> |                 <div class="input-group"> | ||||||
|  |  | ||||||
|  | @ -38,6 +38,15 @@ | ||||||
|                 {{/each}} |                 {{/each}} | ||||||
|                 </div> |                 </div> | ||||||
|             {{/if}} |             {{/if}} | ||||||
|  |             {{#if config.trackStock}} | ||||||
|  |                 {{#ifCond result.productStock '==' 0}} | ||||||
|  |                 <div class="col-md-10"> | ||||||
|  |                     <h4 class="text-danger text-center"> | ||||||
|  |                         Out of stock | ||||||
|  |                     </h4> | ||||||
|  |                 </div> | ||||||
|  |                 {{/ifCond}} | ||||||
|  |             {{/if}} | ||||||
|             <div class="col s10 productOptions"> |             <div class="col s10 productOptions"> | ||||||
|                 <p class="product-option-text">Quantity</p> |                 <p class="product-option-text">Quantity</p> | ||||||
|                 <div class="input-group"> |                 <div class="input-group"> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue