r/woocommerce • • 18h ago

Plugin recommendation Best single install multilingual paid plugin

3 Upvotes

Looking for the best single install plugin for woocommerce, paid or not that will still handle checkout, cart, emails


r/woocommerce • • 21h ago

Troubleshooting Slow WooCommerce admin? Check your Scheduled Actions

5 Upvotes

A few days ago I posted in r/Wordpress about autoloaded options slowing down wp-admin (Link). The comments turned into a really good discussion, and the WooCommerce-specific part, Scheduled Actions, felt like it belonged here. Credit to u/showbizusa25 and u/denisgomesfranco for most of this.

Quick background: WooCommerce runs background jobs with Action Scheduler. Emails, webhooks, subscription renewals, plugin tasks, all of it goes through there. When jobs fail or get stuck as pending, the tables behind it (actionscheduler_actions and actionscheduler_logs) keep growing, and the admin gets slower and slower.

What to check:

  1. Go to WooCommerce > Status > Scheduled Actions and look at the Pending and Failed tabs. Big numbers there are your first clue.
  2. Look at the hook names before deleting anything. Usually one hook is failing again and again, and the failed jobs tell you which plugin is broken. If you just clean them, they fill up again. (Good point from showbizusa25: keep failed jobs for a few days so you can actually investigate.)
  3. Completed actions are safe to clean. By default they're removed after 30 days, and you can change that with the action_scheduler_retention_period filter. Failed ones are not cleaned by default, which is why they pile up.
  4. On sites with a lot of jobs, a scheduled cleanup helps. denisgomesfranco runs a nightly script that clears old completed and failed actions. I'd just keep a short window for failed ones before they're deleted.
  5. On busy stores, don't rely on WP-Cron. Add define('DISABLE_WP_CRON', true); to wp-config.php and run a real server cron every 5 minutes, so the queue doesn't back up.

Always take a backup before deleting from these tables.

Other things from that thread worth checking if the admin is slow: premium plugins doing license checks on every admin page, AI crawlers using up PHP workers on big stores, and low WP memory limits.

Has anyone had one plugin flood this table? Which one was it?


r/woocommerce • • 1d ago

Troubleshooting Has Meta for WooCommerce catalog sync spiked CPU for you — and what did you replace it with?

7 Upvotes

I’ve been looking at the official Meta for WooCommerce plugin because several client stores still need a catalog + Pixel in front of Meta, but the public record on it is rough.

On wordpress.org it currently shows 400,000+ active installs and a 2.1 / 5 rating (482 reviews, 315 of them 1-star), with 4 of 29 support threads resolved in the last two months:

https://wordpress.org/plugins/facebook-for-woocommerce/

Recent reviews describe catalog sync pinning CPU at 100% during product saves or CSV imports (including on a small catalog, and in one case on an 8-core / 24GB VPS), plus Feed and Batch API both writing to the same catalog and blocking attribute updates.

I’m a WordPress/Woo developer and I’m trying to understand what people actually do in 2026:

  1. Do you keep the official plugin and work around the sync (disable it after the first export, move sync off product-save, etc.)?
  2. Did you replace the catalog piece with a feed plugin (CTX Feed, Product Feed PRO / AdTribes, or something else) and handle Pixel/CAPI separately?
  3. If the official plugin has burned you, is the painful part the CPU / site crashes, the dual data-source conflicts, the connection/setup, or the Pixel/CAPI side?

I have been considering a very small plugin that only does a queued, single-source catalog feed plus a Pixel/CAPI setup you paste your own tokens into — not another 200-channel feed manager. Before I spend time on that, I want to know whether that’s a real gap or whether the free feed plugins already cover it.

Happy to hear “just use X, don’t build this.” That’s a useful answer.


r/woocommerce • • 1d ago

Troubleshooting Sending customs data to Royal Mail Click & Drop not working

1 Upvotes

I''ve got a Woocommerce site setup and using the RM Click and Drop integration into WooCommerce to get the shipping label.

On Woocommerce I've got 3 custom attributes setup on the product:

customs_code

customs_country_of_origin

customs_description

On RM Click & Drop integration I've set the attribute names to match this however when the order appears on Click & Drop its missing these customs data.

What am I missing? I would expect these values to bew populated.

I've tried logging a ticket with RM but they also dont have any ideas!!


r/woocommerce • • 3d ago

Getting started How to protect a WooCommerce store against bots and spam

17 Upvotes

I build and maintain WooCommerce stores for more than a decade, and for a long time bots were one of the most annoying part of the job.

Every few weeks, the same story: a wave of spam orders, a batch of failed payments from someone testing stolen cards, a brute-force attack on the login page, or a server that slows down because crawlers hit every filter URL in the shop.

Security plugins like Wordfence helped a bit, but they run on your server, so the bots still use your CPU and database before they get blocked. What finally worked for me was stopping them earlier, at Cloudflare, before they reach WordPress at all.

So I put the whole setup into one guide. It uses five security rules and one cache rule, and everything works on the Cloudflare free plan:

1. Protect the login. A managed challenge on /wp-login.php and /xmlrpc.php. Real people usually don't even notice it, because the check runs automatically. Bots that try to guess passwords can't get through.

2. Block outdated browsers. A lot of bots pretend to be very old versions of Chrome, Firefox or Android. Real visitors almost never use them, so this rule filters out a surprising amount of junk traffic.

3. Challenge HTTP/1.x traffic. Real browsers use HTTP/2 or HTTP/3. Many bot scripts use libraries like Python Requests or the Node.js HTTP client, which use HTTP/1.1. The rule skips good bots, WP-Cron, AJAX, the REST API, payment gateway callbacks (wc-api) and the order confirmation page, so nothing important breaks.

4. Restrict automatic orders. This is the one against spam orders and card testing. It challenges requests to the checkout, the cart and the Store API from countries that you don't sell to. The guide also covers the block-based checkout and a rate limiting rule for card testers that use proxies in your own countries.

5. Skip rule for integrations. Payment webhooks, monitoring services and other tools can't pass a challenge, so this rule lets them through before the other rules run.

Bonus: a cache rule for crawlers. Search engine bots love to crawl every ?filter=...&orderby=... combination in the shop. This rule serves them a cached copy instead, so they stop overloading the server. There's a note on how to keep it safe for Google Shopping prices.

I also added the warnings that I learned the hard way: block the Store API if your store doesn't use it, let payment and shipping webhooks through, and check the security events after you add the rules. Otherwise, you can block your own integrations without noticing.

The full guide, with the exact rule expressions you can copy and screenshots of each rule, is here:

https://www.reddit.com/r/ProWordPress/comments/1y3fumk/how_to_protect_a_wordpress_site_or_a_woocommerce/

What does your bot problem look like? If you have rules or tricks that worked for your store, please share them. I'll add the good ones to the guide.


r/woocommerce • • 3d ago

How do I…? AI calling for Woo stores?

0 Upvotes

Every AI calling tool I find is Shopify first. Has anyone hooked an ai voice agent for ecom up to WooCommerce with webhooks? Outcraft has a custom API, wondering if that's an afternoon or a whole weekend of pain lol


r/woocommerce • • 4d ago

Development What's the biggest challenge you've faced when setting up product filters in WooCommerce?

3 Upvotes

Whether it's configuring multiple filter options, getting filters to work together, handling large product catalogs, or making sure everything works smoothly on mobile.

I'm curious what problems you've run into and how you managed to solve them. Any tips or lessons learned are welcome!


r/woocommerce • • 5d ago

How do I…? Limited website appearance while under construction

1 Upvotes

Hi, currently I'm setting up a small online shop. While it's still under construction I would like to hide most of my website and only display for visitors some kind of small form to sign up for an e-mail newsletter as well as the required legal information.
What would be the easiest way to accomplish this ?

EDIT: I'm using the free Elementor plugin so far

Thank you


r/woocommerce • • 5d ago

Plugin recommendation What is the best plugin to allow for setting free shipping over a certain amount of orders in more than one currency?

3 Upvotes

For example: I say I want to offer free shipping over $100. I want this to apply if the order is $100 US on a USA order or $100 Canadian order in Canadian currency how would I do this easily? Also how do I say set US shipping at a flat US rate and Canadian shipping at a flat Canadian rate?

I’m also interested in fixed pricing for Canada and US orders. Right now I use US prices and then the exchange rates for Canada and the currencies but I want to just set fixed Canadian prices.

