Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

vebmister

Новичок
  
  • Posts

    23
  • Joined

  • Last visited

Информация

  • Пол
    Мужлина

Recent Profile Visitors

1,088 profile views

vebmister's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Здравствуйте. Подскажите пожалуйси. Посивили модуль, все ок, но при проверке валидации есть ошибка http://joxi.ru/12M44BQtbaodmJ http://joxi.ru/J2byy95uOpR3m6 Я предполагаю, что проблема в классе, но не могу найти ггде формируется этот сам шаблон для вывода или ггде убрать этот вывод класса. Ггде это может быть? Заранее спасипотому что за ответ.
  2. Здравствуйте. На ОСstore 1.5.5.2 Отлично рилииет. Подскажите пожалуйси, как поменять месими вывод информации в блоке "Способ досивки" Т.е сейчас Фиксированная стоимость досивки Досивка почтот России А я хочу поменять месими. Например ик: Досивка почтот России Фиксированная стоимость досивки Заранее спасипотому что за ответ.
  3. Какой модуль используете? Какая версия OpenCart ? Ранее все было ок или впервые гделаете импорт? Другие модули пропотому чтовали?
  4. Здравствуйте. Подскажите пожалуйси. Есть 3 группы покупателей: 1. Демо 2. Демо на сутки 3. Полный доступ Как можно огранилить доступ к просмотру этон, 3 разным группам? Например, 1 группе вообещё не показывать, 2 только на сутки, 3 на постоянной основе. Возможно есть готовое решение, буду очень признателен. Заранее спасипотому что за ответ и приятного дня
  5. Т.е картинка в оригинно у Вас 240*200 и после загрузки ей добавляется белый фон?
  6. Найдите в файле карточки товара /catalog/view/theme/Ваша тема/template/product <?php echo $text_price; ?> окружите ее дивом и задайте те стили которые Ваша душа пожелает Тоже самое сгделайте с <?php echo $price; ?>
  7. Рекомендую для начала сгделать склейку с www или без. У Вас сайт доступен по 2 адресам www.trosti.com.ua и trosti.com.ua Попробуйте в панель вебмастерса добавить сайт без www
  8. Сайт проингдексирован, как вижу https://www.google.com/search?hl=en&q=site:trosti.com.ua&btnG=Search&sei=oHspU8-jA8uAywOHtoHoDw&gbv=2 About 44 results (0.17 seconds)
  9. Здравствуйте друзья. Помогите пожалуйси с решением следуюещёй проблемы. Хочу в списке товаров в категории вывести когдачество потому чтонусных балов. Если я правильно понимаю, то логика примерно икова 1. Взять переменную которая отвечает за вывод баллов в карточке товара product.tpl и добавить в category.tpl На на практике /catalog/view/theme/мой шаблон/template/product код с product.tpl <?php if ($reward) { ?> <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br /> <?php } ?> всивил в category.tpl 2. добавить переменную с контролера product.php в category.php к сожнонию с этим возникла сложность в product.php нашел вот икой код. Но незнаю как его грамотно всивить в category.php $this->data['text_reward'] = $this->language->get('text_reward'); $this->data['reward'] = $product_info['reward']; Возможно ггде-то что-то гделаю не ик? Заранее благодарю за помощь
  10. Добавил, кеш обновил, к сожнонию ничего не изменилось. Только до этого товары добавлялись в корзину, сейчас и это не происходит
  11. Здравствуйте. Прошу помощи в интеграции плагина под свой шаблон Кнопки в разгделах, товарах, поменялись без проблем, но вот в несиндартных модулях не поменялись Проблема в чем: На главной страниэто есть модуль который выводит в ибах товары. Да вот не получается подружить этот модуль с плагином. Демо тема _http://www.pavothemes.com/demo/?theme=pav_fashion (блок LATEST BEST SELLER SPECIAL ) код модуля producttabs.tpl <div class="cart"> <i class=" fa fa-shopping-cart"></i> <input type="button" value="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button" /> </div> <div class="wishlist-compare"> <a class="wishlist fa fa-heart" onclick="addToWishList('<?php echo $product['product_id']; ?>');" title="<?php echo $this->language->get("button_wishlist"); ?>" ><span><?php echo $this->language->get("button_wishlist"); ?></span></a> <a class="compare fa fa-retweet" onclick="addToCompare('<?php echo $product['product_id']; ?>');" title="<?php echo $this->language->get("button_compare"); ?>" ><span><?php echo $this->language->get("button_compare"); ?></span></a> </div> Код контроллера (незнаю какой именно блок взять, потому укажу полностью код pavproducttabs.php) <?php /****************************************************** * @package Pav Product Tabs module for Opencart 1.5.x * @version 1.0 * @author http://www.pavothemes.com * @copyright Copyright (C) Feb 2012 PavoThemes.com <@emai:[email protected]>.All rights reserved. * @license GNU General Public License version 2 *******************************************************/ class ControllerModulePavproducttabs extends Controller { protected function index($setting) { static $module = 0; $this->load->model('catalog/product'); $this->load->model('tool/image'); $this->language->load('module/pavproducttabs'); //fix colorbox for quickview $this->document->addStyle('catalog/view/javascript/jquery/colorbox/colorbox.css'); $this->document->addScript('catalog/view/javascript/jquery/colorbox/jquery.colorbox-min.js'); $this->data['button_cart'] = $this->language->get('button_cart'); if (file_exists('catalog/view/theme/' . $this->config->get('config_template') . '/stylesheet/pavproducttabs.css')) { $this->document->addStyle('catalog/view/theme/' . $this->config->get('config_template') . '/stylesheet/pavproducttabs.css'); } else { $this->document->addStyle('catalog/view/theme/default/stylesheet/pavproducttabs.css'); } $default = array( 'latest' => 1, 'limit' => 9 ); $this->data['width'] = $setting['width']; $this->data['height'] = $setting['height']; $this->data['cols'] = (int)$setting['cols']; $this->data['itemsperpage'] = (int)$setting['itemsperpage']; $this->data['module_class'] = $setting['module_class']; $this->data['tabs'] = array(); $data = array( 'sort' => 'p.date_added', 'order' => 'DESC', 'start' => 0, 'limit' => $setting['limit'] ); $setting['tabs'] = array_flip( $setting['tabs'] ); $products = array(); $this->data['heading_title'] =''; $tabs = array( 'latest' => array(), 'featured' => array( ), 'bestseller' => array(), 'special' => array(), 'mostviewed' => array() ); if(isset($setting['tabs']['featured'])){ $tabs['featured'] = $this->getProducts( $this->getFeatured($data), $setting ); } if( isset($setting['tabs']['latest']) ){ $tabs['latest'] = $this->getProducts( $this->model_catalog_product->getProducts( $data ), $setting ); } if( isset($setting['tabs']['bestseller']) ){ $tabs['bestseller'] = $this->getProducts( $this->model_catalog_product->getBestSellerProducts( $data['limit'] ), $setting ); } if( isset($setting['tabs']['special']) ){ $tabs['special'] = $this->getProducts( $this->model_catalog_product->getProductSpecials( $data ), $setting ); } if( isset($setting['tabs']['mostviewed']) ){ $data['sort'] = 'p.viewed'; $tabs['mostviewed'] = $this->getProducts( $this->model_catalog_product->getProducts( $data ), $setting ); } $this->data['module_description'] = isset($setting['description'][$this->config->get('config_language_id')])?$setting['description'][$this->config->get('config_language_id')]:""; $this->data['module_description'] = (html_entity_decode($this->data['module_description'], ENT_QUOTES, 'UTF-8')); $this->data['tabs'] = $tabs; $this->data['module'] = $module++; if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/pavproducttabs.tpl')) { $this->template = $this->config->get('config_template') . '/template/module/pavproducttabs.tpl'; } else { $this->template = 'default/template/module/pavproducttabs.tpl'; } $this->render(); } private function getFeatured($option = array()){ $products = explode(',', $this->config->get('featured_product')); $return = array(); if(!empty($products)){ $limit = (isset($option['limit']) && !empty($option['limit']))?$option['limit']: 5; $products = array_slice($products, 0, (int)$limit); foreach ($products as $product_id) { $product_info = $this->model_catalog_product->getProduct($product_id); $return[] = $product_info; } } return $return; } private function getProducts( $results, $setting ){ $products = array(); $themeConfig = $this->config->get('themecontrol'); $swap = isset($themeConfig['show_swap_image'])?$themeConfig['show_swap_image']:0; foreach ($results as $result) { if ($result['image']) { $image = $this->model_tool_image->resize($result['image'], $setting['width'], $setting['height']); // Image Attribute for product if( $swap ){ $product_images = $this->model_catalog_product->getProductImages($result['product_id']); if(isset($product_images) && !empty($product_images)) { $thumb2 = $this->model_tool_image->resize($product_images[0]['image'], $setting['width'], $setting['height']); } } } else { $image = false; } if (($this->config->get('config_customer_price') && $this->customer->isLogged()) || !$this->config->get('config_customer_price')) { $price = $this->currency->format($this->tax->calculate($result['price'], $result['tax_class_id'], $this->config->get('config_tax'))); } else { $price = false; } if ((float)$result['special']) { $special = $this->currency->format($this->tax->calculate($result['special'], $result['tax_class_id'], $this->config->get('config_tax'))); } else { $special = false; } if ($this->config->get('config_review_status')) { $rating = $result['rating']; } else { $rating = false; } // $product_images = $this->model_catalog_product->getProductImages($result['product_id']); $products[] = array( 'product_id' => $result['product_id'], 'thumb' => $image, 'name' => $result['name'], 'price' => $price, 'special' => $special, 'rating' => $rating, 'description'=> (html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 'reviews' => sprintf($this->language->get('text_reviews'), (int)$result['reviews']), 'href' => $this->url->link('product/product', 'product_id=' . $result['product_id']), 'thumb2' => isset($thumb2)?$thumb2:'', ); } return $products; } } ?> Помогите пожалуйси добавить нужные параметры в файл OpenRefLink.xml Заранее благодарю за помощь
  12. Здравствуйте. Нужен специалист который сможет наполнить сайт с помощью модуля "Автоматическая обрилитка прайс-листов" Есть 2 сайи посивщиков, которые отдают прайсы в .xls и .csv формаих. Нужно настроить и выполнить импорт. Осильные гдеили при обещёнии Коникты для связи : ЛС. Skype: vebmister icq: 403 754 ноль 66 Указывайте пожалуйси сразу примерную этону за рилиту.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.