From d46867f101d4fc7804691caf3668134a430b9814 Mon Sep 17 00:00:00 2001 From: merdan Date: Wed, 13 Apr 2022 18:56:11 +0500 Subject: [PATCH] vendors --- packages/Sarga/Shop/src/Repositories/ProductRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Sarga/Shop/src/Repositories/ProductRepository.php b/packages/Sarga/Shop/src/Repositories/ProductRepository.php index 1eca675c2..d399edd23 100644 --- a/packages/Sarga/Shop/src/Repositories/ProductRepository.php +++ b/packages/Sarga/Shop/src/Repositories/ProductRepository.php @@ -426,7 +426,7 @@ class ProductRepository extends WProductRepository $attributes['color'] = $this->getAttributeOptionId('color', $data['color']); } - $this->assignAttributes($variant, array_merge($attributes,$this->calculatePrice($sizeVariant['pice']))); + $this->assignAttributes($variant, array_merge($attributes,$this->calculatePrice($sizeVariant['price']))); } } }