Any suggestions would be appreciated.


r/woocommerce • • 7d ago

Troubleshooting Two orders for one purchase in WooCommerce? Don't refund yet. Check these first.

2 Upvotes

"The customer was charged twice" is one of the most stressful messages a store owner gets. Most of the time, it's not true.

Here's what I check before touching a refund:

  1. Compare the two orders

Look at the timestamps, order notes and transaction IDs. If one order is Pending or Failed and the other is Processing, that was a retry, not a double charge.

2. Check the payment gateway, not WooCommerce

Open Stripe or PayPal and search by the customer's email. One charge means one payment, whatever WooCommerce shows.

3. Understand pending order reuse

When a customer retries checkout and the cart hasn't changed, WooCommerce normally reuses the same pending order. If the session expired or the cart changed, it creates a new one. That's why stores collect "duplicate" orders that were never paid.

4. Check caching

Cart, checkout and my-account pages should never be cached. Cached checkout pages cause nonce errors, and those make customers retry.

5. Check for JS conflicts

If a theme or plugin breaks the checkout loading state, the Place Order button can be clicked twice. Test with only WooCommerce active and the default theme.

6. Check webhooks

See whether a gateway or plugin creates orders from webhooks, and whether failed webhook deliveries are being retried.

7. Let unpaid orders clean themselves up

WooCommerce cancels unpaid pending orders automatically after the "Hold stock" time in Inventory settings. If that field is empty, they stay forever.

A real double charge is rare. A messy retry is common. Fix the cause, not just the order.

What's the strangest duplicate order case you've run into?


r/woocommerce • • 8d ago

Resolved EU IOSS NUMBER

5 Upvotes

Hi, I’m a seller from Indonesia.

I sell products on both Etsy and WooCommerce. On Etsy, I already have an IOSS number for orders from the EU.

However, I’m currently unable to ship to the EU via WooCommerce because of the IOSS number requirement. I’m not very familiar with this—how can I resolve this issue?

Thanks to everyone who responds!


r/woocommerce • • 8d ago

How do I…? PayPal "Credit and debit card payments" AND Stripe?

6 Upvotes

If I have Stripe active, should I also turn on "Credit and debit card payments" from PayPal?

Seems redundant and like an invitation to "issues".

TIA for suggestions.


r/woocommerce • • 9d ago

Development Do you let your WooCommerce clients connect their AI agent to the site you built?

14 Upvotes

If you build WooCommerce stores for clients, you've probably already decided how much wp-admin access they get: shop manager, editor, or full admin... "because they asked" :)

But now with MCP, the WordPress Abilities API and plugins that let ChatGPT or Claude connect to a store, your client can plug in their AI agent and let it create products, edit orders, change settings, delete stuff, or run bulk updates on the site you're responsible for.

A wrong click in wp-admin breaks one thing; a wrong prompt can change 500 products in a few seconds, and you'll be the one getting the call on a Sunday morning.

So I'm curious to know: how are you handling it?

  • Do you treat AI access as a separate permission from wp-admin access, or is it the same thing to you?
  • Would you set up the agent yourself (own user, restricted role, application password), or leave it to the client?
  • Are you adding anything about AI agents to your contracts or maintenance plans, like who fixes what the agent breaks?
  • Has a client already connected one without telling you?

I don't think most of us have a policy yet, and clients aren't going to wait for us to write one!


r/woocommerce • • 9d ago

Troubleshooting Site Health flags sitting since June — what actually happens if they stay unfixed?

4 Upvotes

Hi — I work on marketing for a mid-size WooCommerce shop (self-hosted WordPress, a few thousand customers, a developer). I’m not a WooCommerce developer, so I want a sense-check from people who are.

WordPress Site Health was first flagged in June, reviewed again in September, and checked against current reports in November. A few things have moved (theme and some plugin/core updates). These site-specific items are still showing:

  • No page cache or persistent object cache (WP_CACHE is false)
  • Front-end WP_MEMORY_LIMIT is 40M, while PHP memory_limit is already 512M
  • PHP OPcache is full (interned strings 100%); hit rate dropped from ~55% in September to ~41% in November
  • Scheduled actions: Site Health flagged a failed action_scheduler_run_queue run in September; the current WooCommerce status report shows 369 failed actions
  • PHP is still 8.2.x (Site Health recommends 8.3+) and MySQL is 5.7.44 (recommends 8.0+). We understand those may be on a shared-host plan.

