cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.9 Re-order logic

Highlighted

Magento 1.9 Re-order logic

I'm a mid-level developer to Magento, and I would like to know the re-ordering algorithm since I was tasked to modify the re-ordering logic in a Magento store.

Currently, when an admin user re-orders a previous order, then the increment id (let's say (100166118) becomes 100166118-1 (note -1 suffix) after the re-order is done.

My question is this:
Does the logic that suffixing the order's order_increment_id (by -1 or -2 and so on) is something that native Magento code does, or is it something that a 3rd plugin does? Or is it a custom developer's code?

Your reply would be greatly appreciated