Add unit price for different variants of the same item as "per piece/item/unit"

I have an online shop where I sell products which can be soled in different quantities with different bulk pricing options for each quantity.
E.g.:
1 item for 9.90

10 items for 19.90

50 items for 34.90

I implemented this by setting up multiple variants of the same item called amount, each costing a different overall price. I can now set per-unit prices for each item. However, I can only do this by weight, volume, size, or area measures. However, I want to have it per piece/item/unit. How can I do this?

Thank you for your time, I hope for some help please, thanks!

Hi,

Create Variants for Each Quantity
Add a Custom Field for Unit Price

At product Template display, the unit price based on the quantity selected

Code example

{% if product.variants.size > 1 %}
    
        {% for variant in product.variants %}
            

                

{{ variant.title }}: ${{ variant.price | divided_by: variant.option1 | money }}

                

Unit Price: ${{ variant.metafields.custom.unit_price }}

            

        {% endfor %}
    

{% endif %}