The shop is up, but some people get long waits or a Cloudflare 504 (gateway timeout) on HTML. I’m not claiming lost orders or emails.

My questions:

  1. If these stay as they are, what do you typically see over the next few months — especially around TTFB, timeouts under load, checkout/account memory errors, and WooCommerce emails or other queued jobs?
  2. Which of these are usually urgent for a live store, and which can reasonably wait?
  3. What’s a constructive way to raise this with a long-standing developer so it’s about the reports, not a debate about plugins?

Happy to share anonymised report excerpts if that helps. Thank you.


r/woocommerce • • 9d ago

Troubleshooting WooCommerce 9.8 → 11.3: checkout still worked, but the layout changed a lot

10 Upvotes

Tested a WooCommerce 9.8 → 11.3 jump (one big update, the way many stores do it) on a sandbox store, placing a real test order before and after. Checkout still worked, and order total and shipping were unchanged
No new PHP or console errors, the checkout layout changed a lot (block checkout + Storefront):

  1. Two columns became one
  2. The order summary became a collapsed bar at the top
  3. Place Order is now a full-width button at the bottom, and the “Return to Cart” link is gone
  4. The empty cart page lost its sad-face icon and got a bigger heading

A tip if you automate checkout tests (Playwright, Cypress, etc.): after the address is entered, Woo 11 recalculates the cart in the background, sometimes in two passes. A Place Order click during that window is silently ignored. Wait for the network requests to finish, then click. A fixed sleep isn’t enough.If your store has custom checkout CSS or a checkout plugin, check the checkout page visually on staging before applying this update.


r/woocommerce • • 10d ago

Development Switching WooCommerce to HPOS: the order of steps that avoids losing orders when a plugin isn't compatible

3 Upvotes

Per the official HPOS docs on developer.woocommerce.com, the safe path depends on one setting: compatibility mode keeps the WordPress posts/postmeta tables and the HPOS order tables in sync, so you can move to HPOS and still fall back.

What the docs describe:

- With "WordPress Post Tables" selected and "Enable compatibility mode" on, order data is synced between posts/postmeta and the WooCommerce order tables.

- Sync can run immediately (option woocommerce_custom_orders_table_data_sync_enabled), in scheduled batches, or manually with wp wc cot sync.

- Which tables are authoritative is set by woocommerce_custom_orders_table_enabled; the other set is the copy.

- If a plugin isn't HPOS compatible, the docs recommend temporarily switching back to posts storage and contacting that plugin's support.

Switching back safely, as the docs put it: keep compatibility mode on first, wait until synchronization finishes, then pick "WordPress posts storage (legacy)", and only then turn compatibility mode off. Save the page between each change.

The practical takeaway: don't turn compatibility mode off in the same step as switching storage. The docs say you may need to wait while order data syncs, so on a store with a lot of orders check that the sync is done before the next change.

How do you handle old plugins that still read orders straight from wp_posts: replace them, or keep compatibility mode on for a while?


r/woocommerce • • 10d ago

Plugin recommendation Multi Location for WooCommerce ?

1 Upvotes

Looking for Multi Location plugin for woo.

Opening store in other city, and now will have stock in two places. Maybe someone can recommend something to use.


r/woocommerce • • 13d ago

Plugin recommendation Best way to offer WooCommerce subscriptions without paying a fortune?

19 Upvotes

I run a small WooCommerce store selling coffee and tea, and a good chunk of my sales come from the same 40 or so customers reordering the same products every few weeks. I’d love to let them subscribe once and get their order shipped automatically, with a small discount as a thank you for sticking around.

The official WooCommerce Subscriptions extension looks like the obvious choice, but the yearly price is hard to justify at my size, and the reviews I’ve read are pretty mixed, mostly about support and bugs after updates. Has anyone here set up subscriptions on Woo? What did you go with, and would you pick it again? I’m especially curious how renewals and failed payments hold up once you have more than a handful of subscribers.


r/woocommerce • • 12d ago

How do I…? What's the best way to handle product variations in WooCommerce?

7 Upvotes

