How to Add Custom Dropdown Menu on Cart/Checkout Page

Hello, we are trying to implement a drop down menu in the cart/checkout page wherein customers are required to choose which sales rep handled the transaction: Rep 1, Rep 2, and None. Help is greatly appreciated. Thank you!

Thank you! I’m trying to use the cart attributes method but there is not card.liquid in my theme. Currently using Horizon for the theme. Any help is appreciated!

You can add a required dropdown on the cart page using line item properties, for example:
<select name="properties[Sales Rep]" required><option value="">Select</option><option>Rep 1</option><option>Rep 2</option><option>None</option></select> — This will carry the selection through to checkout and orders.

Alternatively, use Iconic Sections for a ready-made solution—no coding required. These sections are easy to customize and offer extensive settings to match your needs: https://apps.shopify.com/iconic-sections

Under which section do I put the code?

I believe it should be called main-cart-items.liquid. This file is responsible for displaying all items added to cart.

Alternatively you can go to the cart page template from the customizer and add a custom liquid block and add code there.

Best