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

How can i show Wishlist item in popup instead of page #48

Open
motiuleasital opened this issue Sep 3, 2023 · 1 comment
Open

How can i show Wishlist item in popup instead of page #48

motiuleasital opened this issue Sep 3, 2023 · 1 comment

Comments

@motiuleasital
Copy link

motiuleasital commented Sep 3, 2023

I'm looking for a solution to display wishlist items in a popup when clicking the wishlist button in the header counter, rather than redirecting to the wishlist page. Can anyone assist in resolving this matter?

@motiuleasital motiuleasital changed the title Wishlist onclick not working when add filter in collection page How can i show Wishlist item in popup instead of page Sep 4, 2023
@dlerm
Copy link
Owner

dlerm commented Oct 28, 2023

@motiuleasital to make the wishlist items populate inside a pop, you could copy the HTML code from the wishlist-template section and paste it into your popup code.

Then whenever your popup opens, you need to call the initGrid() function from the Wishlist.js file which will load and fill the wishlist grid HTML with the actual products.

I haven't tested this, but it should work.

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

No branches or pull requests

2 participants