What happened?
Description
We’re experiencing an issue with reordering product variants when a product has more than 50 variants.
Initially, the order can be adjusted successfully, but after the save the variant is back at the initial place.
This is before a save:
After successfully reordering once, attempting to reorder a second time fails. During the second attempt, the variant item cannot be dragged as expected; instead, only the icons are selectable, and dragging is unresponsive.

Steps to Reproduce
- Create a product.
- Add more than 50 variants to the product (e.g., 55 variants).
- Reorder the variants.
- Attempt to reorder the variants a second time, without refreshing the page.
- Save the page
Expected Behavior
- The variant should be at the position it’s dragged to after the save.
- Reordering should work consistently, allowing users to adjust the order multiple times without needing to refresh the page.
Actual Behavior
- After the save the variant reverts to its original position.
- Subsequent reordering fails unless the page is refreshed.
Craft CMS version
5.3.4
Craft Commerce version
5.0.16.1
PHP version
8.3.8
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
We’re experiencing an issue with reordering product variants when a product has more than 50 variants.
Initially, the order can be adjusted successfully, but after the save the variant is back at the initial place.
This is before a save:

After successfully reordering once, attempting to reorder a second time fails. During the second attempt, the variant item cannot be dragged as expected; instead, only the icons are selectable, and dragging is unresponsive.
Steps to Reproduce
Expected Behavior
Actual Behavior
Craft CMS version
5.3.4
Craft Commerce version
5.0.16.1
PHP version
8.3.8
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions