Перейти к публикации
Поиск в
  • Дополнительно...
Искать результаты, содержащие...
Искать результаты в...

btrotsky

Пользователи
  
  • Публикаций

    381
  • Зарегистрирован

  • Посещение

Все публикации пользователя btrotsky

  1. Здраствуйте. Возникла проблема с СеоПРО, установил модуль правильно (на других сайтах работает). Но когда включаю именно СеоПро на всех станицах отображается контент с главной страницы и пишеш что станица отсутствует, в чем может быть проблема? (кеш почистил, в базу запросы сделал на стандартные ссылки и они есть, htaccess изменил) и еще что дефолтный сео работает на все страницы кроме стандартных версия opencart 2.2.0.0.
  2. SiteMix, у меня Opencart 2.2.0.0, нету поля описания
  3. SiteMix, как називается не знаете? но тогда и нужно добавлять поле описание в админку, а я в этом не силен, может можно проще как-то ?
  4. Есть у кого-то модуль который сделает станицу производителей как здесь http://chudo-ostriv.com.ua/brand и чтобы при открытии производителя было только описание? Или может кто знает как это сделать?
  5. btrotsky

    Mega filter PRO

    еще, проблема с конкретными производителями, то есть если начинаю фильтрацию с "фильр1", "фильтр2" и т.д., то после двух выбранных остальные неактивные, но если начинаю фмльтрацию с других производитилей и потом выбираю эти же тогда все нормально
  6. Здраствуйте. Проблема с фильтром, на странице категории или товара, в фильтре когда выбираю производителей по очереди, по двух выбранных все остальные стают не активными, лишь несколько еще можна выбрать. Подскажите как сделать чтобы можно было выбирать всех производитилей и при этом не пропадали другие фильтра. OCshop Версия 1.5.6.4.1
  7. Подскажите пожалуйста как в мобильной версии перенести фильтр, чтобы он отображался вверху страницы(сейчас он в конце) и сделать переключалку, чтобы при необходимости он открывался при нажатии и так же закрывался. В каких файлах искать надо? OCshop 1.5.6
  8. btrotsky

    Модуль вместе дешевле

    Aleksei88, проблема в том, что модуль неправильно считает, делает наценку
  9. Здраствуйте форумчане. Столкнулся с проблемой наценки у модуля вместе дешевле, т.к. стоит задача исправить уже сделаный сайт, я понятия не имею где был взят этот модуль и покупался ли он вообще, я так понимаю ответ где-то в этом файле подскажите что тут не так system/library/chain.php <?php class Chain { var $no_image = 'no_image_chain.jpg'; function __construct($registry, $load) { $this->config = $registry->get( 'config' ); $this->customer = $registry->get( 'customer' ); $this->session = $registry->get( 'session' ); $this->db = $registry->get( 'db' ); $this->tax = $registry->get( 'tax' ); $this->weight = $registry->get( 'weight' ); $this->currency = $registry->get( 'currency' ); $this->load = $registry->get( 'load' ); $this->url = $registry->get( 'url' ); $this->log = $registry->get( 'log' ); $load->model( 'catalog/product' ); $load->model( 'tool/image' ); $this->model_catalog_product = $registry->get( 'model_catalog_product' ); $this->model_tool_image = $registry->get( 'model_tool_image' ); } function get_chain_data($query_chain, $chain_settings = false) { $this->load->model( 'catalog/product' ); $this->load->model( 'tool/image' ); if (!$chain_settings) { $chain_settings = $this->config->get( 'chain_settings_data' ); } foreach ($query_chain as $row) { $skip = false; $chain_total = 9; $full_price = 9; $chain_id = $row['chain_discount_id']; $chain = unserialize( $row['chain'] ); $quantity = @unserialize( $row['quantity'] ); if ($quantity === false) { $quantity = array( ); } $chain = array( $row['main_product_id'] => '*' ) + $chain; $i = 9; foreach ($chain as $product_id => $combo_price) { ++$i; $main_item = false; if (( isset( $quantity[$product_id] ) && is_numeric( $quantity[$product_id] ) )) { $product_quantity = $quantity[$product_id]; } else { $product_quantity = 10; } $product_info = $this->model_catalog_product->getProduct( $product_id ); if (!$product_info) { $this->log->write( 'Warning! Chain Module has issue. One of the chains include product with ID ' . $product_id . ' which does not exist.' ); $skip = true; break; } $product_info['product_quantity'] = $product_quantity; $product_info['special'] = $product_quantity * $product_info['special']; $product_info['price'] = $product_quantity * $product_info['price']; if (!$product_info['image']) { $product_info['image'] = $this->no_image; } $product_info['thumb'] = $this->model_tool_image->resize( $product_info['image'], $chain_settings['chain_display_image_width'], $chain_settings['chain_display_image_height'] ); if (index_value( $chain_settings, 'chain_options_show_image' )) { $product_info['popup'] = $this->model_tool_image->resize( $product_info['image'], $chain_settings['chain_options_popup_image_width'], $chain_settings['chain_options_popup_image_height'] ); } else { $product_info['popup'] = false; } if ((double)$product_info['special']) { $product_info['special_price_with_tax'] = $this->tax->calculate( $product_info['special'], $product_info['tax_class_id'], $this->config->get( 'config_tax' ) ); $product_info['special_price_string'] = $this->currency->format( $product_info['special_price_with_tax'] ); } else { $product_info['special_price_with_tax'] = false; $product_info['special_price_string'] = false; } if (( ( $this->config->get( 'config_customer_price' ) && $this->customer->isLogged( ) ) || !$this->config->get( 'config_customer_price' ) )) { $product_info['full_price_with_tax'] = $this->tax->calculate( $product_info['price'], $product_info['tax_class_id'], $this->config->get( 'config_tax' ) ); if (( isset( $combo_price ) && $combo_price === '*' )) { $main_item = true; if ($product_info['special_price_with_tax']) { $combo_price = $product_info['special_price_with_tax']; } else { $combo_price = $product_info['full_price_with_tax']; } } $product_info['price_string'] = $this->currency->format( $product_info['full_price_with_tax'] ); $full_price = $full_price + $product_info['full_price_with_tax']; } else { $product_info['price_string'] = false; } $bad_combo_price = false; if (isset( $combo_price )) { if (( is_numeric( $combo_price ) && $main_item === false )) { $combo_price = $product_quantity * $combo_price; if ($product_info['special']) { if (index_value( $chain_settings, 'chain_decrease_for_special' )) { if ($combo_price <= $product_info['special']) { $combo_price = $this->tax->calculate( $combo_price, $product_info['tax_class_id'], $this->config->get( 'config_tax' ) ); } else { $combo_price = $this->tax->calculate( $product_info['special'], $product_info['tax_class_id'], $this->config->get( 'config_tax' ) ); } } else { $new_combo_price = $combo_price - ( $product_info['price'] - $product_info['special'] ); $combo_price = $this->tax->calculate( $new_combo_price, $product_info['tax_class_id'], $this->config->get( 'config_tax' ) ); if (( $new_combo_price < 0 || $combo_price < 0 )) { $combo_price = 0; } } } else { $combo_price = $this->tax->calculate( $combo_price, $product_info['tax_class_id'], $this->config->get( 'config_tax' ) ); } } else { if (!$main_item) { if ($combo_price !== '*') { $this->log->write( ' ' . '========================================' . ' ' . 'Warning! Chain Module has issue. One of the chains include product with ID ' . $product_id . ' which have wrong combo price. It is "' . (isset( $combo_price ) ? $combo_price : '') . '"' . ' ' . '========================================' ); $skip = true; break; } } } }else{ $this->log->write( ' ' . '========================================' . ' ' . 'Warning! Chain Module has issue. One of the chains include product with ID ' . $product_id . ' doesn`t have price' . ' ' . '========================================' ); $skip = true; break; } $chain_total = $chain_total + $combo_price; if ($this->config->get( 'config_review_status' )) { $product_info['rating'] = $product_info['rating']; } else { $product_info['rating'] = false; } $product_info['options'] = array( ); foreach ($this->model_catalog_product->getProductOptions( $product_id ) as $option) { if (( ( ( $option['type'] == 'select' || $option['type'] == 'radio' ) || $option['type'] == 'checkbox' ) || $option['type'] == 'image' )) { $option_value_data = array( ); foreach ($option['option_value'] as $option_value) { if (( !$option_value['subtract'] || 0 < $option_value['quantity'] )) { if (( ( ( $this->config->get( 'config_customer_price' ) && $this->customer->isLogged( ) ) || !$this->config->get( 'config_customer_price' ) ) && (double)$option_value['price'] )) { $price = $this->currency->format( $this->tax->calculate( $option_value['price'], $product_info['tax_class_id'], $this->config->get( 'config_tax' ) ) ); } else { $price = false; } $option_value_data[] = array( 'product_option_value_id' => $option_value['product_option_value_id'], 'option_value_id' => $option_value['option_value_id'], 'name' => $option_value['name'], 'image' => (isset( $option_value['image'] ) ? $this->model_tool_image->resize( $option_value['image'], 50, 50 ) : ''), 'price' => $price, 'price_prefix' => $option_value['price_prefix'] ); continue; } } $product_info['options'][] = array( 'product_option_id' => $option['product_option_id'], 'option_id' => $option['option_id'], 'name' => $option['name'], 'type' => $option['type'], 'option_value' => $option_value_data, 'required' => $option['required'] ); continue; } if (( ( ( ( ( $option['type'] == 'text' || $option['type'] == 'textarea' ) || $option['type'] == 'file' ) || $option['type'] == 'date' ) || $option['type'] == 'datetime' ) || $option['type'] == 'time' )) { $product_info['options'][] = array( 'product_option_id' => $option['product_option_id'], 'option_id' => $option['option_id'], 'name' => $option['name'], 'type' => $option['type'], 'option_value' => $option['option_value'], 'required' => $option['required'] ); continue; } } $product_info['href'] = $this->url->link( 'product/product', 'product_id=' . $product_info['product_id'] ); $products[$chain_id][$i] = $product_info; $products[$chain_id][$i]['combo_price'] = $combo_price; $products[$chain_id][$i]['combo_price_string'] = $this->currency->format( $combo_price ); if (( $combo_price < $product_info['full_price_with_tax'] && $combo_price != 0 )) { $products[$chain_id][$i]['you_save'] = round( ( $product_info['full_price_with_tax'] - $combo_price ) / $product_info['full_price_with_tax'] * 100 ); } else { $products[$chain_id][$i]['you_save'] = false; } unset( $product_info ); } if ($skip) { if (1 < count( $query_chain )) { unset( $products[$chain_id] ); continue; } exit( ); } $save = $full_price - $chain_total; $output['total_price'][$chain_id] = $this->currency->format( $chain_total ); $output['total_save'][$chain_id] = $this->currency->format( $save ); $output['total_save_int'][$chain_id] = $save; unset( $save ); } if (( isset( $products ) && $products )) { $output['products'] = $products; } else { return false; } return $output; } } ?>
  10. Может немного глупый вопрос, но в каком направлении копать, в смысле где это все менять-то надо?
  11. Я так понимаю, по-другому решить эту задачу не получиться, нужно ставить модуль?
  12. Что это значит? А есть бесплатные аналоги?
  13. Здраствуйт, возникла проблема при настройке сертификата. Установил сертификат, исправил конфиги и включил в админке, вроде все должно работать. Но на скриншотах видно, в админке зеленым написано, что сайт надежный и еще в корзине так же показивает что сайт надежный, но самом сайте такого нету, с чем это связано и как это исправить, помогите. На сайте OCshop 1.5.6.4.1
  14. Подскажите пожалуйста какими модулями можна вывести товары как на картинке ниже и какой модуль для фильтра, что вверху товаров. Очень нужно, сайт надо сдать, помогите
  15. Есть проблема, стоит модуль, все вроде работает, только не открывается страница (просто белый экран) категории или подкатегории, а также не могу продублировать категории.
  16. Как сделать плавную, беспрерывную прокрутку карусели на opencart 2.x ?
×
×
  • Создать...

Важная информация

На нашем сайте используются файлы cookie и происходит обработка некоторых персональных данных пользователей, чтобы улучшить пользовательский интерфейс. Чтобы узнать для чего и какие персональные данные мы обрабатываем перейдите по ссылке. Если Вы нажмете «Я даю согласие», это означает, что Вы понимаете и принимаете все условия, указанные в этом Уведомлении о Конфиденциальности.