diff --git a/views/themes/Cloth/product.hbs b/views/themes/Cloth/product.hbs index aa486c3..fc7cbcd 100644 --- a/views/themes/Cloth/product.hbs +++ b/views/themes/Cloth/product.hbs @@ -38,6 +38,15 @@ {{/each}} {{/if}} + {{#if config.trackStock}} + {{#ifCond result.productStock '==' 0}} +
+

+ Out of stock +

+
+ {{/ifCond}} + {{/if}}

Quantity

diff --git a/views/themes/Material/product.hbs b/views/themes/Material/product.hbs index 9341091..ef9005a 100644 --- a/views/themes/Material/product.hbs +++ b/views/themes/Material/product.hbs @@ -38,6 +38,15 @@ {{/each}}
{{/if}} + {{#if config.trackStock}} + {{#ifCond result.productStock '==' 0}} +
+

+ Out of stock +

+
+ {{/ifCond}} + {{/if}}

Quantity

diff --git a/views/themes/Mono/product.hbs b/views/themes/Mono/product.hbs index a231e88..746e4bc 100644 --- a/views/themes/Mono/product.hbs +++ b/views/themes/Mono/product.hbs @@ -38,6 +38,15 @@ {{/each}}
{{/if}} + {{#if config.trackStock}} + {{#ifCond result.productStock '==' 0}} +
+

+ Out of stock +

+
+ {{/ifCond}} + {{/if}}

Quantity