• BLOCK SETUP GUIDES • SETUP GUIDE

How to test discounts, gifts, and validations after customers edit checkout items

What you will achieve in this guide

Follow the feature-specific setup and testing instructions below. Check the supported pages and plan requirements before activating the feature.

EXPECTED SETUP TIME Varies by feature
COMPATIBILITY See requirements in this guide
TECHNICAL DIFFICULTY Zero Code Required

Verify rules that depend on cart contents after customers change quantities or remove items during checkout.

When to use this guide

Use this when Edit line items operates alongside discounts, free gifts, bundles, or order validations.

Before you begin

Use Shopify Plus and the current Rivio feature entitlement. Save the active configuration and its matching supported checkout placement before testing.

Worked example

Use an editable $25 item, a gift eligible above $100, and a validation requiring a $30 minimum. Test each dependency separately before combining them.

Step-by-step instructions

  1. Record each rule’s exact amount or product basis and create a cart that qualifies.
  2. Enable and place Edit line items with the supported editing actions.
  3. Reduce quantity or remove a qualifying product, then wait for checkout totals to update.
  4. Inspect the applicable discount, gift eligibility, and any validation message after the change.
  5. Restore the item or quantity and repeat the check. For a bundle, inspect the resulting component quantities separately.
  6. Complete valid test orders and inspect charged prices, gift quantity, and final items. Retest each feature alone if the combined outcome is unclear.

Screenshot to add: Edit line items and the dependent rule settings.

Verify the result

Test Expected result or check
Qualifying product removed Dependent rules are checked against the resulting cart.
Cart below minimum The active minimum validation enforces at its selected run location.
Valid cart restored Confirm stale errors or benefits do not remain.

Screenshot to add: Checkout before and after an item change with totals and relevant messages.

Limitations

  • This changes a current cart, not a completed order.
  • Do not assume all rules share the same subtotal basis.

Troubleshooting

Problem What to check
The expected result does not appear Check the saved state, exact feature configuration, supported page, and matching test inputs.
The preview and actual page differ Use a real test checkout, completed order, or signed-in account; editor data is simulated.
A change has an unexpected effect Repeat the same test with one relevant setting changed. Review other active rules before adding another copy.

Need help?

Email support@rivioapps.com with your store domain, feature name, saved settings, target page, and the expected and actual results. Include the test cart, order, or customer context needed to reproduce the issue.