Skip to content

Commit 8fa3709

Browse files
authored
Add unit values to mass assignment (#412)
1 parent c1e0528 commit 8fa3709

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Core/Products/Models/ProductVariant.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ class ProductVariant extends BaseModel
4141
'max_qty',
4242
'min_batch',
4343
'tax_id',
44+
'weight_value',
45+
'weight_unit',
46+
'height_value',
47+
'height_unit',
48+
'width_value',
49+
'width_unit',
50+
'depth_value',
51+
'depth_unit',
52+
'volume_value',
53+
'volume_unit',
4454
];
4555

4656
protected $pricing;

0 commit comments

Comments
 (0)