Call adding product to wishlist manually from AJAX request

Ticket for: Wishlist
0
Call adding product to wishlist manually from AJAX request 1
Margarita
Oct 12, 2023 06:49 AM 0 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

Hi,

I'm looking for a wishlist plugin that will allow me to add a product outside of WordPress.

I have a js application which is not integrated in WordPress environment. Through it, I want to send an AJAX request to your plugin to add a product to your wishlist.
Can I call from my js file your plugin's action manually (in particular, adding a product to the wishlist) with the specified product id using an ajax request to functions.php?
If yes, what action should I call in functions.php?

Looking to your answer,

Thanks, Margarita

0 Subscribers
Submit Answer
Please login to submit answer.
0 Answers
Sort By: