refactor(cart): update CartItemResource to serialize only selected variant and remove unused variant data

This commit is contained in:
2026-08-18 09:02:45 -03:00
parent c1bfab471c
commit 4817cb28fe
4 changed files with 12 additions and 26 deletions

View File

@@ -108,10 +108,6 @@ class CartService
'items.catalogItem.attachments',
'items.catalogItem.inventory',
'items.catalogItem.itemAttributes.attribute',
'items.catalogItem.variants.inventory',
'items.catalogItem.variants.definitions.itemAttribute.attribute.options',
'items.catalogItem.variants.eventDates',
'items.catalogItem.variants.eventDate',
'items.variant.attachments',
'items.variant.inventory',
'items.variant.definitions.itemAttribute.attribute.options',