-
Публікації
23 -
З нами
-
Відвідування
Інформація
-
Стать
Мужчина
Відвідувачі профілю
1 354 перегляди профілю
vebmister's Achievements
-
Вопрос решен, перерыл половину сайта, оказалось кто-то обернул тегами текст в языковом файле.
- 2 107 відповідей
-
- микроразметка
- микроданные
- (і ще 13)
-
Здравствуйте. Подскажите пожалуйста. Поставили модуль, все ок, но при проверке валидации есть ошибка http://joxi.ru/12M44BQtbaodmJ http://joxi.ru/J2byy95uOpR3m6 Я предполагаю, что проблема в классе, но не могу найти где формируется этот сам шаблон для вывода или где убрать этот вывод класса. Где это может быть? Заранее спасибо за ответ.
- 2 107 відповідей
-
- микроразметка
- микроданные
- (і ще 13)
-
Здравствуйте. На ОСstore 1.5.5.2 Отлично работает. Подскажите пожалуйста, как поменять местами вывод информации в блоке "Способ доставки" Т.е сейчас Фиксированная стоимость доставки Доставка почтой России А я хочу поменять местами. Например так: Доставка почтой России Фиксированная стоимость доставки Заранее спасибо за ответ.
-
Какой модуль используете? Какая версия OpenCart ? Ранее все было ок или впервые делаете импорт? Другие модули пробовали?
-
Здравствуйте. Подскажите пожалуйста. Есть 3 группы покупателей: 1. Демо 2. Демо на сутки 3. Полный доступ Как можно ограничить доступ к просмотру цен, 3 разным группам? Например, 1 группе вообще не показывать, 2 только на сутки, 3 на постоянной основе. Возможно есть готовое решение, буду очень признателен. Заранее спасибо за ответ и приятного дня
-
Найдите в файле карточки товара /catalog/view/theme/Ваша тема/template/product <?php echo $text_price; ?> окружите ее дивом и задайте те стили которые Ваша душа пожелает Тоже самое сделайте с <?php echo $price; ?>
-
Рекомендую для начала сделать склейку с www или без. У Вас сайт доступен по 2 адресам www.trosti.com.ua и trosti.com.ua Попробуйте в панель вебмастерса добавить сайт без www
-
Сайт проиндексирован, как вижу 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)
-
Здравствуйте друзья. Помогите пожалуйста с решением следующей проблемы. Хочу в списке товаров в категории вывести количество бонусных балов. Если я правильно понимаю, то логика примерно такова 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']; Возможно где-то что-то делаю не так? Заранее благодарю за помощь
-
Добавил, кеш обновил, к сожалению ничего не изменилось. Только до этого товары добавлялись в корзину, сейчас и это не происходит
-
Здравствуйте. Прошу помощи в интеграции плагина под свой шаблон Кнопки в разделах, товарах, поменялись без проблем, но вот в нестандартных модулях не поменялись Проблема в чем: На главной странице есть модуль который выводит в табах товары. Так вот не получается подружить этот модуль с плагином. Демо тема _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 Заранее благодарю за помощь
-
Здравствуйте. Нужен специалист который сможет наполнить сайт с помощью модуля "Автоматическая обработка прайс-листов" Есть 2 сайта поставщиков, которые отдают прайсы в .xls и .csv форматах. Нужно настроить и выполнить импорт. Остальные детали при общении Контакты для связи : ЛС. Skype: vebmister icq: 403 754 ноль 66 Указывайте пожалуйста сразу примерную цену за работу.
-
Мне очень жаль Вас. У вас мания величия. Ваш флуд в теме не уместен.