Skip to content

Product Carousel Theme Filter: Attribute Value Dropdown Not Showing Options for Custom Attributes #10866

@iamshuhood

Description

@iamshuhood

Terms

  • Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected

2.3.6

Issue Description

After updating to the latest Bagisto version, I noticed that when editing a theme and adding a filter to the Product Carousel (e.g., using a custom attribute like "Material"), the "Value" dropdown does not show any options to select from. This issue only affects custom attributes with options (like "Material"), while boolean attributes (like "Featured" or "New") still show "Yes/No" as expected.

Image

Preconditions

Bagisto version: [v2.3.6]
PHP version: [ 8.1]
attribute options exist with value
Issue started after updating to the latest Bagisto version.

Steps to reproduce

Go to Settings > Themes >
Create Them with Product Carousel section Type or Edit.
Click "Add Filter", select a custom attribute (e.g., "Material or brand etc") as Key.
Try to select a Value – the dropdown is empty.

Expected Result

When editing a theme and adding a filter to the Product Carousel, after selecting a custom attribute (like "Material") as the filter key, the "Value" dropdown should display all available options for that attribute, allowing me to select one and save the filter. This worked in previous versions.

Actual Result

When editing a theme and adding a filter to the Product Carousel, after selecting a custom attribute (such as "Material") as the filter key, the "Value" dropdown is empty and does not display any options to select from. This prevents saving the filter, as the value is required. This issue occurs for all custom attributes with options, even though options exist in the database and were visible before the update. Boolean attributes (like "Featured" or "New") still show "Yes/No" as expected.

Screenshots

No response

Additional context

This worked before the latest update.
All attribute options exist with value

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions