Skip to content
Permalink
Browse files

Fix typo in Twig variable name and recompile

  • Loading branch information...
bocharsky-bw committed Dec 11, 2017
1 parent d7a98d5 commit 789891868102a37ee795787efc252e6822331963
Showing with 3 additions and 3 deletions.
  1. +1 −1 _tuts/steps.json
  2. +2 −2 _tuts/tests-if-complex-test-and-not-solution.diff
@@ -206,5 +206,5 @@
"description": null
}
],
"sha": "1c1a6cb49a5acd37ab36bdfe06f78aa347332497"
"sha": "d7a98d5bf8c665ab7494f20885a4c2500dffe637"
}
@@ -1,13 +1,13 @@
diff --git a/_featuredProduct.twig b/_featuredProduct.twig
index 5b5f23d..13ae408 100644
index 5b5f23d..853dbc4 100644
--- a/_featuredProduct.twig
+++ b/_featuredProduct.twig
@@ -3,7 +3,9 @@
with cane, monocle and an elegant pocket watch!

<div class="featured-quantity">
- {{ quantityRemaining }}
+ {% if quantityRemaining is defined and quantityRemaning is not odd %}
+ {% if quantityRemaining is defined and quantityRemaining is not odd %}
+ {{ quantityRemaining }}
+ {% endif %}
</div>

0 comments on commit 7898918

Please sign in to comment.
You can’t perform that action at this time.