Jump to content

Order Status at Admin Order


Marco_Co

Recommended Posts

Hi,

I am trying to change the selected status in the back office when someone (employee) is placing an order.

On this page the state which is selected and showing by default is 'Payment accepted' but it should be 'Awaiting payment by bank' by default.

I have tried to change the default sate in the form tpl. After this change, the state 'Awaiting payment by bank'  is selected, but the first state which is showing is still 'Payment accepted' . Can anyone help me with this problem?

 

Thanks

 

Link to comment
Share on other sites

  • 2 years later...
On 8/22/2018 at 5:21 AM, Marco_Co said:

Hi,

I am trying to change the selected status in the back office when someone (employee) is placing an order.

On this page the state which is selected and showing by default is 'Payment accepted' but it should be 'Awaiting payment by bank' by default.

I have tried to change the default sate in the form tpl. After this change, the state 'Awaiting payment by bank'  is selected, but the first state which is showing is still 'Payment accepted' . Can anyone help me with this problem?

 

Thanks

 

Hi Marco_Co... how did you solve it? i have the same problem too..

Link to comment
Share on other sites

  • 2 months later...

Hi, I have a possible solution, I think isn't the correct solution but its working...

/Backoffice/themes/default/template/controllers/orders/form.tpl

change:

$('#id_order_state').val(id_order_state);

for:

$('#id_order_state').val(id status that you want);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...