check for order options with this.options in views/order.hbs

master
Martin Sloan 2018-06-07 07:13:06 -04:00 committed by Mark Moffat
parent 77d7262124
commit ad6ca4ba60
1 changed files with 2 additions and 2 deletions

View File

@ -44,11 +44,11 @@
{{#each result.orderProducts}} {{#each result.orderProducts}}
<li class="list-group-item"> <li class="list-group-item">
{{this.quantity}} x {{this.title}} {{this.quantity}} x {{this.title}}
{{#if productOptions}} {{#if this.options}}
&nbsp; > &nbsp; &nbsp; > &nbsp;
<span class="text-warning"> Options: </span> <span class="text-warning"> Options: </span>
( (
{{#each productOptions}} {{#each this.options}}
{{#if @last}} {{#if @last}}
{{this}} {{this}}
{{else}} {{else}}