Unable to create Admin Order
-
Nearly all of my orders are created on the backend for my clients.
I use Decimal Product Quantity to be able to charge for variable time (work by the hour). Currently, with the plugin active, I can build the order but I cannot send it to a client. Nothing happens when I click on update, or when I choose an order status. After disabling the plugin, I am able to send the order as expected.Current WordPress: 6.9.1
PHP: 8.3
Current Decimal Product Quantity: Version 20.64
Otherwise, It’s a fabulous plugin! cheersThe page I need help with: [log in to see the link]
-
In Console, I see this error when trying to update/save/send the order:
An invalid form control with name='order_item_qty[353]' is not focusable.
<input type="number" step="1" min="1" autocomplete="off" name="order_item_qty[353]" placeholder="0" value="1.5" data-qty="1.5" size="4" class="quantity">Hi Jason Houge!
I couldn’t replicate your problem.
1. Create Order
2. Add Product 1
3. Add Product 2
4. Edit Quantity Product 1, Edit Quantity Product 2
5. Fill Billing Fields.
6. “OrderAction” -> “Send order detail to customer”.
7. Update.
——————–
Result:
Order updated.
Email sending OK.What other Woo plugins do you use?
What happens if you try to edit an Order placed in the normal way?
*The current version of the plugin “Decimal Product Quantity for Woocommerce” will not work correctly if the pages: Cart, Checkout, Order – have a block structure.
You can use for example, plugin: “Classic Editor”.
Also, you can try a plugin “Block Manager” for control of Blocks.
ShortCode for Cart page: [woocommerce_cart]
ShortCode for Checkout page: [woocommerce_checkout]Thanks for the quick response.
I do not use a block editor.
Step 6 in your list is where it halts. No action happens.
Step 7 also no action
As a result, Step 5 does not saveWhat happens if you try to edit an Order placed in the normal way?
As in from the front end? We don’t have any orders from the front end.
Other Woo plugins:
Active Products Tables for WooCommerce
Advanced Coupons for WooCommerce Free
Advanced Shipment Tracking for WooCommerce
BEAR – Bulk Editor and Products Manager Professional for WooCommerce
Cart Abandonment Recovery for WooCommerce
Custom Order Statuses for WooCommerce
Custom Product Tabs for WooCommerce
Decimal Product Quantity for WooCommerce
Easy Duplicate Woo Order
Easy Product Bundles for WooCommerce
Extra Price Fields for Woocoomerce
Gravity Forms
Markup by Attribute for WooCommerce
Minimum Maximum quantity & Minimum Order amount for WooCommerce Pro
Order Status Control for WooCommerce
Prevent Customers To Cancel WooCommerce Orders
Sequential Order Numbers for WooCommerce
StellarPay – Stripe Payment Gateway for WooCommerce
SysBasics Customize My Account for WooCommerce
Tax Exemption for WooCommerce (PRO)
TrackShip for WooCommerce
WooCommerce Product Add-ons
WooCommerce Tax (previously WooCommerce Shipping & Tax)Thanks!
-
This reply was modified 4 months, 3 weeks ago by
Jason Houge.
That’s interesting.
I’ll try checking compatibility with some of the Plugins on your list.Thank you, very much appreciated!
This should be everything and their versions:
Admin Menu Editor: by Janis Elsts – 1.15
Advanced Coupons for WooCommerce Free: by Rymera Web Co – 4.7.1.1
PublishPress Capabilities: by PublishPress – 2.32.0
Classic Editor: by WordPress Contributors – 1.6.7
Classic Widgets: by WordPress Contributors – 0.3
Custom Order Statuses for WooCommerce: by Nuggethon – 1.5.2
Customer Reviews Collector for WooCommerce: by Trustindex.io – 4.7.3
SysBasics Customize My Account for WooCommerce: by SysBasics – 3.8.5
Easy Duplicate Woo Order: by wizbee IT – 2.6.3
Easy Product Bundles for WooCommerce: by Product Bundles Team – 6.16.0
Customer Email Verification for WooCommerce: by WPFactory – 3.1.9
Gravity Forms: by Gravity Forms – 2.9.28
Markup by Attribute for WooCommerce: by MarkTomlinson – 4.5.0
Order Status Control for WooCommerce: by Bright Plugins – 1.2
Minimum Maximum quantity & Minimum Order amount for WooCommerce Pro: by Pi Websolution – 1.3.4.47
Active Products Tables for WooCommerce: by realmag777 – 1.0.7
StellarPay - Stripe Payment Gateway for WooCommerce: by StellarWP – 1.9.1
Tax Exemption for WooCommerce (PRO): by Elliot Sowersby RelyWP – 2.5.1
TrackShip for WooCommerce: by TrackShip – 1.9.9.1
CTX Feed: by WebAppick – 6.6.23
Advanced Shipment Tracking for WooCommerce: by zorem – 3.9
BEAR – Bulk Editor and Products Manager Professional for WooCommerce: by realmag777 – 1.1.6
Cart Abandonment Recovery for WooCommerce: by Brainstorm Force – 2.1.0
Prevent Customers To Cancel WooCommerce Orders: by Tyche Softwares – 1.2
Extra Price Fields for Woocoomerce: by Webholics – 2.0.1
WooCommerce Gravity Forms Product Add-Ons: by Element Stark – 3.3.26
WooCommerce Product Add-ons: by WooCommerce – 6.4.7
WooCommerce Tax: by WooCommerce – 3.5.0
WooCommerce: by Automattic – 10.5.2Hi,
I have the same problem when editing a custom shipping field on an order with decimal quantities.
I can’t save the order and get the following JS error in the browser console:
An invalid form control with name=’order_item_qty[653]’ is not focusable.
Please help/
Hi misterpo
This happens on some websites, but I haven’t been able to find the cause yet.
Can I see a link to your website?I’m sure if I could reproduce this error on my server, I could find a solution.
Hi,
Thanks for your feedback.
I may have found the issue. We have some orders with 2 decimals quantities.
I have changed in the plugin settings the Step change Quantity parameter to 0,01 and the problem looks to have gone away.
Cheers.
Hi again,
I face the same error again on a specific order when trying to edit a custom shipping field on the order edit page.
This might be due to order status, making the order not editable.
Any idea?
Cheers
Hi!
I need to completely replicate your situation to observe the error.
To do this, I need to create an Order with exactly the same parameters.
Describe the Order parameters in detail.
Try creating a Test Site yourself first and reproducing this error on it.This is a very customized Woocommerce website and you won’t be able to replicate the issue.
I can give you temporary access to WP admin.
No No No!
This is prohibited by the rules of this forum. Unfortunately. ((May I share some screenshots ?
I don’t think this will help in this situation.
I use the “WPGear Debugger” plugin to examine processes and find errors.
But there are also more advanced official debugging systems. -
This reply was modified 4 months, 3 weeks ago by
You must be logged in to reply to this topic.