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 -v You should see something similar to this: Docker version 20.10.20, build 9fdeb9c Navigate to a project folder of you choiceread 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 grabread more