0

I can Change a form submit in frontend .For Example ->

<form method="post" action="#">
<select>
    <option value="pending">Pending</option>
    <option value="processing">Processing</option>
    <option value="orderaccepted">Order accepted</option>
    <option value="outfordelivery">order out for delivery</option>
    <option value="orderdelivered">Order delivered</option>
</select>
<input type="submit" id="submit-orderstatus" class="submit-orderstatus" >
</form>
4
  • First, You have to create a custom order state & status. Please check link magecomp.com/blog/… Second, you have to update order state & status. Please check link magento.stackexchange.com/questions/164600/… Commented Jan 19, 2023 at 6:00
  • please code here Commented Jan 19, 2023 at 6:12
  • Can you confirm the below points? You have created a new custom order state & status? Do you want to set or update the custom order state & status only? Commented Jan 19, 2023 at 6:24
  • I didn't do anything. please all code Commented Jan 19, 2023 at 6:29

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.