How to set default quantity to 2 for BOGO offers?

Topic summary

A user seeks to automatically set the product quantity selector to 2 to support a buy-one-get-one (BOGO) promotion.

Initial Response:

  • A support representative recommends using Shopify’s built-in “buy x get y discount” feature instead of modifying the quantity selector, noting that changing the default quantity would affect all products and may not provide the best customer experience.

Solution Provided:

  • The original poster confirms they’ve already applied the discount and shares their workaround: editing product-info.js at line 42, replacing the min: value with min: 2, to set the default quantity to 2.

Follow-up Questions:

  • Another user asks if this modification can be applied to specific collections or product groups rather than site-wide.
  • A third user notes that their theme (Sense theme 4.2) has different code at line 42, suggesting theme-specific variations may require adjustments.

The discussion remains open with unanswered questions about selective application and theme compatibility.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

Hi, @axeltta .

Thank you for posting this question!

If you’re looking to offer a buy one get one promotion on your website, then we’d recommend using the the buy x get y discount feature instead as changing the default quantity selector to 2 units may not be the best solution. For example, changing the quantity selector will make it apply to all of your products, which may or may not be the desired outcome, and this may not provide the best customer experience.

Are you looking to offer buy one get one for all of your products? If so, then did you get a chance to check out our buy x get y discount feature already?