releases.shpreview

Shop Minis May June 2026 update

New Features

Product variant intents

The React SDK added typed product variant intent hooks for selecting variants, adding variants to cart, and sending buyers to express checkout:

  • useSelectVariant wraps select:shopify/ProductVariant.
  • useAddToCart wraps add_to_cart:shopify/ProductVariant.
  • useBuyNow wraps buy_now:shopify/ProductVariant.

These hooks can open the native Shop variant selector sheet over the Mini WebView when a Mini has a product ID but needs the buyer to pick a variant or quantity. Results distinguish successful actions, user dismissal, host errors, navigation to PDP, and referral-product handoffs.

Usage:

const {addToCart} = useAddToCart()

const result = await addToCart({productId})

if (result.code === 'ok') {
  switch (result.data.outcome) {
    case 'added_to_cart':
      break
    case 'navigated_to_product':
      break
    case 'redirected_to_product':
      break
  }
}

Build verification during submit

The CLI now runs Minis build verification as part of submit. The verification system was also split into per-check orchestration with human-readable progress and JSON output support. Current checks cover dependency validation, ESLint disables, ESLint, TypeScript, build output, and manifest validation.

Scoped hook setup warnings

The CLI now warns when a Mini uses scoped SDK hooks before completing the required setup. This gives partners earlier feedback when code uses features that depend on declared scopes or account setup.

Fetched July 2, 2026