How do I add in a oz/each/ pair/ doz. selector after the price. (e.g. 12.99/oz or 12.99/pair, etc...)?

Posted almost 6 years ago by Tony
Posted almost 6 years ago by Alex Yang

Tony, you'll be able to do this by including this selector as a separate input element. It's basically going to be an extra column in your database (of type String). Check out the collection_select form helper to create the dropdown menu in your form.