categoryId doesn't work in product-summary.shelf ?
khrizzcristian opened this issue · 0 comments
khrizzcristian commented
Hello. I have the following code on category page in product-summary.shelf:
"product-summary.shelf": {
"children": [
"stack-layout#prodsum",
"product-price-savings#summary",
"add-to-cart-button",
"product-summary-name",
"condition-layout.product#autor",
"product-rating-inline",
"flex-layout.row#selling-price-savings"
],
"props": {
"blockClass": "summaryShelfMain"
}
},
"condition-layout.product#autor": {
"props": {
"conditions": [
{ "subject": "categoryId", "arguments": { "id": "2" } }
],
"Then": "product-summary-name"
}
},
In "Then" I put product-summary-name just for testing. In this case the name should appear twice.
categoryId = 2 can be found here: https://longo--diverta.myvtex.com/carti
And nothing happens.
I tried to filter from "Beletristica" and change the condition with id = 28 and also, nothing