summaryrefslogtreecommitdiff
path: root/wiki/scripts.mdwn
diff options
context:
space:
mode:
authorbt <bt@web>2024-01-18 13:42:23 -0500
committerIkiWiki <ikiwiki.info>2024-01-18 13:42:23 -0500
commit6fd5e73e91c5870e9f1b5e2ec22d3a7d4b7b4ba0 (patch)
tree07e89edb367b7bec8e2d9816b12b3fa86ddf0d68 /wiki/scripts.mdwn
parent10d21d80b4822180a090265c2f6f9c6817c1d26a (diff)
Diffstat (limited to 'wiki/scripts.mdwn')
-rw-r--r--wiki/scripts.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/wiki/scripts.mdwn b/wiki/scripts.mdwn
index 55a80c8..65e03ec 100644
--- a/wiki/scripts.mdwn
+++ b/wiki/scripts.mdwn
@@ -11,3 +11,12 @@ This page contains helpful scripts and useful terminal commands.
mkdir /media/usb-drive
mount /dev/sdX /media/usb-drive/
+
+
+## Woocommerce
+
+**Reset all product menu_order to `0`**
+
+```
+UPDATE wp_posts SET menu_order = 0 WHERE post_type = 'product';
+```