Answers.Body: <p>This is the sort of Price Field i thought could be a solution for the front end for you. Not sure if my Comments above were making it clear</p>
  <p><a href="https://i.sstatic.net/Q9Vv9.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Q9Vv9.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-14T13:53:45.507Z
Answers.Text: This works fine in the front end, but when creating a membership in the civicrm backoffice, it's not working as how it should.
Answers.UserDisplayName: MS S
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-03T19:35:14.617Z
Answers.LastActivityDate: 2023-02-03T19:35:14.617Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>Steps to Reproduce:</p>
  <ol>
  <li>From the user's membership page, Click on the Submit Credit Card Membership.</li>
  <li>Choose the membership and choose the relative price set(having number of terms greater than 1) for the membership and make the payment.</li>
  <li>For example if a price set option having number of terms as 2 is chosen, the user is only updated to the default Membership Type Duration Unit.</li>
  </ol>
  <p>The expected output should be the membership term for (number of terms chosen x Membership Type Duration Unit).</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-01-18T01:48:07.917Z
Comments.Text: it could be really helpful to know you can replicate this on eg dmaster.demo.civicrm.org or one of the other master demo sites
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-01-25T10:35:35.713Z
Comments.Text: I've tried creating a sandbox account in dmaster.demo.civicrm.org few days back but still my account is pending approval by the site administrator.
Comments.UserDisplayName: MS S
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-01-26T18:57:48.143Z
Comments.Text: you don't need one. the instructions say user = demo and pw = demo
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-01-30T07:03:44.217Z
Comments.Text: https://dmaster.demo.civicrm.org/civicrm/contact/view?reset=1&cid=205&selectedChild=summary
  
  Replicated the issue by creating a user with 2 year membership but the result that was added is 1 year.
Comments.UserDisplayName: MS S
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-01-30T19:20:49.420Z
Comments.Text: https://civicrm.org/bug-reporting
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-01-30T19:27:04.240Z
Comments.Text: I added a Price Set on dmaster. options were for 1, 2 or 3 'terms'. i added a back end membership to the admin user for 2 terms, and they got a membership for 2 years. when i went to renew i was not offered the Price Set.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-01-31T06:10:38.510Z
Comments.Text: The terms just multiply the base amount, which makes the other terms prices to be a multiple of the term 1 price. Where in scenarios the term prices are not a multiple of term 1 price, for a two year membership, the amount deducted will be wrong. Could you please provide more insight on this, Thanks.
Comments.UserDisplayName: MS S
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-02-03T19:32:32.750Z
Comments.Text: i can't paste a screenshot in a comment so will do as an answer (though it won't really help i think)
Comments.UserDisplayName: petednz - fuzion
Tags: <civimember>
Title: Membership price set not updating the right membership years to that of the price chosen when creating membership in civicrm backoffice
ThreadText: # Membership price set not updating the right membership years to that of the price chosen when creating membership in civicrm backoffice
  
  (Asked by: username_0 on 2023-01-13)
  
  Steps to Reproduce:
  
  1. From the user's membership page, Click on the Submit Credit Card Membership.
  2. Choose the membership and choose the relative price set(having number of terms greater than 1) for the membership and make the payment.
  3. For example if a price set option having number of terms as 2 is chosen, the user is only updated to the default Membership Type Duration Unit.
  
  The expected output should be the membership term for (number of terms chosen x Membership Type Duration Unit).
  
  **Tags:** civimember
  
  > **Comments:**
  > **username_1**: it could be really helpful to know you can replicate this on eg dmaster.demo.civicrm.org or one of the other master demo sites  
  > **username_0**: I've tried creating a sandbox account in dmaster.demo.civicrm.org few days back but still my account is pending approval by the site administrator.  
  > **username_1**: you don't need one. the instructions say user = demo and pw = demo  
  > **username_0**: https://dmaster.demo.civicrm.org/civicrm/contact/view?reset=1&cid=205&selectedChild=summary  Replicated the issue by creating a user with 2 year membership but the result that was added is 1 year.  
  > **username_1**: https://civicrm.org/bug-reporting  
  > **username_1**: I added a Price Set on dmaster. options were for 1, 2 or 3 'terms'. i added a back end membership to the admin user for 2 terms, and they got a membership for 2 years. when i went to renew i was not offered the Price Set.  
  > **username_0**: The terms just multiply the base amount, which makes the other terms prices to be a multiple of the term 1 price. Where in scenarios the term prices are not a multiple of term 1 price, for a two year membership, the amount deducted will be wrong. Could you please provide more insight on this, Thanks.  
  > **username_1**: i can't paste a screenshot in a comment so will do as an answer (though it won't really help i think)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-02-03. Score: 0
  
  This is the sort of Price Field i thought could be a solution for the front end for you. Not sure if my Comments above were making it clear
  
  [![enter image description here](https://i.sstatic.net/Q9Vv9.png)](https://i.sstatic.net/Q9Vv9.png)
  
  > **Comments:**
  > **username_0**: This works fine in the front end, but when creating a membership in the civicrm backoffice, it's not working as how it should.  
  
  ---
  
  