WooCommerce – Stop assigning order numbers
WooCommerce – Stop assigning order numbers
WooCommerce – Stop assigning order numbers
How to Fix WordPress multisite woocommerce 403 file error
In the documentation of WP REST User https://wordpress.org/plugins/wp-rest-user/ you have the aswer: To perform further actions after user is registered, write and add_action: add_action(‘wp_rest_user_user_register’, ‘user_registered’); function user_registered($user) { // Do Something } Replace “// Do Something” for the code to change the user role. Something like this (not tested): $u = new WP_User( 3 ); … Read more
@Jonathan, Is there a way to check the chosen shipping option and return a note depending on that The WooCommerce Orders are stored in the woocommerce_orders table in WordPress. I would start by placing an example order, and searching for the order number and post_id in the database to find the correct fields. The post_id … Read more
How to make wocommerce shop products same heigt
Just go to your database, drop table ending with “wc_download_log” (it might have a prefix). After droping the table deactivate Woocommerce and activate it again. That will solve the trick. Just be careful, drop just that table, be sure to back things up first. This post helped me solved this: https://wordpress.org/support/topic/unable-to-insert-download-log-entry-in-database/page/2/#post-13359528
Jump to Footer On Scroll – Woocommerce Pages Phones Only
Your issue is a misunderstanding of how CSS/HTML works. Take this example: <style>p { color: red; }</style> <p>1</p> <style>p { color: blue; }</style> <p>2</p> <style>p { color: green; }</style> <p>3</p> Which colour is the 1st paragraph? I suspect you would answer red, but that would be incorrect. All paragraphs are green. The disconnect is that … Read more
How can I show how much water got saved on this order (making use of the number of items bought) on a thank-you-page?
The meta is within the taxonomy (so I have the standard, category name, slug, description etc and then I added a collectable tickbox to the category itself not the post/product) I solved this by Running a query for all sub categories and then I put an if statement in so it shows only categories with … Read more