A number input can hold the rule: min sets the floor, step the increments, value where the field opens. Read the numbers from a per product, so ops tunes them in admin.
<input
type="number"
min="{{ product.metafields.shipping.pallet_min }}"
step="{{ product.metafields.shipping.pack_size }}"
>
As in lesson 3, gate the whole block on the metafield's presence. Retail products without wholesale terms show nothing.
This is guidance, not enforcement. A cart API call with quantity 2 skips these attributes. Enforcement happens at checkout, in a Cart and Checkout Validation Function. AI calls the attribute version 'enforced'.