I want to use AJAX for product listing (with "show more" functionality), AJAX based search etc. on the front-end of a Wordpress/Woocommerce website. It seems like a simplest approach here would be to use Woocommerce REST API.
- What is the recommended approach here, when i only need to use the /products endpoint? Is it possible to disable for instance the /orders endpoint?
- Since I have to use Consumer Key and Consumer Secret keys, what is the recommended way to use them within the Javascript functions, when I use Wordpress on the backend?
I would be glad, if someone can point me to the right direction, maybe the REST API is a wrong approach here altogether?
Thanks!
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742282397a4414727.html
评论列表(0条)