Comments (2)
Hello @bielu
There was no problem at this level. The purpose of the extension (at the beginning) is to cancel the "on-hold" commands.
The status "waiting" is when an order is pending payment. Usually with a credit card.
If it will ever be wiser to use IN
SELECT posts.ID FROM $wpdb->posts as posts INNER JOIN $wpdb->postmeta as meta ON posts.ID = meta.post_id WHERE posts.post_type = 'shop_order' AND posts.post_status IN ('wc-pending','wc-on-hold') AND posts.post_date < %s AND meta.meta_key = '_payment_method' AND meta.meta_value = %s
I do not know if I have to change that.
from woo-cancel-abandoned-order.
I am waiting for a return of a request on the forum.
In a future version if it is validated, it would be possible to modify the SQL request.
from woo-cancel-abandoned-order.
Related Issues (15)
- To cancel orders in hours HOT 10
- canceled orders mailed to multiple clients HOT 3
- Use action scheduler API instead of wp-cron
- Can this plugin send email cancel too ? HOT 1
- Prevent order cancellation for the past HOT 3
- How to troubleshoot... HOT 1
- Stock not increased when order is canceled HOT 1
- Add minutes mode HOT 1
- High-Performance order storage (COT) incompatibility
- Select the day of work HOT 1
- Choose the status of the order to cancel HOT 1
- Cron that cancels orders stops working randomly HOT 7
- How to use This Plugin ? HOT 1
- Allow for custom status to be cancelled HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woo-cancel-abandoned-order.