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-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?
I would be glad, if someone can point me to the right direction, maybe the REST API is a wrong approach here altogether?