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

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