Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: Matrix block on Order shows "no entries" after completing the order. #3824

Open
robinbraibant opened this issue Dec 19, 2024 · 1 comment

Comments

@robinbraibant
Copy link

What happened?

Description

I have a flow in the frontend where users can book rooms. Depending on the number of persons that is booked for, fields will be created for each perrson . In the backend, these fields will be saved blocks in a Matrix field that is linked to an order.

When updating the cart the Matrix field blocks, with the data, are visible on the Active Cart in the backend.

After completing the order in the frontend, the order gets marked as completed and moves to the Orders in the backend. When you check the Matrix field no it show "No Entries".

Image

When you edit the order, the Matrix field blocks, show up again and when you save the order, everything works as it should.

Steps to reproduce

  1. Create a frontend form with multiple fields linked to a Matrix block on an order
  2. Save and complete the order in the frontend
  3. Check the data on the Matrix field -> it shows "no entries"
  4. Edit the order and save the order in the backend -> everything works as it should

Expected behavior

The expected behavior is that the data of the Matrix field shows up immediately.

Actual behavior

The Matrix field shows "no entries"

Craft CMS version

5.5.7

Craft Commerce version

5.2.10

PHP version

8.2

Operating system and version

Mac OS Sequoia 15.2

Database type and version

MySql 8

Image driver and version

No response

Installed plugins and versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant