Issues after upgrading from J3 to J4

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
1 year 4 months ago #353269

-- HikaShop version -- : 4.7.4

Hi,

After updating to J4 I have notice these ODD issues

1) Issue with changing the Shipped status.
When changing the shipping status in the list view of orders the invoice number changes? This does not happen if you click into an order and update the status from the order view.

2) Setting an order as Refunded still does not put the item back on stock

3) When an order is Confirmed the stock level of the product is not reduced

Could you please help?

Many thanks.

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
1 year 4 months ago #353271

Hello,

We will need these elements to better understand your issue your Order Statuses listing screenshot (take good care to show us everything) in System => Order Statuses.

We suspect a bad configuration of your different order statuses.
Awaiting your returns.

Regards

Last edit: 1 year 4 months ago by Philip.

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

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
1 year 4 months ago #353288

HI,

Yes I noticed the invoice being ticked for shipping - I have turned that off. The stock is that to do with cancelled and capture?

Many thanks.

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 4 months ago #353292

Hi,

Can you check how the "Update the product stock on confirmed status" setting is configured in the main HikaShop configuration page ?
If the setting is turned off, then the stock will be reduced directly when the order is created.
And with that setting turned on, the stock will be reduced when the order status changes to one of the statuses enabled under the "invoice" column of the System>Order statuses menu.

And I think you want the "shipped" status to be enabled under the "invoice" column so that when an order goes from shipped to refunded, the stock is given back.

Regarding the invoice number changing when the order status is changed, I've never heard of this being a thing. And I don't see how it's possible looking at the code. Could you please double check ? One way I could see it happening would be if there was a mass action configured specifically to do that.

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

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
1 year 4 months ago #353298

Hi,

"And I think you want the "shipped" status to be enabled under the "invoice" column so that when an order goes from shipped to refunded, the stock is given back."

The issue with that it that when that is enabled the invoice number changes when "shipped" is changed on the order status (just on the order browse page) - not on the main order page. Yes I have checked this a good few times.

Update the product stock on confirmed status = ON

Stock issue remains, no stock is being depleted on order confirmed (yes the order is set to confirmed by the payment gateway worldpay) and also refunded state doesn't put stock back.

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
1 year 4 months ago #353299

Hello,

Please provide these elements :
- An url link to your backend administrator
- Backend user references (with maximum ACL)
- Detail step by step how you proceed with your various tests so that we can reproduce (and understand) the error

Awaiting your returns
Regards

Last edit: 1 year 4 months ago by Philip.

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

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
1 year 4 months ago #353368

Thank you - I have sent you the details via your contact form.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 4 months ago #353394

Hi,

I checked the situation on your website but I couldn't figure out what's wrong.
Could you also provide a FTP access so that we can investigate further ?

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

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
1 year 4 months ago #353424

Details sent thank you

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 4 months ago #353441

Hi,

Thank you. We were able to find the issue and added a patch for it. It's now working on your website.
We've also included the patch on our end. So anyone else with the issue can download the install package of the 4.7.4 on our website and install it on yours to get the patch.

The following user(s) said Thank You: grayt7

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

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
1 year 4 months ago #353443

Excellent support - thank you - we will test and let you know.

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

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
1 year 4 months ago #353487

works - thank you!!!

The following user(s) said Thank You: nicolas

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

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
1 year 4 months ago #353542

Sorry, we have noticed another issue. The email history is no longer working? The email history plugin is enabled? Any ideas please?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 4 months ago #353543

Hi,

What do you mean by "The email history is no longer working" ? Do you get an error message when you access the Customers>Emails history menu ?
Or you don't see that menu anymore ?
Or you see it but completely empty ?
Or you see it with old emails but not new ones ?
Could you maybe provide some screenshots to illustrate the situation ? And one of the settings of the email history plugin ?

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

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
1 year 4 months ago #353552

Hi,

Since the update, we see it with old emails but not new ones.

Attached image of plugin

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 4 months ago #353553

Hi,

That's strange. I don't see a way this could happen.
Normally, if you click on the "preview" button of an email in System>Emails and get a preview of an email, you should then see it in the email history. If that doesn't happen and the email history plugin is enabled, then you should see an error message in the popup.

Also, it might be that you have some filters or ordering set in the email history listing and you don't see the new emails because of that. Normally, logging out and back in your backend should fix that.

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

  • Posts: 517
  • Thank you received: 8
  • Hikashop Business
1 year 4 months ago #353577

Hi, Delete the database Hikashop_email_log, it creates a new one with your new emails, worked for me

The following user(s) said Thank You: nicolas

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

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
1 year 4 months ago #353607

HI,

Thank you for your suggestions.

I truncated the email_log table - or should I delete it totally? Truncating it didn't work.

There are no filters etc and preview did not show any errors? Plugin is enabled yes.

Many thanks.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 4 months ago #353608

Hi,

If you just truncate it, the plugin will still try to add emails to it, but if there is a problem with the structure of the table (for some reason, after the table has been migrated from one website to another), it will still fail, like before.
You can delete it completely. That way, the plugin will add it back automatically with the correct specs and it should then hopefully work.

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

Time to create page: 0.087 seconds
Powered by Kunena Forum