diff --git a/views/productform.blade.php b/views/productform.blade.php index a55a8a07..446ad7d7 100644 --- a/views/productform.blade.php +++ b/views/productform.blade.php @@ -93,9 +93,11 @@ @endif + @php $prefillById = ''; if($mode=='edit') { $prefillById = $product->shopping_location_id; } @endphp @if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING) @include('components.shoppinglocationpicker', array( 'label' => 'Default store', + 'prefillById' => $prefillById, 'shoppinglocations' => $shoppinglocations )) @else