Liquid code in Quantity Selector instead Of "1"

Hello,

We need to change the default quantity shown in selector, instead “1”, to a product.metafield (related to Master case units).

Any liquid variable we put in “quantity” doesn´t work. For example:

my_fields.master_case_pack is an Integer metafiled

Anyone knows how we could do it?

Thank you in advanced,

Here is the error
replace
value=“{{ ‘product.metafields.my_fields.master_case_pack’ }}”
with
value=“{{ product.metafields.my_fields.master_case_pack }}”

That is. Thank you very much for your help.

Now, we need to “recommend” when the quantity selected is menor than Quantity box. Which is the variable “quantity” to compare with product.metafields.my_fields.master_case_pack ? I can´t find it in the code.

Thank you again