Hi,
Find in file /admin/controller/catalog/product.php
and comment it:
next find in file /admin/view/template/catalog/product_form.twig
and replace with:
It should work...
sorry ne po ruskij neimeju ruskoj klaviatury.
Cheers
Find in file /admin/controller/catalog/product.php
Code: Select all
if ((utf8_strlen($this->request->post['model']) < 1) || (utf8_strlen($this->request->post['model']) > 64)) {
$this->error['model'] = $this->language->get('error_model');
}
Code: Select all
/*
if ((utf8_strlen($this->request->post['model']) < 1) || (utf8_strlen($this->request->post['model']) > 64)) {
$this->error['model'] = $this->language->get('error_model');
}
*/
Code: Select all
<div class="tab-pane" id="tab-data">
<div class="form-group required">
<label class="col-sm-2 control-label" for="input-model">{{ entry_model }}</label>
<div class="col-sm-10">
<input type="text" name="model" value="{{ model }}" placeholder="{{ entry_model }}" id="input-model" class="form-control"/>
{% if error_model %}
<div class="text-danger">{{ error_model }}</div>
{% endif %}</div>
</div>
Code: Select all
<div class="tab-pane" id="tab-data">
<div class="form-group">
<label class="col-sm-2 control-label" for="input-model">{{ entry_model }}</label>
<div class="col-sm-10">
<input type="text" name="model" value="{{ model }}" placeholder="{{ entry_model }}" id="input-model" class="form-control"/>
</div>
sorry ne po ruskij neimeju ruskoj klaviatury.
Cheers
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Who is online
Users browsing this forum: No registered users and 62 guests