I am displaying the submitted form data on the front-end and when the product selection value is displayed from either a checkbox or dropdown value it also appends the price after the value. In other words if the value is "yes" instead of showing just that it shows "yes|price" (where price was the price associated). I would rather just have it output the value. How can this be accomplished without doing a js removal of the "|price" on every entry? Thanks.
Example output: "yes|10" or "no| " where 10 is the $ value of the product.