Error in change status

  • Posts: 33
  • Thank you received: 1
3 days 14 hours ago #373032

-- HikaShop version -- : 6.5.2

Hello
I think the change status option in mass action isn't working correctly. For example, when I click Run PHP code, the code works correctly, but afterward change status doesn't always work properly. This seems like it could be a bug.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 86028
  • Thank you received: 14174
  • MODERATOR
3 days 4 hours ago #373033

Hi,

On your screenshot, I can see there is a bug in the PHP code.
The line "$db->setQuery(" is missing the end. This will generate an error. So I don't think it comes from the status change but from the PHP code.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 1
3 days 4 hours ago #373034

My code runs correctly and doesn’t give any errors.
Probably because it doesn’t fit on the screen, you can’t see the entire code.
But the important thing is that the status change after the code isn’t happening.

Please Log in or Create an account to join the conversation.

  • Posts: 86028
  • Thank you received: 14174
  • MODERATOR
2 days 23 hours ago #373035

Hi,

Can you try the same mass action with only the status change and not the run PHP code action ? Does it work ?
If you manually change the status in the backend, the same way the mass action would for the same order does it work ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum