|
@can('product.delete')
{!! Form::open(['url' => action([\App\Http\Controllers\ProductController::class, 'massDestroy']), 'method' => 'post', 'id' => 'mass_delete_form_bigcommerce' ]); !!}
{!! Form::hidden('selected_rows', null, ['id' => 'selected_rows_bigcommerce']); !!}
{!! Form::submit(__('lang_v1.delete_selected'), array('class' => 'btn btn-xs btn-danger', 'id' => 'delete-selected-bigcommerce')); !!}
{!! Form::close(); !!} @show_tooltip(__('lang_v1.deactive_product_tooltip'))
@endcan
@can('product.update')
@if(config('constants.enable_product_bulk_edit'))
{!! Form::open(['url' => action([\App\Http\Controllers\ProductController::class, 'bulkEdit']), 'method' => 'post', 'id' => 'bulk_edit_form' ]) !!}
{!! Form::hidden('selected_products', null, ['id' => 'selected_products_for_edit']); !!}
{!! Form::close() !!}
@endif
@endcan
{!! Form::open(['url' => action([\App\Http\Controllers\ProductController::class, 'massDeactivate']), 'method' => 'post', 'id' => 'mass_deactivate_form' ]); !!}
{!! Form::hidden('selected_products', null, ['id' => 'selected_products']); !!}
{!! Form::submit(__('lang_v1.deactivate_selected'), array('class' => 'btn btn-xs btn-warning', 'id' => 'deactivate-selected')); !!}
{!! Form::close(); !!} @show_tooltip(__('lang_v1.deactive_product_tooltip'))
|