Skip to content

[5.x]: Variant is not visible in the element index after creating it #4191

@MoritzLost

Description

@MoritzLost

What happened?

Description

When I create a new product and then create its first variant, after saving the variant, it doesn't show up in the element index. See the following screen recording:

Screen.Recording.2025-12-03.at.13.10.56.mov

The footer of the element index for the variants correctly shows 1-1 of 1 product variant, but the the list is empty. Only after reloading multiple times does the variant card show up.

Steps to reproduce

  1. See screen recording above.

Craft CMS version

5.8.20

Craft Commerce version

5.5.0.1

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions