ajax - woocommerce REST api on the website's front-end

I want to use AJAX for product listing (with "show more" functionality), AJAX based search etc. on the front-e

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

相关推荐

  • ajax - woocommerce REST api on the website's front-end

    I want to use AJAX for product listing (with "show more" functionality), AJAX based search etc. on the front-e

    21小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信