Is there any method to change the order increment id while submitting the order? My client wants to change the prefix of order_id if the order is paid through a particular payment gateway.
Please let me know. Thanks!
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
too complex process to change order_id on basic of payment is done/not.
Because of you
1.`want to prefix only case of order paid`, and 2.`Most important is this field is auto increment field.`
add new field to order table sales_flat_order and sales_flat_order_grid
then using magento event/observer you update field.
Magento event/list https://www.nicksays.co.uk/magento-events-cheat-sheet-1-8/