🛒 AutoCart Docs

Checkout Progressive Extension

Checkout UI extension that evaluates Tiered and Cyclic Progressive gift automations.

Overview

The autocart-checkout-progressive extension runs Progressive Tiered and Cyclic automations inside Shopify checkout. It is separate from autocart-checkout-gift, which handles standard checkout and global rules.

The checkout block evaluates cart changes and keeps Progressive rewards synchronized. Paid rewards display a confirmation modal before they are added.

Progressive functionality is available on the Advanced and Ultimate plans, including their annual variants. The extension checks the autocartProgressive.is_active app metafield before retrieving or executing rules.

Setup

  1. Open the checkout editor in Shopify admin.
  2. Add the AutoCart Checkout Progressive app block to checkout.
  3. Optionally enable Debug in the block settings.
  4. Save the checkout customization.

The block and the Progressive plan entitlement must both be active for checkout progression to run.

Evaluation Flow

  1. Read the Progressive entitlement from app metafields.
  2. Retrieve active Progressive automation metaobjects through Shopify's API.
  3. Build the current checkout input from cart lines, costs, cart attributes, localization, discounts, payment selection, delivery groups, and customer qualification results.
  4. Resolve product tag or collection membership when required by a rule.
  5. Exclude AutoCart gift lines from qualifier totals.
  6. Evaluate Tiered or Cyclic progression.
  7. Queue removals, quantity changes, and additions sequentially through applyCartLinesChange.

Sequential processing prevents overlapping checkout mutations from losing updates.

Strategies

Tiered

Every configured step is evaluated against the qualifying cart. Gifts are added when a threshold is met and removed when it is no longer met. A later step can remove gifts from previous steps when Override previous steps is enabled.

Cyclic

The extension calculates how many times the threshold is met, applies the optional cycle limit, and multiplies each configured gift quantity by the earned cycle count. Existing gift quantities and discount metadata are updated when the target changes.

Buyer Confirmation

Active 100% percentage rewards retain automatic addition. A fixed discount that covers the full verified reward charge also adds automatically. Other rewards require the buyer to accept a confirmation showing the product, quantity, and additional product cost. A fixed amount shared across a line is counted once: if it covers only the first cyclic unit, additional paid units still require acceptance. Prices and eligibility are checked again before accepting; unavailable pricing or failed consent persistence never falls back to automatic paid additions. An earned 100% percentage-free tier can proceed even when another paid tier's price lookup fails.

Closing the modal or choosing No thanks skips the displayed opportunity for the current cart. Tiered rules do not propose that tier again, even after the cart drops below the threshold and qualifies again. The next tier can still be offered. Cyclic rules skip every cycle included in a declined offer and offer only newly earned cycles afterward; skipped quantities do not accumulate into the next offer.

Decisions are stored in cart attributes so page reloads and storefront-to-checkout navigation preserve them. Rule identity follows the existing rule title and tier index; renaming a rule creates a new identity. Merchant edits to a reward do not reset a refusal. A new cart starts with no decisions. Eligible earlier tiers remain while a paid replacement awaits acceptance. Accepted rewards removed by the buyer are not silently added again.

Qualification Sources

Checkout supports the same qualifier selection as the Progressive theme embed:

  • All products
  • Specific products
  • Product tags
  • Collections

Product tags and collection memberships are queried for the products currently in checkout. Collection pagination is followed when a product belongs to more than 250 collections. If required qualification data is unavailable, the affected automation is left unchanged rather than evaluated with incomplete data.

Optional Rule Conditions and Customer Eligibility

The rule editor can enable an additional query-builder gate before Schedule, using the GLOBAL qualifiers supported in both theme and checkout. This is separate from product qualification for tier thresholds. Existing rules have this option disabled by default. A nonqualifying gate suppresses the widget/offer and prevents additions; unresolved required customer data is not treated as a match.

Customer-tag conditions follow the entered checkout email, including guests. The backend returns qualification booleans without exposing raw tags, marketing status, or customer records through the email lookup. Email ownership verification is not required by the current policy. Changing email invalidates stale results and causes reevaluation.

Outdated Gift Cleanup

When the active automations load, the extension scans lines carrying _autocart_prog. Gifts whose rule is now draft, deleted, or otherwise absent from the active configuration are queued for removal.

A temporary rule-loading failure preserves existing gifts and displays Retry. Cleanup for absent rules follows a successful, authoritative result, rather than interpreting a network failure as an empty rule list. Oversized or invalid saved records have separate limitations documented below.

Settings

SettingKeyTypeDefaultDescription
DebugdebugbooleanfalseLogs retrieved automations, evaluation input, strategy results, and queued operations to the checkout console.

Unlike the Progressive theme embed, the checkout extension does not reload the page, invoke a theme callback, or publish DOM events. Shopify Checkout UI Extensions use reactive checkout APIs and applyCartLinesChange instead.

Assumptions and Limits

Progressive gift migration can replace line attributes and discard unrelated custom metadata. Successful operation also depends on cart-update permission, compatible deployed clients/backend/Function, and the accepted size/capacity boundaries. See Assumptions and Accepted Limits for the complete record.

On this page