---
title: "Verify saving an item for later removes it from the payable cart"
description: "Move one product into a saved list and back, checking cart totals, saved quantity rules, duplicate handling, and persistence across reload."
canonical_url: "https://vostride.com/agent-library/shopping-cart/save-for-later-round-trip.md"
md_url: "https://vostride.com/agent-library/shopping-cart/save-for-later-round-trip.md"
content_kind: "recipe"
topic: "shopping-cart"
---

# Verify saving an item for later removes it from the payable cart

Move one product into a saved list and back, checking cart totals, saved quantity rules, duplicate handling, and persistence across reload.

## Risk

Saved-for-later features maintain two related collections. Moving an item should change what is payable now without losing its intended variant, and restoring it should follow a documented quantity policy rather than create duplicate active lines.

## Fixtures

- A signed-in test account with two cart products and an empty saved-for-later list.
- A chosen product variant at quantity two and a documented quantity preservation policy.
- Hooks reading active cart lines and saved-item records by stable variant identifier.

## Steps

1. Open the cart and verify both products and the chosen variant quantity before moving anything.
2. Save the chosen item for later and verify it appears in the saved list while the active cart total excludes it.
3. Reload and inspect both collections; verify the item remains saved and is absent from payable cart lines.
4. Move it back to the cart and verify the variant and restored quantity follow the documented policy.
5. Inspect stored cart and saved state to confirm one active line for that variant, no duplicate saved entry unless policy allows it, and the correct recalculated total.

## Expected results

- Saved items are excluded from the payable cart total.
- Moving between collections preserves the intended product variant.
- Restoring an item creates the documented single active cart line and quantity.

## False-pass traps

- A visually collapsed cart row may still be included in the payment total.
- Assuming every saved list preserves quantity two would create a false requirement for products that intentionally restore one unit.

## Cleanup

- Clear both the fixture cart and its run-owned saved-for-later entries.

## Use with agent-qa

Adapt this test design to your application's acceptance criteria and configured target using the [recipe execution guide](/agent-library/software-factory/turn-a-recipe-into-an-agent-qa-test.md). External fixture setup and non-UI checks require your own supported hooks or test tooling. Validate the authored test, execute it, and inspect the completed evidence; this recipe is not a recorded test result.

## References

- [agent-qa test](/docs/agent-qa/configuration/test.md)
- [agent-qa hooks](/docs/agent-qa/guides/hooks.md)
- [agent-qa auth state](/docs/agent-qa/guides/auth-state.md)

- [Shopping cart QA recipes](/agent-library/shopping-cart.md)
- [Software factory QA library](/agent-library.md)
