Jump to content

product-feature not filled in BO


ale123

Recommended Posts

Hi all

I have a shop with a lot of product feature. Sometime, when accessing the BO and opening a product, some product features are not filled properly, the dropdown is left empty (not all, not always, but seems always the same feature is left empty when this happens).

I've enabled the debug and tested the query hundres of time in a script, the result is always correct with the value properly returned from the query.

So i think there is something wrong with the select2 or in the javascript code that fills the dropdown.

Any idea ? Is this something know ? What should I check ?

Link to comment
Share on other sites

Check if there are any JavaScript errors in the console when the problem occurs. Also, try inspecting the HTML of the dropdown to see if the options are being generated as expected but just not displaying.

Link to comment
Share on other sites

34 minutes ago, ale123 said:

Not 100% sure but seems to happen when there are multiple feature value with the same name.

That's it, I had an issue like this and that was exactly the reason.

Maybe some of the feature values are not used in any products, check out the Tidy module that can help you delete such feature values.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...