Skip to content

v0.3.0

Choose a tag to compare

@islandboymv islandboymv released this 18 Aug 09:46
· 3 commits to main since this release

Makes the per-order purchase limit visible in the storefront. Previously the limit was enforced server-side but the UI often failed silently: quantity steppers just stopped at the cap, and AJAX cart updates (theme auto-update, mini-cart drawer) swallowed the rejection notice.

  • A "Maximum N per order." note now appears under the Add to Cart button and under each affected cart line.
  • Typed-in quantities above the cap are clamped client-side before theme AJAX handlers see them, with the note flashing red (or a temporary inline warning where no note is present).
  • The note and warning only appear when the per-order limit — not stock — is the binding constraint.