Answers.Body: <p>For the particular client that reported this, it turns out that the issue was caused by a change made to a membership type after the price set was already associated with the contribution page, but the error was only presented if one clicked on the Save button of Memberships tab of the contribution page configuration. </p>
  
  <p>To confirm whether this is the case to you - navigate to the Memberships tab of your contribution page and click the Save button to see if you are presented with the following error message:</p>
  
  <blockquote>
    <p>The membership price set associated with this online contribution allows a user to select BOTH an auto-renew AND a non-auto-renew membership. This requires submitting multiple processor transactions, and is not supported for one or more of the payment processors enabled under the Amounts tab.</p>
  </blockquote>
  
  <p>Meaning - when using a price set, you can either offer auto-renew for all memberships on a given page, or none of them, but you can't offer a mix. On the other-hand, if you use the built-in membership fees section, you can select which membership types you wish to have the option (or be required) to auto-renew (so long as your <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Payment+Processors%20" rel="nofollow noreferrer"><strong>payment processor</strong></a> supports auto-renewal).</p>
  
  <p>If you don't have a payment processor that is configured to allow for auto-renewal:</p>
  
  <ol>
  <li>Navigate to Administer > CiviMember > Membership Types</li>
  <li>Ensure that the Auto-renew Option for all membership types is to to "No auto-renew option"</li>
  <li>Navigate back to the Memberships tab of the contribution page and click the Save button - the message should no longer appear</li>
  <li>Click on the Contribution Links button at the top and select Test or Live - the discount box should now appear (assuming that the discount code is configured accordingly).</li>
  </ol>
  
  <p>Hope this helps!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-17T18:31:41.723Z
Answers.Text: Thank you, Tamar!  This didn't exactly fix my problem, but I did notice something strange. When I select the Test button, the discount box appears on the form. When I access the page normally, the discount box does not appear. Any idea as to what would cause this?
Answers.UserDisplayName: kzburn
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-17T18:39:00.823Z
Answers.Text: Hi KZ, There still might be an issue with the price set configuration that is preventing the discount box from appearing on the live page - the same type of verification may not be in place on the test page. Do you get any kind of error message when you click on the Save button in the Memberships tab? And can you confirm whether all of your membership types either offer or do not offer auto-renewal and whether your payment processor supports auto-renewal?
Answers.UserDisplayName: Tamar Meir - Cividesk
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-17T18:50:09.390Z
Answers.Text: I do not get an error when clicking on the save button. I turned off auto-renew for all membership types. How do I know if my payment processor supports auto-renew?
Answers.UserDisplayName: kzburn
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-17T19:04:03.037Z
Answers.Text: If you turned off auto-renew for all memebership types, then that would not be the issue, but you can check whether your payment processor supports auto-renew at this link: https://wiki.civicrm.org/confluence/display/CRMDOC/Payment+Processors%20 >>> that said, contribution pages can be a bit funny with updating - try editing the contribution page, then click the Save and Done button without making any further changes, then access the live contribution page (perhaps in an incognito window), to make sure that what you are seeing is the current version and not the cached version.
Answers.UserDisplayName: Tamar Meir - Cividesk
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-17T19:26:34.580Z
Answers.Text: I made a change, and I am seeing the current version. Still no discount box.  Also, on the test page I have the option to use PayPal, but on the live page, I only have the option to use a credit card.  Everything else on the page is the same.
Answers.UserDisplayName: kzburn
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-16T17:53:32.050Z
Answers.LastActivityDate: 2018-10-16T18:46:11.047Z
Answers.LastEditDate: 2018-10-16T18:46:11.047Z
Answers.UserDisplayName: Tamar Meir - Cividesk
Body: <p>A discount entry field is not displayed on my membership signup form. I have created membership types and created a discount for one of the membership types. The discount is active.  The top of my signup form looks like this:
  <a href="https://i.sstatic.net/6ZBXC.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/6ZBXC.jpg" alt="Signup form"></a></p>
  
  <p>My discount looks like this:</p>
  
  <p><a href="https://i.sstatic.net/ppOrt.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ppOrt.jpg" alt="Membership discount code"></a></p>
  
  <p>I added the price field options in hopes that would make it work, but it didn't. Any ideas? </p>
  
  <p>I have other discounts for events and they work fine. I am using civi 5.4.1.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-16T15:46:54.803Z
