.
WORDPRESS PLUGINS ABOUT

Archive for May, 2023

Stop Fake Spam WooCommerce Orders

Posted on: May 31st, 2023 by Stuart

Have you received one or many attempts of fraudulent orders on your WooCommerce WordPress website, as one of my clients did, here are some solutions to reduce this from happening in the future. What this will do is run a function called spam_account which will compare the name. the first line in the address, phone […]

Create WooCommerce PHP Function to get the top 3 products bought at the same time from a product_id

Posted on: May 19th, 2023 by Stuart

Quite a long post title this one, if you would like a function in WordPress/WooCommerce to list the top 3 other products bought at the same time as a supplied product_id here is the code. I am using MySQL join commands to connect up the following three tables:postswoocommerce_order_itemswoocommerce_order_itemmeta Here is the function to add to […]

^