We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I want to add more arguments (productID) but I have not been able to achieve it, how is the structure required or is it not possible?
The text was updated successfully, but these errors were encountered:
you can pass more products ids in this way:
"conditions": [ { "subject": "productId", "arguments": { "id": "12" }}, { "subject": "productId", "arguments": { "id": "13" }}, { "subject": "productId", "arguments": { "id": "16" }} ]
Sorry, something went wrong.
Yeah that's how I've been handling it, but it never worked for me
"conditions": [ { "subject": "productId", "arguments": { "id": "1" }}, { "subject": "productId", "arguments": { "id": "2" }} ],
you have to set the matchType to any, because default is all then just work if all coditions are true, in your case its impossible. an example:
matchType
any
all
"condition-layout.product": { "props": { "conditions": [ { "subject": "productId", "arguments": { "id": "12" }}, { "subject": "productId", "arguments": { "id": "13" }}, { "subject": "productId", "arguments": { "id": "16" }} ], "matchType": "any", "Then": "", "Else": "" } }
It's true, with that it already worked, thank you very much
No branches or pull requests
Hello, I want to add more arguments (productID) but I have not been able to achieve it, how is the structure required or is it not possible?
The text was updated successfully, but these errors were encountered: