Answers.Body: <p>You may need to run below query to disable the field so that they don't appear on screen. Deleting the field is little risky as you may end up creating screwing financial data.</p>
  <pre><code>UPDATE civicrm_price_field cpf 
  INNER JOIN civicrm_price_set_entity cpse
    ON cpse.entity_table = 'civicrm_contribution_page'
      AND cpse.price_set_id = cpf.price_set_id
      AND cpf.html_type &lt;&gt; 'Radio'
      AND cpse.entity_id = 4
  SET cpf.is_active = 0;
  </code></pre>
  <p>Note: Replace 4 with contribution/membership page id.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-22T18:49:44.523Z
Answers.Text: Thank you, that fixed it.
Answers.UserDisplayName: Christopher
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-22T05:27:25.947Z
Answers.LastActivityDate: 2021-07-22T05:27:25.947Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>3 Additional LineItems have just been spotted in one of our membership sign up forms (for organisations) - though they have never been set up (I don't know how such things would be set up), and don't appear on any settings page.  The amounts section is no enabled for the contribution page (because it is being used for memberships).</p>
  <p>Does anyone have any ideas how this is happening, and how we might remove them?</p>
  <p>Frontend<a href="https://i.sstatic.net/JII6B.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/JII6B.png" alt="enter image description here" /></a></p>
  <p>Backend<a href="https://i.sstatic.net/7ZH1P.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7ZH1P.png" alt="enter image description here" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-07-21T07:30:01.320Z
Comments.Text: Do you have access to access to database?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-07-21T07:32:45.267Z
Comments.Text: Do you have Lineitem editor extension installed?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-07-21T12:36:41.063Z
Comments.Text: Yes, both access to database and Lineitem editor is installed
Comments.UserDisplayName: Christopher
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-07-21T12:49:27.353Z
Comments.Text: Disabling Lineitem editor (and clearing caches etc) doesn't appear to remove the problem.  However with further testing it appears to be only showing to 'Admin' level users and not Anonymous or our Member level user.
Comments.UserDisplayName: Christopher
Tags: <civicontribute><civimember><line-items>
Title: Random Additional LineItem appearing in a membership sign up form
ThreadText: # Random Additional LineItem appearing in a membership sign up form
  
  (Asked by: username_0 on 2021-07-21)
  
  3 Additional LineItems have just been spotted in one of our membership sign up forms (for organisations) - though they have never been set up (I don't know how such things would be set up), and don't appear on any settings page. The amounts section is no enabled for the contribution page (because it is being used for memberships).
  
  Does anyone have any ideas how this is happening, and how we might remove them?
  
  Frontend[![enter image description here](https://i.sstatic.net/JII6B.png)](https://i.sstatic.net/JII6B.png)
  
  Backend[![enter image description here](https://i.sstatic.net/7ZH1P.png)](https://i.sstatic.net/7ZH1P.png)
  
  **Tags:** civicontribute, civimember, line-items
  
  > **Comments:**
  > **username_1**: Do you have access to access to database?  
  > **username_1**: Do you have Lineitem editor extension installed?  
  > **username_0**: Yes, both access to database and Lineitem editor is installed  
  > **username_0**: Disabling Lineitem editor (and clearing caches etc) doesn't appear to remove the problem.  However with further testing it appears to be only showing to 'Admin' level users and not Anonymous or our Member level user.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-07-22. Score: 0 | Accepted answer
  
  You may need to run below query to disable the field so that they don't appear on screen. Deleting the field is little risky as you may end up creating screwing financial data.
  
  ```
  UPDATE civicrm_price_field cpf 
  INNER JOIN civicrm_price_set_entity cpse
    ON cpse.entity_table = 'civicrm_contribution_page'
      AND cpse.price_set_id = cpf.price_set_id
      AND cpf.html_type <> 'Radio'
      AND cpse.entity_id = 4
  SET cpf.is_active = 0;
  
  ```
  
  Note: Replace 4 with contribution/membership page id.
  
  > **Comments:**
  > **username_0**: Thank you, that fixed it.  
  
  ---
  
  