xcoder007
Постоялец
- Регистрация
- 7 Фев 2016
- Сообщения
- 65
- Реакции
- 27
hello всем.
у MultiMerch есть хоть какой рабочий ?
Ставлю на Open cart Version 2.3.0.2 (rs.5) MultiMerch 7.7.4, 7.7.3 , ломает сайт с ошибкой:
у MultiMerch есть хоть какой рабочий ?
Ставлю на Open cart Version 2.3.0.2 (rs.5) MultiMerch 7.7.4, 7.7.3 , ломает сайт с ошибкой:
PHP Fatal error: Call to a member function get() on a non-object in /var/www/bleack/data/www/oc.7works.ru/admin/view/template/multiseller/settings.tpl on line 107, referer: Для просмотра ссылки Войдиили Зарегистрируйся
Код:
<?php echo $header; ?><?php echo $column_left; ?>
<div id="content" class="ms-settings">
<div class="page-header">
<div class="container-fluid">
<div class="pull-right">
<button id="saveSettings" type="submit" form="form-store" data-toggle="tooltip" title="<?php echo $button_save; ?>" class="btn btn-primary"><i class="fa fa-save"></i></button>
<a href="<?php echo $cancel; ?>" data-toggle="tooltip" title="<?php echo $button_cancel; ?>" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
<h1><?php echo $ms_settings_heading; ?></h1>
<ul class="breadcrumb">
<?php foreach ($breadcrumbs as $breadcrumb) { ?>
<li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li>
<?php } ?>
</ul>
</div>
</div>
<div class="container-fluid">
<?php if (isset($error_warning)) { ?>
<div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> <?php echo $error_warning; ?>
<button type="button" class="close" data-dismiss="alert">×</button>
</div>
<?php } ?>
<?php if (isset($success)) { ?>
<div class="alert alert-success"><i class="fa fa-check-circle"></i> <?php echo $success; ?>
<button type="button" class="close" data-dismiss="alert">×</button>
</div>
<?php } ?>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-pencil"></i> <?php echo $ms_settings_heading; ?></h3>
</div>
<div class="panel-body">
<form id="settings" method="post" enctype="multipart/form-data" id="form-store" class="form-horizontal">
<ul class="nav nav-tabs" id="tabs">
<li class="active"><a href="#tab-general" data-toggle="tab"><?php echo $tab_general; ?></a></li>
<li><a href="#tab-productform" data-toggle="tab"><?php echo $ms_config_productform; ?></a></li>
<li><a href="#tab-finances" data-toggle="tab"><?php echo $ms_config_finances; ?></a></li>
<li><a href="#tab-miscellaneous" data-toggle="tab"><?php echo $ms_config_miscellaneous; ?></a></li>
</ul>
<div class="tab-content">
<!-- BEGIN GENERAL TAB -->
<div class="tab-pane active" id="tab-general">
<!-- deprecated -->
<div style="display:none" class="form-group">
<label class="col-sm-2 control-label"><span data-toggle="tooltip" title="<?php echo $ms_config_notification_email_note; ?>"><?php echo $ms_config_notification_email; ?></span></label>
<div class="col-sm-10">
<input class="form-control" size="20" type="text" name="msconf_notification_email" value="<?php echo $msconf_notification_email; ?>" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label"><span data-toggle="tooltip" title="<?php echo $ms_config_seller_validation_note; ?>"><?php echo $ms_config_seller_validation; ?></span></label>
<div class="col-sm-10">
<select class="form-control" name="msconf_seller_validation">
<option value="1" <?php if($msconf_seller_validation == 1) { ?> selected="selected" <?php } ?>><?php echo $ms_config_seller_validation_none; ?></option>
<!--<option value="2" <?php if($msconf_seller_validation == 2) { ?> selected="selected" <?php } ?>><?php echo $ms_config_seller_validation_activation; ?></option>-->
<option value="3" <?php if($msconf_seller_validation == 3) { ?> selected="selected" <?php } ?>><?php echo $ms_config_seller_validation_approval; ?></option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label"><span data-toggle="tooltip" title="<?php echo $ms_config_product_validation_note; ?>"><?php echo $ms_config_product_validation; ?></span></label>
<div class="col-sm-10">
<select class="form-control" name="msconf_product_validation">
<option value="1" <?php if($msconf_product_validation == 1) { ?> selected="selected" <?php } ?>><?php echo $ms_config_product_validation_none; ?></option>
<option value="2" <?php if($msconf_product_validation == 2) { ?> selected="selected" <?php } ?>><?php echo $ms_config_product_validation_approval; ?></option>
</select>
</div>
</div>
<!-- deprecated -->
<div style="display:none" class="form-group">
<label class="col-sm-2 control-label"><span data-toggle="tooltip" title="<?php echo $ms_config_allow_inactive_seller_products_note; ?>"><?php echo $ms_config_allow_inactive_seller_products; ?></span></label>
<div class="col-sm-10">
<label class="radio-inline"><input type="radio" name="msconf_allow_inactive_seller_products" value="1" <?php if($msconf_allow_inactive_seller_products == 1) { ?> checked="checked" <?php } ?> /><?php echo $text_yes; ?></label>
<label class="radio-inline"><input type="radio" name="msconf_allow_inactive_seller_products" value="0" <?php if($msconf_allow_inactive_seller_products == 0) { ?> checked="checked" <?php } ?> /><?php echo $text_no; ?>
</label>
</div>
</div>
<!-- deprecated -->
<div style="display:none" class="form-group">
<label class="col-sm-2 control-label"><span data-toggle="tooltip" title="<?php echo $ms_config_disable_product_after_quantity_depleted_note; ?>"><?php echo $ms_config_disable_product_after_quantity_depleted; ?></span></label>
<div class="col-sm-10">
<label class="radio-inline"><input type="radio" name="msconf_disable_product_after_quantity_depleted" value="1" <?php if($msconf_disable_product_after_quantity_depleted == 1) { ?> checked="checked" <?php } ?> /><?php echo $text_yes; ?>
</label>
<label class="radio-inline"><input type="radio" name="msconf_disable_product_after_quantity_depleted" value="0" <?php if($msconf_disable_product_after_quantity_depleted == 0) { ?> checked="checked" <?php } ?> /><?php echo $text_no; ?>
</label>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label"><span data-toggle="tooltip" title="<?php echo $ms_config_allow_relisting_note; ?>"><?php echo $ms_config_allow_relisting; ?></span></label>
<div class="col-sm-10">
<label class="radio-inline"><input type="radio" name="msconf_allow_relisting" value="1" <?php if($msconf_allow_relisting == 1) { ?> checked="checked" <?php } ?> /><?php echo $text_yes; ?>
</label>
<label class="radio-inline"><input type="radio" name="msconf_allow_relisting" value="0" <?php if($msconf_allow_relisting == 0) { ?> checked="checked" <?php } ?> /><?php echo $text_no; ?>
</label>
</div>
</div>
<!-- deprecated -->
<div style="display: none" class="form-group">
<label class="col-sm-2 control-label"><span data-toggle="tooltip" title="<?php echo $ms_config_enable_banner_note; ?>"><?php echo $ms_config_enable_banner; ?></span></label>
<div class="col-sm-10">
<label class="radio-inline"><input type="radio" name="msconf_enable_seller_banner" value="1" <?php if($this->config->get('msconf_enable_seller_banner')) { ?> checked="checked" <?php } ?> /><?php echo $text_yes; ?>
</label>
<label class="radio-inline"><input type="radio" name="msconf_enable_seller_banner" value="0" <?php if(!$this->config->get('msconf_enable_seller_banner')) { ?> checked="checked" <?php } ?> /><?php echo $text_no; ?>
</label>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label"><span data-toggle="tooltip" title="<?php echo $ms_config_seller_terms_page_note; ?>"><?php echo $ms_config_seller_terms_page; ?></span></label>
<div class="col-sm-10">
<select class="form-control" name="msconf_seller_terms_page">
<option value="0"><?php echo $text_none; ?></option>
<?php foreach ($informations as $information) { ?>
<?php if ($information['information_id'] == $msconf_seller_terms_page) { ?>
<option value="<?php echo $information['information_id']; ?>" selected="selected"><?php echo $information['title']; ?></option>
<?php } else { ?>
<option value="<?php echo $information['information_id']; ?>"><?php echo $information['title']; ?></option>
<?php } ?>
<?php } ?>
</select>
</div>
</div>