@extends('su-admin.layout.master') @section('content') @php if(!isset($_GET['tab'])){ $tab = ''; }else{ $tab = $_GET['tab']; } @endphp
@if (session()->has('message')) @endif

Carrello

{!! Form::open(['url' => Request::url(), 'method' => 'post', 'class' => 'form-horizontal']) !!}

Settaggi


{!! Form::checkbox('product_quick_view', "1", get_setting('settings', 'product_quick_view', 'cart'), ['class' => 'form-check-input', 'id' => 'product_quick_view', 'disabled' => (plus_active()) ? false : true ]) !!} {!! Form::label('product_quick_view', 'Attiva quick view', ['class' => 'form-check-label admin-plus-setting'] ) !!}
{!! Form::checkbox('cart_only_incart', "1", get_setting('settings', 'cart_only_incart', 'cart'), ['class' => 'form-check-input', 'id' => 'cart_only_incart' ]) !!} {!! Form::label('cart_only_incart', 'Visualizza solo item nel carrello', ['class' => 'form-check-label'] ) !!}

Cache


{!! Form::label('cache_time', 'Durata cache carrello (secondi)', ['class' => 'form-label'] ) !!}
{!! Form::input('number', 'cache_time', get_setting('settings', 'cache_time', 'cart'), ['class' => 'form-control', 'min' => 0]) !!}
{!! Form::label('field_delivery_date', 'Data consegna', ['class' => 'form-label'] ) !!}
{!! Form::select('field_delivery_date', array('none' => 'Non visualizzata', 'empty' => 'Non selezionata', 'selected' => 'Selezionata'), get_setting('settings', 'field_delivery_date', 'cart'), ['class' => 'form-select' ]) !!}
{!! Form::checkbox('field_phone_required', "1", get_setting('settings', 'field_phone_required', 'cart'), ['class' => 'form-check-input', 'id' => 'field_phone_required' ]) !!} {!! Form::label('field_phone_required', 'Telefono obbligatorio', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('field_acceptance', "1", get_setting('settings', 'field_acceptance', 'cart'), ['class' => 'form-check-input', 'id' => 'field_acceptance' ]) !!} {!! Form::label('field_acceptance', 'Visualizza accettazione Privacy e Termini', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('field_date_appointment', "1", get_setting('settings', 'field_date_appointment', 'cart'), ['class' => 'form-check-input', 'id' => 'field_date_appointment' ]) !!} {!! Form::label('field_date_appointment', 'Visualizza data appuntamento', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('quickcart_view_tax_text', "1", get_setting('settings', 'quickcart_view_tax_text', 'cart'), ['class' => 'form-check-input', 'id' => 'quickcart_view_tax_text' ]) !!} {!! Form::label('quickcart_view_tax_text', 'Visualizza testo tassa', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('quickcart_only_incart', "1", get_setting('settings', 'quickcart_only_incart', 'cart'), ['class' => 'form-check-input', 'id' => 'quickcart_only_incart' ]) !!} {!! Form::label('quickcart_only_incart', 'Visualizza solo item nel carrello', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('quickcart_product_quick_view', "1", get_setting('settings', 'quickcart_product_quick_view', 'cart'), ['class' => 'form-check-input', 'id' => 'quickcart_product_quick_view', 'disabled' => (plus_active()) ? false : true ]) !!} {!! Form::label('quickcart_product_quick_view', 'Attiva quick view', ['class' => 'form-check-label admin-plus-setting'] ) !!}

Visualizzazione


{!! Form::label('sort_by', 'Campo ordinamento', ['class' => 'form-label'] ) !!}
{!! Form::select('sort_by', array('date' => 'Data', 'customer' => 'Cliente', 'custom' => 'Custom'), get_setting('settings', 'sort_by', 'cart'), ['class' => 'form-select' ], [ 'custom' => [ "disabled" => true ] ]) !!}
{!! Form::label('sort', 'Tipo ordinamento', ['class' => 'form-label'] ) !!}
{!! Form::select('sort', array('asc' => 'Crescente', 'desc' => 'Descrescente'), get_setting('settings', 'sort', 'cart'), ['class' => 'form-select' ]) !!}
{!! Form::label('sort_by_custom', 'Campo custom ordinamento', ['class' => 'form-label'] ) !!}
{!! Form::input('text', 'sort_by_custom', get_setting('settings', 'sort_by_custom', 'cart'), ['class' => 'form-control']) !!}

Settaggi


{!! Form::checkbox('view_toolbal_totals', "1", get_setting('settings', 'view_toolbal_totals', 'cart'), ['class' => 'form-check-input', 'id' => 'view_toolbal_totals', 'disabled' => (plus_active()) ? false : true ]) !!} {!! Form::label('view_toolbal_totals', 'Visualizza totali nella toolbar', ['class' => 'form-check-label admin-plus-setting'] ) !!}
{!! Form::checkbox('can_duplicate', "1", get_setting('settings', 'can_duplicate', 'cart'), ['class' => 'form-check-input', 'id' => 'can_duplicate', 'disabled' => (plus_active()) ? false : true ]) !!} {!! Form::label('can_duplicate', 'Attiva duplicazione carrello', ['class' => 'form-check-label admin-plus-setting'] ) !!}
{!! Form::label('view_amount', 'Visualizza totale', ['class' => 'form-label'] ) !!}
{!! Form::select('view_amount', array('no_tax' => 'Senza tasse', 'include_tax' => 'Con tasse'), get_setting('settings', 'view_amount', 'cart'), ['class' => 'form-select' ], [ 'include_tax' => [ "disabled" => true ] ]) !!}
{!! Form::checkbox('view_tax_text', "1", get_setting('settings', 'view_tax_text', 'cart'), ['class' => 'form-check-input', 'id' => 'view_tax_text' ]) !!} {!! Form::label('view_tax_text', 'Visualizza testo tassa', ['class' => 'form-check-label'] ) !!}
{!! Form::label('decimal', 'Decimali', ['class' => 'form-label'] ) !!}
{!! Form::input('number', 'decimal', get_setting('settings', 'decimal', 'cart'), ['class' => 'form-control']) !!}
{!! Form::label('decimal_separator', 'Separatore decimali', ['class' => 'form-label'] ) !!}
{!! Form::text('decimal_separator', get_setting('settings', 'decimal_separator', 'cart'), ['class' => 'form-control']) !!}
{!! Form::label('thousands_separator', 'Separatore migliaia', ['class' => 'form-label'] ) !!}
{!! Form::text('thousands_separator', get_setting('settings', 'thousands_separator', 'cart'), ['class' => 'form-control']) !!}
{!! Form::label('currency_position', 'Posizione valuta', ['class' => 'form-label'] ) !!}
{!! Form::select('currency_position', array('before' => 'Prima', 'after' => 'Dopo'), get_setting('settings', 'currency_position', 'cart'), ['class' => 'form-select' ]) !!}
{!! Form::checkbox('currency_space', "1", get_setting('settings', 'currency_space', 'cart'), ['class' => 'form-check-input', 'id' => 'currency_space' ]) !!} {!! Form::label('currency_space', 'Spazio tra totali e valuta', ['class' => 'form-check-label'] ) !!}
{!! Form::hidden('id', $tab, ['class' => 'form-section-id'] ) !!} {!! Form::submit('Salva', ['class' => 'btn btn-primary btn-fw'] ) !!}
{!! Form::close() !!}
@endsection