Let’s setup our development environment using docker. Firstly download docker for apple silicon. Download, install and launch.To make sure docker has been installed, open your terminal and run a following command:$ docker -vYou should see something similar to this: Docker version 20.10.20, build 9fdeb9cNavigate to a project folder of you choice and create a fileread more
WooCommerce REST API Cart Endpoint Error
“code”:”woocommerce_rest_missing_nonce”,”message”:”Missing the X-WC-Store-API-Nonce header. This endpoint requires a valid nonce.”You gonna see this error when you are using WooCommerce REST API. The error is self explanatory and easy to understand. The API asking us to pass a nonce. Here is a snippet of using JS including nonce in the header, we just gonna grab wp_create_nonceread more