A cart link should not remain valid indefinitely. Choose its expiry period based on the decision-making process, the sensitivity of the selection and how quickly the range, prices or stock change. A few days may be appropriate for a consumer selection; a business project selection sometimes needs several weeks.
The expiry period is not an administrative detail. Too short a period frustrates recipients who need internal approval. Too long a period retains data unnecessarily and suggests that an old selection is still available to order. The best solution combines a clear end date with a fresh check when the cart is opened.
Distinguish three types of validity
A shared cart has at least three separate time limits. Access determines how long the link can be opened. Commercial validity concerns prices, discounts and terms. Operational validity concerns stock, product status and delivery time. The three rarely align.
For example, a link may remain accessible for fourteen days while prices are retrieved afresh on every visit. A product may sell out during that period. Do not label the link “price valid until” unless you are actually recording a price agreement. Prefer wording such as: “You can open this selection until 30 September; prices and availability will be checked again when you order.”
Use a simple decision matrix
| Situation | Suitable approach | Why |
|---|---|---|
| Quick consumer decision | Short period | Product ranges and promotional prices change quickly |
| Business approval | Medium period | Several people need to check the selection |
| Project selection with custom items | A time limit plus a warning | Technical choices need reconfirmation |
| Formal price agreement | Not a standard cart link | Use a quote with its own terms |
Next, decide what happens after expiry. A friendly expiry page explains that the selection is no longer available and offers a route back to search or contact. Do not silently reactivate an old link: the original creator may now have different expectations.
Also distinguish between extending a link and sharing again. Extending keeps the same link and gives everyone who has it renewed access. Sharing again can create a new code with its own end date, while the old link expires permanently. The second approach is wiser if the recipient group has changed or an earlier email went to the wrong person. Do not hide the choice in technical settings: tell the creator in plain language who already has the link and what extending it means.
If you want to add a formal quote or project workflow, first investigate whether an existing solution is sufficient. The comparison in custom software or standard software helps distinguish configuration from custom development.
Fictional example: a school order
Education supplier Prisma sells teaching materials to schools. A teacher creates a list, but the administration team only orders after the head of department has checked it. Historically, this takes between three and ten working days. Prisma therefore chooses a link that remains accessible for 21 days. The sharing page displays the exact end date, but does not promise fixed promotional prices or stock availability.
The administration team opens the link after twelve days. Two workbooks have a new edition. The online store marks the old line as unavailable and lets the recipient choose the new edition as a deliberate replacement . The recipient sees what will change before copying the selection. This keeps the decision with the buyer and avoids a risky automatic substitution.
At checkout, Prisma only passes the final order to the underlying administration system. Old sharing records are periodically deleted after their expiry date. Where data does need to move between the online store and business software, a controlled integration layer such as Yindle Connect can support the transfer and error handling.
Retention and privacy checklist
- Measure how long your customers typically take to obtain approval.
- Record which cart data is genuinely needed to restore a selection.
- Use an unpredictable link code and keep personal data out of the URL.
- Show the expiry date before someone shares the link.
- Check prices, tax, stock and product status every time a selection is copied.
- Delete expired records automatically and test the cleanup task.
- Include deletion in requests concerning customer data.
- After expiry, offer an understandable next step, not a technical error page.
Finally, document who may change the default period. Marketing may want links to remain shareable for longer, while privacy and operations teams may prefer a shorter period. A change therefore needs an owner, a reason and a brief check for side effects.
Include expired links in support scenarios too. An employee should be able to see that a link has expired without being able to retrieve its full cart contents indefinitely. Provide a safe process for the original sender to create a new selection, but do not turn support into a back door that reopens any old cart.
Ask Yindle to help you choose a suitable lifecycle for shared carts.
To apply these principles in WooCommerce, read more about Yindle Share Cart; the plugin uses a finite link lifetime and reviews the current cart when it opens.