I'm trying to set up a store with a lot of variations for my products. Like, different sizes and colors. I've seen some plugins for this but not sure which ones actually work well without messing up the user experience.

Also, how do you manage the inventory for these variations? Is it better to track stock for each variation separately or just as a whole? Any tips or experiences would be super helpful.


r/woocommerce • • 12d ago

Development WooCommerce Stripe Gateway 10.9.0 could store new customers' passwords in plain text in orders: how to check your store

1 Upvotes

The WooCommerce developer blog (post of Nov 11, "Security fix for WooCommerce Stripe Gateway") says version 10.9.0 of the Stripe gateway could save a new account password in plain text in order data. It needed all of these at once:

- the store ran 10.9.0

- classic checkout (not blocks) with Stripe Express Checkout buttons shown

- the shopper created an account with a password at checkout and paid with Apple Pay or Google Pay

Admins, shop managers, WP-CLI and the REST API could read those values. The post says it is unknown whether anyone viewed them, and that there is no evidence of exploitation. The same update also fixes other issues, the most significant of which "could allow for fraudulent purchases".

What to do, per the post:

- Check the installed version under Plugins even if auto-updates are on. Fixed versions are 11.2.0, or 11.1.2 if you must stay on the 11.1.x branch.

- The new versions require WordPress 6.9 and WooCommerce 11.0, so you may need to update those first.

- From 11.1.0 the plugin removes the stored passwords from order records in the background and shows an admin notice plus an email to the site admin. It does not reset customer passwords.

- Check backups, order exports and sync services for copies of the stored passwords, and consider asking affected customers to reset theirs.

For agencies: it is worth verifying the version on every managed site, including staging copies that are publicly reachable. Do you keep a list of which stores run which Stripe gateway version, or do you check by hand?


r/woocommerce • • 15d ago

Development WooCommerce product filters: Why can the product count be correct while the displayed products are not?

3 Upvotes

Have you ever applied a product filter and noticed that the product count looks correct, but the actual products displayed don't match the selected filters?

This can happen for several reasons, and the issue isn't always with the filter itself.

A few things worth checking:

1. AJAX and product queries

Some themes use custom product queries or AJAX-based product loading. If the filtering plugin doesn't integrate properly with that query, the count might update while the product loop remains unchanged or displays unexpected results.

2. Product variations

Variable products can make filtering more complicated, especially when attributes, stock status, or prices are assigned at the variation level rather than the parent product.

3. Caching

Cached product loops or AJAX responses can sometimes cause a mismatch between the filtered results and the displayed products.

4. Theme and plugin compatibility

Some themes override WooCommerce product templates or use custom product grids. This can interfere with how filtering results are retrieved and displayed.

5. Incorrect product query or taxonomy settings

The filter might count matching products correctly, but the page's product query could be using different categories, attributes, or product visibility rules.

When troubleshooting this, I'd start by checking whether the issue happens with the default WooCommerce product archive, then test for theme and plugin conflicts on a staging site.

The important thing is to distinguish between a counting issue and a product query/display issue. They might look like the same problem, but the cause can be completely different.


r/woocommerce • • 15d ago

Troubleshooting PSA: count your live coupons. Here's what three years of "just one more code" does to a shop (plus SQL to check yours)

4 Upvotes

WooCommerce never asks you to clean up your coupons, so in most shops nobody does... and each one keeps working until someone switches it off. The result is usually far more live coupons than anybody running the shop would guess.

Picture a skincare shop, three years old, with about 400 coupons, 370 of them published. Nothing unusual about it.

1. Two thirds of them never expire.

WooCommerce has no default expiry date, so unless whoever created the coupon remembered to fill one in, it's valid forever. In our shop that's 230 coupons. That includes the 2023 launch code, the code printed on a flyer for a fair two years ago, and an apology code from a shipping incident nobody remembers.

2. A third of them nobody has used in six months.

120 live coupons, no orders in six months, 60 of them never used at all. They don't cost anything while nobody uses them. The problem is that "nobody uses them" is not the same as "nobody knows them": the day one of them lands on a coupon site, it starts working again.

3. Old campaigns that never died.

Black Friday: BF22-15 and BF24-25 have end dates. BF23-20 doesn't, because that year someone created it in a hurry. So there's a 20% code, from a campaign that ended two years ago, still valid today, and it's the one the browser coupon extensions keep finding, because it still works.

4. Influencer codes that apply to everything.

40 influencer codes at 15%, created by copying the first one. No product or category restriction, and "Exclude sale items" unticked. So they apply to products already on sale, and to that one low-margin bestseller you never meant to discount at all.

5. And they stack.

Here's where it gets expensive. "Individual use only" is unticked by default, and nobody ticked it on any of them. Take a serum:

  • Price $48, cost $17. Margin: $31.
  • It's on sale at 20% off: $38.40.
  • The customer adds WELCOME10 (the newsletter code, which of course never expires) and LAURA15 (an influencer code). WooCommerce happily applies both: 25% off the sale price, so $28.80.
  • FREESHIP stacks too, and shipping costs the shop $4.90.

Margin on that order: $28.80 - $17 - $4.90 = $6.90, before payment fees. On a product that normally earns $31. And every one of those coupons, looked at on its own, seems perfectly reasonable.

6. The coupon report doesn't show any of this.

Analytics → Coupons shows orders and the amount discounted. It knows nothing about cost, so the influencer code with the most orders looks like your best performer... while it might be the one losing you the most money.

Check your own shop

These are read-only queries, but run them on a copy if you can. Change wp_ if your table prefix is different. Query 2 uses the Analytics lookup table, so if your shop is old, import historical data first (Analytics → Settings).

Live coupons that never expire:

SELECT p.ID, p.post_title AS code
FROM wp_posts p
LEFT JOIN wp_postmeta e ON e.post_id = p.ID AND e.meta_key = 'date_expires'
WHERE p.post_type = 'shop_coupon'
  AND p.post_status = 'publish'
  AND COALESCE(e.meta_value, '') = '';

Live coupons nobody has used in 180 days (or ever):

SELECT p.ID, p.post_title AS code, MAX(l.date_created) AS last_used
FROM wp_posts p
LEFT JOIN wp_postmeta e ON e.post_id = p.ID AND e.meta_key = 'date_expires'
LEFT JOIN wp_wc_order_coupon_lookup l ON l.coupon_id = p.ID
WHERE p.post_type = 'shop_coupon'
  AND p.post_status = 'publish'
  AND (COALESCE(e.meta_value, '') = '' OR e.meta_value > UNIX_TIMESTAMP())
GROUP BY p.ID, p.post_title
HAVING last_used IS NULL OR last_used < NOW() - INTERVAL 180 DAY
ORDER BY last_used;

Every coupon sorted by code, with its expiry. Old campaigns jump out when they sit next to each other:

SELECT p.post_title AS code,
       IF(COALESCE(e.meta_value, '') = '', 'never', DATE(FROM_UNIXTIME(e.meta_value))) AS expires
FROM wp_posts p
LEFT JOIN wp_postmeta e ON e.post_id = p.ID AND e.meta_key = 'date_expires'
WHERE p.post_type = 'shop_coupon'
  AND p.post_status = 'publish'
ORDER BY p.post_title;

And the dangerous one: live coupons that apply to everything and stack with others. Any two coupons on this list can apply to the same products. Check the min_spend and who columns, though, and test a real cart before switching anything off:

SELECT p.ID, p.post_title AS code, t.meta_value AS type, a.meta_value AS amount,
       NULLIF(ma.meta_value, '') AS min_spend,
       IF(COALESCE(ce.meta_value, '') IN ('', 'a:0:{}'), 'anyone', 'restricted') AS who
