Page 1 of 1

Order insert shipping and payment method issue.

Posted: Mon Apr 16, 2018 9:10 pm
by synapseindia
We are facing an issue While inserting an order from Sales->Order -> insert .
When we put all the information related to customer and product and click on "Save" button without selecting Shipping and payment method. It is showing an error please check form carefully but shipping and payment method dropdwon is not showing any value for the first time. After click on "Update Total" button shipping and payment method dropdowns are showing value in that or We need to re-enter an order then click on save button. Any solution ?

Re: Order insert shipping and payment method issue.

Posted: Mon Apr 16, 2018 9:34 pm
by ADD Creative
When inserting an order you will need to enter all the details, click update update total, select shipping method, select payment method and then save.

Re: Order insert shipping and payment method issue.

Posted: Tue Apr 17, 2018 9:17 pm
by synapseindia
If we forget to click on "Update Total" button and try to save. It is throwing an error . "Please check form carefully" and set the shipping method and payment method dropdwon with null. Why it is vanishing all the dropdwon . Any fixes ?

Re: Order insert shipping and payment method issue.

Posted: Wed Apr 18, 2018 7:42 pm
by ADD Creative
What version of OpenCart are you using?

Re: Order insert shipping and payment method issue.

Posted: Wed Apr 18, 2018 9:40 pm
by synapseindia
version - OC 1.5.x

Re: Order insert shipping and payment method issue.

Posted: Thu Apr 19, 2018 12:35 am
by ADD Creative
With x being?

Re: Order insert shipping and payment method issue.

Posted: Tue Jun 12, 2018 5:22 pm
by synapseindia
OC version 1.5.6

Re: Order insert shipping and payment method issue.

Posted: Wed Jun 13, 2018 8:01 pm
by ADD Creative
I've just tested and you are right, the shipping and payment methods are not selectable after clicking save. However, I was able to click on "Update Totals" again without have to reenter all the details. After that the shipping and payment methods were selectable again.

This looks to be by design, as the same form is used for editing orders. This allows you to make small changes to the order which out having to change the transaction details.

If you did want change this you would need to detect the missing shipping and payment method error and automatically call the update totals JavaScript function.

However, you may find this causes other problems that you would also have to solve.

Re: Order insert shipping and payment method issue.

Posted: Wed Jun 13, 2018 9:17 pm
by synapseindia
Thanks for your reply.
I tried to re call but it is not working. So i have made some changes in update total function.
It will show alert popup if admin did not select shipping and payment method while creating an order.