Following tutorial of metadata for minimum order quantity and step quantity. Theme Dawn

Topic summary

Issue: Implementing minimum order quantity and step quantity in Shopify’s Dawn theme using metafields per a YouTube tutorial. Multiplied/step addition works, but enforcing a minimum order quantity does not.

Details: A Liquid snippet is provided, assigning box_quantity from product.metafields.wholesale.min_quantity and attempting to default min_quantity to 1 when blank. The snippet is central to the problem context.

Request: Alternatives or fixes to make the minimum order quantity work.

Latest update: A participant recommends contacting the tutorial’s author, suggesting possible platform/theme changes may have broken the original steps.

Status: No solution yet; discussion remains open. Key question unresolved: how to reliably enforce a minimum order quantity via metafields in Dawn given potential changes.

Summarized with AI on January 7. AI used: gpt-5.

Hi,

i’m following tutorial, and yet, only half of the code works, it can do multiplied addition but the minimum order is not working. Is there any alternatives for this?

{% assign box_quantity = product.metafields.wholesale.min_quantity %}

{% if min_quantity == blank %}

{% assign min_quantity = 1 %}

{% endif %}

Hi Admsolindo,

Have you reached out to the author of the tutorial? They might be able to update the steps in case there was a platform change that affected how this would work.