admin管理员组文章数量:1122832
I don't have a question about coding in WordPress, but I was just wondering if I have a headless CMS setup, can I still have ecommerce functionality with WooCommerce?
I don't have a question about coding in WordPress, but I was just wondering if I have a headless CMS setup, can I still have ecommerce functionality with WooCommerce?
Share Improve this question asked Sep 26, 2021 at 18:11 JayDev95JayDev95 1798 bronze badges1 Answer
Reset to default 2Yes. WooCommerce has endpoints and you can access them with the standard WordPress REST API.
/wp-json/wc/v3/products
/wp-json/wc/v3/products/<id>
Did a little search and found that they have documentation available here: https://woocommerce.github.io/woocommerce-rest-api-docs/
本文标签: theme developmentCan I use WooCommerce in a headless CMS setup
版权声明:本文标题:theme development - Can I use WooCommerce in a headless CMS setup? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736295903a1929673.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论