Closed mfilin closed 2 years ago
$properties = $request->propertyValues; $product->propertyValues()->sync($properties);
its my mistake, sorry...
Only one property value per property can be assigned. Ie. a Shoe can be either size of 42 or 43, but not both.
In turn, multiple taxons can be assigned to an entity (product).
hi, i am dont understand why method $product->propertyValues()->sync(data) dont work with data
[ 5 => 111, 222, 333 ]
and i see that in DB is only one record 111
:((((