Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add symfony command to remove expired anonymous wishlists #256

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lusimeon
Copy link

@lusimeon lusimeon commented Jun 7, 2024

Hi,

A wishlist is created for each guest or shop user. In the case of a high-traffic site, the number of guest users will considerably increase the number of wishlists created.

In the same spirit as the "remove expired cart" command provided by Sylius, this PR introduces a command to delete guest user wishlists after a configurable period via the bitbag_sylius_wishlist_plugin.parameters.anonymous_wishlist_expiration_period parameter.

Idea emerging from #130 (comment).

To reduce database table size generated by guest customers
@lusimeon lusimeon force-pushed the clean-wishlist-console-command branch from 28e5a68 to 45946f1 Compare June 10, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant