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

Public wishlists #1249

Closed
qgroulard opened this issue Mar 3, 2022 · 4 comments
Closed

Public wishlists #1249

qgroulard opened this issue Mar 3, 2022 · 4 comments
Labels

Comments

@qgroulard
Copy link
Contributor

Many eshops feature a share wishlist mechanism.
Allowing other people to visualize your wishlist via an url.

I am trying to achieve that with shopinvader, but I cannot access wishlist without passing the header PARTNER-EMAIL.
Is there a way to publicly get wishlists ?

@simahawk
Copy link
Contributor

simahawk commented Mar 9, 2022

ATM to get a wishlist you need a backend and a customer.
In fact the partner_id on product.set is not required and you could play with this domain https://github.com/shopinvader/odoo-shopinvader/blob/14.0/shopinvader_wishlist/services/wishlist.py#L282.
We could have flag on the backend to allow public wishlists.
Then you have to change this https://github.com/shopinvader/odoo-shopinvader/blob/14.0/shopinvader_wishlist/services/wishlist.py#L51.
You'll need also a cron to cleanup abandoned wishlists.

@qgroulard
Copy link
Contributor Author

Hi @simahawk
Thanks for the answer.
Actually I still want the wishlists to belong to a customer.
One possible use case would be:

I like reading books.
I create a wishlist on a famous eshop with books that I'd like to read.
This wishlist belongs to me and I can access it on my profile.
I get a link to share with my family and friends so that they can get access to my wishlist.
My wife clicks on this link and can easily add items from my wishlist to her own cart.
She makes me a nice gift 🎁

Problem is currently my wife can't access to a wishlist that does not belong to her.
I'd like to make this possible.

@simahawk
Copy link
Contributor

simahawk commented Mar 9, 2022

Hmm I see. Then you should use some sort of token to allow sharing / viewing it as the portal does.

Copy link

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants