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

How to propose Custom Value? #10780

Open
NoxArt opened this issue Jan 30, 2025 · 5 comments
Open

How to propose Custom Value? #10780

NoxArt opened this issue Jan 30, 2025 · 5 comments
Assignees

Comments

@NoxArt
Copy link

NoxArt commented Jan 30, 2025

Hello,
we are getting EmptyCustomValueOnAmbiguousValueException ... however here I don't see any "customValue" parameter here

Image

how do i provide it?

@Lukasz-Zurek Lukasz-Zurek self-assigned this Jan 30, 2025
@NoxArt
Copy link
Author

NoxArt commented Jan 30, 2025

Oh ok, it's supposed to go directly to "values". Maybe it could be specified in the error message for clarity?

@NoxArt NoxArt closed this as completed Jan 30, 2025
@Lukasz-Zurek
Copy link
Collaborator

@NoxArt Yes, exactly. Additionally you can check a flag in "customValuesEnabled" field for each parameter for GET /sale/categories/{categoryId}/parameters. Then you will know if providing a custom value is possible.

Thank you for your suggestion regarding error message clarification.

@NoxArt
Copy link
Author

NoxArt commented Jan 30, 2025

Battery symbol has customValuesEnabled = TRUE

But I'm getting

Image

For

Image

Because it seems like our batteries do not have this symbol assigned, at least from what I could find out so far

@NoxArt NoxArt reopened this Jan 30, 2025
@NoxArt
Copy link
Author

NoxArt commented Jan 30, 2025

"NONE" doesn't work either

@Lukasz-Zurek
Copy link
Collaborator

Yeah, but providing "none" value does not make any sense. Do you provide any "other" values in different parameters? What battery symbol do you want to pass? If it is not available in our dictionary (which does have a lot of values), please clarify. Maybe we will be able to add it.

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

No branches or pull requests

2 participants