feat(catalog): replace selectionOptions with selectorOptions to filter hidden attributes

This commit is contained in:
2026-08-13 08:30:03 -03:00
parent 7c7a295625
commit 97995ae728
6 changed files with 48 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ class CatalogSearchItemResource extends JsonResource
'stock_tecnico' => $this->inventory_policy === InventoryPolicy::Unlimited
? null
: $variant->inventory?->availableStock(),
'values' => $variant->selectionOptions($this->itemAttributes),
'values' => $variant->selectorOptions($this->itemAttributes),
])
->values(),
];