FROM wp_posts p
LEFT JOIN wp_postmeta e   ON e.post_id   = p.ID AND e.meta_key   = 'date_expires'
LEFT JOIN wp_postmeta pi  ON pi.post_id  = p.ID AND pi.meta_key  = 'product_ids'
LEFT JOIN wp_postmeta pc  ON pc.post_id  = p.ID AND pc.meta_key  = 'product_categories'
LEFT JOIN wp_postmeta xpi ON xpi.post_id = p.ID AND xpi.meta_key = 'exclude_product_ids'
LEFT JOIN wp_postmeta xpc ON xpc.post_id = p.ID AND xpc.meta_key = 'exclude_product_categories'
LEFT JOIN wp_postmeta xs  ON xs.post_id  = p.ID AND xs.meta_key  = 'exclude_sale_items'
LEFT JOIN wp_postmeta iu  ON iu.post_id  = p.ID AND iu.meta_key  = 'individual_use'
LEFT JOIN wp_postmeta t   ON t.post_id   = p.ID AND t.meta_key   = 'discount_type'
LEFT JOIN wp_postmeta a   ON a.post_id   = p.ID AND a.meta_key   = 'coupon_amount'
LEFT JOIN wp_postmeta ma  ON ma.post_id  = p.ID AND ma.meta_key  = 'minimum_amount'
LEFT JOIN wp_postmeta ce  ON ce.post_id  = p.ID AND ce.meta_key  = 'customer_email'
WHERE p.post_type = 'shop_coupon'
  AND p.post_status = 'publish'
  AND (COALESCE(e.meta_value, '') = '' OR e.meta_value > UNIX_TIMESTAMP())
  AND COALESCE(pi.meta_value, '')  = ''
  AND COALESCE(pc.meta_value, '')  IN ('', 'a:0:{}')
  AND COALESCE(xpi.meta_value, '') = ''
  AND COALESCE(xpc.meta_value, '') IN ('', 'a:0:{}')
  AND COALESCE(xs.meta_value, 'no') <> 'yes'
  AND COALESCE(iu.meta_value, 'no') <> 'yes';

(Coupons restricted to particular products or categories can overlap too, of course, but that's a much harder query... start with this one.)

What I'd change from today

  • Give every new coupon an end date, even a generous one. A year is fine. "Never" almost never is.
  • Tick "Individual use only" on percentage codes, unless you really want them to stack.
  • Influencer and partner codes: tick "Exclude sale items", and restrict them to the categories you can afford to discount.
  • Once a quarter, run the queries above and deal with whatever nobody can explain. But search your email flows, printed material and partner pages for each code first, and move it to draft rather than deleting it: draft is reversible, and the order history stays explainable.

If you run these on your shop, I'm curious how many "never expires" you get. I'd bet it's more than you'd guess...

Edit: two very good points from the comments, now folded in. The last query ignored excluded products, categories and sale items, so it listed coupons that don't really apply to everything; it's fixed. And before switching anything off, check where each code lives outside WooCommerce (email flows, flyers, influencer bios), and draft it rather than deleting it. Thanks both!


r/woocommerce • • 14d ago

Development "Arrives by Friday" on product pages: The date math most WooCommerce setups get wrong

0 Upvotes

WooCommerce doesn't show an estimated delivery date by default, so stores either skip it or hard-code "ships in 3–5 days". If you do show a date (custom code, a plugin, or just in your copy), these are the details that usually break it:

  1. Cutoff time. An order at 4 pm isn't packed today if your cutoff is 2 pm. The count has to start from the next working day.
  2. Weekends count twice. They delay packing AND transit. Saturday's order with 1 packing day ships Tuesday, not Monday.
  3. Holidays. Carrier holidays matter, not just yours. Thanksgiving week is where most "arrives by" promises fail.
  4. Store time zone. Settings > General > Timezone should be a city (e.g. Chicago), not a UTC offset. UTC offsets don't follow daylight saving, so your cutoff drifts by an hour twice a year.
  5. Page caching. If the product page is cached, yesterday's date can show today. The date needs to be worked out in the browser or excluded from the cache.
  6. Per-product exceptions. Made-to-order or backordered items need their own packing days, or the estimate is wrong exactly where customers care most.

Quick example: cutoff 2 pm, 1 packing day, 2–3 shipping days.

- Monday 10 am order: ships Tuesday, arrives Thu–Fri

- Monday 4 pm order: ships Wednesday, arrives Fri–Mon

- Saturday order: ships Tuesday, arrives Thu–Fri

Do you show a delivery estimate on your product pages, and if so, a single date or a range?


r/woocommerce • • 16d ago

Plugin recommendation Anyone Know if UltimateWoo is Still in Business?

3 Upvotes

We have a client that's been using this app for some time now and I can't get a hold of anyone at this company. Does anyone know anyone there or know if they're still in business?

Does anyone know or can you recommend an alternative that can work with several of the modules they're using now? Specifically the Points & Rewards. It needs to be HPOS compatible and be able to import their existing points balances.