I am having issues trying to set the product, when uploaded or amended via a woocommerce REST API , to accept backorders or notify at those.
e. g.
curl –location ‘https://domain.com/wp-json/wc/v3/products’ \
–header ‘Content-Type: multipart/form-data’ \
–header ‘Authorization: Basic key’ \
–form ‘name=”Example product”‘ \
–form ‘stock_quantity=”2″‘ \
–form ‘stock_status=”instock”‘ \
–form ‘backorders=”yes”‘
The default action is that it does not and it is not to be altered by successive PUT request. According to the output from the API, none distinct from “yes”, “no” ,”notify” is accepted. How should I put this parameter?
This is the cutout of what I receive from the API:
“manage_stock”: true,
“stock_quantity”: 0,
“backorders”: “no”,
“backorders_allowed”: false,
“backordered”: false,
Any help would be much appreciated.
]]>I have an issue where only our admin role can place a backorder in the basket, even customers can do this, however our employees using anything other than the admin role cannot.
clearly a setting somewhere ?
thanks
]]>X units of Y have been backordered in order #Z
I have confirmed that stock management is enabled for each variation and that backorders are disabled. We also added this snippet, but it didn’t work:
add_filter( 'woocommerce_product_backorders_allowed', '__return_false' );
What has changed recently and how do we fix it? Thank you.
]]>I tried to find information about this, read documentations and went through plugin marketplaces without finding a single lead. Even creating a job on Fiverr didn’t get a single response.
How can I resolve the problem? Please, come up with something more creative than recommending an agency that charges 5000 Dollars to create a custom plugin.
I want to sell products, no matter what the status is or product type…How can I do that?
1. It’s the setting for simple products.. ( https://prnt.sc/abTqAjAB1YMU ) and here’s the frontend look…( https://prnt.sc/Si3omSTCbWYq )
2. Here’s the settings for variable products ( https://prnt.sc/kvMFOjnB-lqJ ) and here’s the front…( https://prnt.sc/pLKWZdhykGSn )
I just upgraded to a new POS system that manages stock and overwrites product data on woo/wp, i’m having trouble with the “manage stock” setting being automatically applied on woo every time I update a product on the POS system.
the idea of this is the product needs to show as available regardless of what the stock status. ALL products should show ‘add to cart and be purchasable regardless of the stock status. Any idea how can I achieve that?
I talk to the POS system team and they said they don’t manage these settings..and now i’m debugging the issue on the staging site by deactivating all the plugins except for Oxygen builder & WooCommerce. And this issue is still there..
Please let me know how can I fix that?
]]>I linked a product you may want to backorder where we tried to insert ‘0’ a didn’t see any change.
Maybe we lack the correct information about this issue, pls let us know.
Thank you
Simone
I’m using an android app related to the woocommerce website via API.
Backorders on the website are not allowed, but if two customers buy the same product( with quantity 1) at the same time, i get one of the orders as backorder even if it is not allowed.
i found this answer: https://www.ads-software.com/support/topic/woocommerce-rest-api-creating-an-order-as-a-customer/
explaining that: ” It is not possible to create orders as a customer as customers do not have permission to create anything on the site. What you can do is create the order as an administrator and use the order_id in the API request to assign the order to a specific customer.”
and i saw that orders via API are not created by customers, as the orders via website.
So is there a way to disable the backorders globally to avoid this problem? thanks.
]]>My current process is this:
When someone orders one of these products, the order goes to “On-hold” status. (The customer has put in their payment details.)
Once I know the order is on it’s way, I move the status to “Processing”.
And then when it arrives, mark it as “Complete” and ship it to the customer.
During this process, when is the money taken out of the customers account and put into mine?
I have had a few people say it comes out straight away, but then after about 10 days it shows back in their account as a refund (whilst still in “On Hold” status).
Should I be doing this differently? How do the different status types affect payments please?
Thanks