Comments.Text: Hi KZ,
  
  One of our clients just reported the same issue - I'll get back to you once I've figured it out.
Comments.UserDisplayName: Tamar Meir - Cividesk
Tags: <civimember><cividiscount>
Title: Discount entry field not displaying on membership signup
ThreadText: # Discount entry field not displaying on membership signup
  
  (Asked by: username_0 on 2018-10-12)
  
  A discount entry field is not displayed on my membership signup form. I have created membership types and created a discount for one of the membership types. The discount is active. The top of my signup form looks like this:
  [![Signup form](https://i.sstatic.net/6ZBXC.jpg)](https://i.sstatic.net/6ZBXC.jpg)
  
  My discount looks like this:
  
  [![Membership discount code](https://i.sstatic.net/ppOrt.jpg)](https://i.sstatic.net/ppOrt.jpg)
  
  I added the price field options in hopes that would make it work, but it didn't. Any ideas?
  
  I have other discounts for events and they work fine. I am using civi 5.4.1.
  
  **Tags:** civimember, cividiscount
  
  > **Comments:**
  > **username_1**: Hi KZ,  One of our clients just reported the same issue - I'll get back to you once I've figured it out.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-10-16. Score: 0
  
  For the particular client that reported this, it turns out that the issue was caused by a change made to a membership type after the price set was already associated with the contribution page, but the error was only presented if one clicked on the Save button of Memberships tab of the contribution page configuration.
  
  To confirm whether this is the case to you - navigate to the Memberships tab of your contribution page and click the Save button to see if you are presented with the following error message:
  
  > The membership price set associated with this online contribution allows a user to select BOTH an auto-renew AND a non-auto-renew membership. This requires submitting multiple processor transactions, and is not supported for one or more of the payment processors enabled under the Amounts tab.
  
  Meaning - when using a price set, you can either offer auto-renew for all memberships on a given page, or none of them, but you can't offer a mix. On the other-hand, if you use the built-in membership fees section, you can select which membership types you wish to have the option (or be required) to auto-renew (so long as your [**payment processor**](https://wiki.civicrm.org/confluence/display/CRMDOC/Payment+Processors%20) supports auto-renewal).
  
  If you don't have a payment processor that is configured to allow for auto-renewal:
  
  1. Navigate to Administer > CiviMember > Membership Types
  2. Ensure that the Auto-renew Option for all membership types is to to "No auto-renew option"
  3. Navigate back to the Memberships tab of the contribution page and click the Save button - the message should no longer appear
  4. Click on the Contribution Links button at the top and select Test or Live - the discount box should now appear (assuming that the discount code is configured accordingly).
  
  Hope this helps!
  
  > **Comments:**
  > **username_0**: Thank you, username_1!  This didn't exactly fix my problem, but I did notice something strange. When I select the Test button, the discount box appears on the form. When I access the page normally, the discount box does not appear. Any idea as to what would cause this?  
  > **username_1**: Hi KZ, There still might be an issue with the price set configuration that is preventing the discount box from appearing on the live page - the same type of verification may not be in place on the test page. Do you get any kind of error message when you click on the Save button in the Memberships tab? And can you confirm whether all of your membership types either offer or do not offer auto-renewal and whether your payment processor supports auto-renewal?  
  > **username_0**: I do not get an error when clicking on the save button. I turned off auto-renew for all membership types. How do I know if my payment processor supports auto-renew?  
  > **username_1**: If you turned off auto-renew for all memebership types, then that would not be the issue, but you can check whether your payment processor supports auto-renew at this link: https://wiki.civicrm.org/confluence/display/CRMDOC/Payment+Processors%20 >>> that said, contribution pages can be a bit funny with updating - try editing the contribution page, then click the Save and Done button without making any further changes, then access the live contribution page (perhaps in an incognito window), to make sure that what you are seeing is the current version and not the cached version.  
  > **username_0**: I made a change, and I am seeing the current version. Still no discount box.  Also, on the test page I have the option to use PayPal, but on the live page, I only have the option to use a credit card.  Everything else on the page is the same.  
  
  ---
  
  