@extends('layouts.app') @section('title', 'Product Subscriptions | Settings') @section('content')
Product Subscriptions
@include('flash::message')
{!! Form::open(['id' => 'settingSubscribe','novalidate' => 'novalidate','onsubmit' => 'return updateSettings();']) !!}

Start Date

{!! Form::checkbox('_item_subscribe_setting_now' , 1 , isSettingBoolean('_item_subscribe_setting_now')) !!} {!! Form::label('_item_subscribe_setting_now','Now') !!}
{!! Form::checkbox('_item_subscribe_setting_monthly' , 1 , isSettingBoolean('_item_subscribe_setting_monthly')) !!} {!! Form::label('_item_subscribe_setting_monthly','Next Month') !!}
{!! Form::checkbox('_item_subscribe_setting_date' , 1 , isSettingBoolean('_item_subscribe_setting_date')) !!} {!! Form::label('_item_subscribe_setting_date','Choose date') !!}
{!! Form::label('_auto_ship_label_profile','My Account Subscription Label') !!} {!! Form::text('_auto_ship_label_profile' , SiteSettingFind('_auto_ship_label_profile','Autoship') , ['class' => 'form-control','placeholder' => 'My Account Subscription Label','required'=>'true']) !!}
{!! Form::label('_subscribe_label_product','Subscribe Label') !!} {!! Form::text('_subscribe_label_product' , SiteSettingFind('_subscribe_label_product','Subscribe') , ['class' => 'form-control','placeholder' => 'Subscribe Label','required'=>'true']) !!}
{!! Form::label('_subscribe_label_product_enroll','Subscribe Label for Enrollment') !!} {!! Form::text('_subscribe_label_product_enroll' , SiteSettingFind('_subscribe_label_product_enroll','Subscribe') , ['class' => 'form-control','placeholder' => 'Subscribe Label for Enrollment','required'=>'true']) !!}
{!! Form::label('_subscribe_blocked_dates','Blocked Start Dates (Comma ceperated dates like 25,26,27)') !!} {!! Form::text('_subscribe_blocked_dates' , SiteSettingFind('_subscribe_blocked_dates','') , ['class' => 'form-control','placeholder' => 'Blocked dates comma seperated','required'=>'false']) !!}
{!! Form::checkbox('_allow_user_to_modify_autoship' , 1 , SiteSettingFind('_allow_user_to_modify_autoship',1) , ['id' => '_allow_user_to_modify_autoship' , 'onchange' => 'autoship_checkbox();']) !!} {!! Form::label('_allow_user_to_modify_autoship','Allow Users to Modify their autoships') !!}
{!! Form::checkbox('_update_profile_autoship_last_item' , 1 , isSettingBoolean('_update_profile_autoship_last_item')) !!} {!! Form::label('_update_profile_autoship_last_item','Disable Autoship deletion') !!}
{!! Form::checkbox('_allow_autoship_deletion_if_more' , 1 , isSettingBoolean('_allow_autoship_deletion_if_more')) !!} {!! Form::label('_allow_autoship_deletion_if_more','Allow users to delete autoships if there are more than one') !!}
{!! Form::checkbox('_product_page_autoship_price' , 1 , isSettingBoolean('_product_page_autoship_price')) !!} {!! Form::label('_product_page_autoship_price','Select Autoship by default on product page') !!}
{!! Form::checkbox('_allow_autoship_shipping_method' , 1 , isSettingBoolean('_allow_autoship_shipping_method')) !!} {!! Form::label('_allow_autoship_shipping_method','Allow user to choose shipping methods for Subscription') !!}
{!! Form::checkbox('_is_today_recurring_order' , 1 , isSettingBoolean('_is_today_recurring_order')) !!} {!! Form::label('_is_today_recurring_order',"Send today's order as recurring order when all items are also present in autoship") !!}
{!! Form::checkbox('_is_subscribe_limit_days' , 1 , isSettingBoolean('_is_subscribe_limit_days')) !!} {!! Form::label('_is_subscribe_limit_days','Limit the number of days for Autoship Start Date') !!}
{!! Form::label('_subscribe_limit_days','Number of days allow to subscribe') !!} {!! Form::number('_subscribe_limit_days' , SiteSettingFind('_subscribe_limit_days',30) , ['class' => 'form-control','placeholder' => 'Number of days allow to subscribe']) !!}
{!! Form::label('_auto_ship_modify_notice','Modify Autoship Popup Notice') !!} {!! Form::text('_auto_ship_modify_notice' , SiteSettingFind('_auto_ship_modify_notice') , ['class' => 'form-control','placeholder' => 'Modify Autoship Popup Notice','required'=>'true']) !!}
{!! Form::label('_cancel_auto_ship_modal_video','Cancel Autoship video link (Youtube/Vimeo)') !!} {!! Form::text('_cancel_auto_ship_modal_video' , SiteSettingFind('_cancel_auto_ship_modal_video') , ['class' => 'form-control','placeholder' => 'Cancel Autoship video link (Youtube/Vimeo)','required'=>'true']) !!}
{!! Form::checkbox('_see_cancel_auto_ship_video' , 1 , isSettingBoolean('_see_cancel_auto_ship_video')) !!} {!! Form::label('_see_cancel_auto_ship_video','Do you want user to see whole video before cancellation?') !!}
{!! Form::close() !!}
Days Label Action