“error_message”: “Sorry, you cannot list resources.” using WooCommerce API

Here ya go The original .htaccess looked like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Then I changed it to the following <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond … Read more

Change WooCommerce state and city checkout fields to dropdowns related to the chosen country

although it’s true that you can search on google, that’s probably why you’re here in the first place. The plugins mentioned are alternatives, but if you still wanna do it, here’s how to turn the city field into a dropdown: /** * Change the checkout city field to a dropdown field. */ function jeroen_sormani_change_city_to_dropdown( $fields … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)