Skip to content

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