feat: update product and variant resources to improve variant selection handling and response structure

This commit is contained in:
2026-06-30 16:53:23 -03:00
parent cb15905c46
commit 429fa36b05
5 changed files with 33 additions and 27 deletions

View File

@@ -286,6 +286,7 @@ class ProductService
'brand',
'category',
'attributes.options',
'variants.definitions.productAttribute.attribute.options',
]);
$selectedVariantQuery = $product->variants()