Answers.Body: <p>In Craft Commerce?</p>
  
  <blockquote>
    <p><strong>promotable</strong> (<em>true</em> or <em>false</em>)<br>
    Is this product and its variants able to be on sale or at a discount.</p>
  </blockquote>
  
  <p><a href="https://craftcommerce.com/docs/product-model#promotable" rel="nofollow noreferrer">https://craftcommerce.com/docs/product-model#promotable</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-01T21:00:48.477Z
Answers.Text: This shows that it's a true or false, but I'm looking on how to actually use this Boolean. Do you have a link or example for using it?
Answers.UserDisplayName: Darryl Hardin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-01T22:26:58.210Z
Answers.Text: `{% if product.promotable %} yes {% else %} no {% endif %}`?
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-28T07:25:52.587Z
Answers.LastActivityDate: 2017-09-28T07:25:52.587Z
Answers.UserDisplayName: Digital Squid
Body: <p>I'm sure this is somewhere in Craft documentation but I cannot find anything on it. There is that checkbox in the product area that says "Promotable". I'm assuming this is so I can reference it later in the code (which is why I'm interested in this box), but I've browsed through the documentation and found nothing about it. The lack of questions about it on here makes me assume I just missed it. Could I get an explanation or a link? Thanks!</p>
  
Tags: <plugin-craftcommerce><products>
Title: How to use promotable Boolean in Craft Commerce?
ThreadText: # How to use promotable Boolean in Craft Commerce?
  
  (Asked by: username_0 on 2017-09-28)
  
  I'm sure this is somewhere in Craft documentation but I cannot find anything on it. There is that checkbox in the product area that says "Promotable". I'm assuming this is so I can reference it later in the code (which is why I'm interested in this box), but I've browsed through the documentation and found nothing about it. The lack of questions about it on here makes me assume I just missed it. Could I get an explanation or a link? Thanks!
  
  **Tags:** plugin-craftcommerce, products
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-09-28. Score: 2 | Accepted answer
  
  In Craft Commerce?
  
  > **promotable** (*true* or *false*)  
  > Is this product and its variants able to be on sale or at a discount.
  
  <https://craftcommerce.com/docs/product-model#promotable>
  
  > **Comments:**
  > **username_0**: This shows that it's a true or false, but I'm looking on how to actually use this Boolean. Do you have a link or example for using it?  
  > **username_2**: `{% if product.promotable %} yes {% else %} no {% endif %}`?  
  
  ---
  
  