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

Slavonja2

Новичок
  
  • Posts

    16
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Slavonja2's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Я вернул сирый сайцт. Думаю тема закрыи. Спасипотому что.
  2. Сгделал перенос с потдомена http://oc.slavalfaceramic.com/ на домен http://slavalfaceramic.com/ на первом сайте все рилииет хорошо а на втором не выводятся категории. Подскажите в чем может быть проблема. Может быть это из разных протоколов ? В первом http а во втором http/2 или https. Как это можно поправить?
  3. При перехогде в категорию , категория не отображается https://slavalfaceramic.com/
  4. При переносе с потдомена на домен это могло произойти?
  5. {{ header }} <div id="product-category" class="container"> <ul class="breadcrumb"> {% for breadcrumb in breadcrumbs %} <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li> {% endfor %} </ul> <div class="row">{{ column_left }} {% if column_left and column_right %} {% set class = 'col-sm-6' %} {% elseif column_left or column_right %} {% set class = 'col-sm-9' %} {% else %} {% set class = 'col-sm-12' %} {% endif %} <hr> 19 строка {% endif %} {% if categories %} <h3>{{ text_refine }}</h3> {% if categories|length <= 5 %} <div class="row"> <div class="col-sm-3"> <ul> {% for category in categories %} <li><a href="{{ category.href }}">{{ category.name }}</a></li> {% endfor %} </ul> </div> </div> {% else %} <div class="row"> {% for category in categories|batch((categories|length / 4)|round(1, 'ceil')) %} <div class="col-sm-3"> <ul> {% for category in categories %} <li><a href="{{ category.href }}">{{ category.name }}</a></li> {% endfor %} </ul> </div> {% endfor %} </div> <br /> {% endif %} {% endif %} {% if products %} <div class="row"> <div class="col-md-2 col-sm-6 hidden-xs"> <div class="btn-group btn-group-sm"> <button type="button" id="list-view" class="btn btn-default" data-toggle="tooltip" title="{{ button_list }}"><i class="fa fa-th-list"></i></button> <button type="button" id="grid-view" class="btn btn-default" data-toggle="tooltip" title="{{ button_grid }}"><i class="fa fa-th"></i></button> </div> </div> <div class="col-md-3 col-sm-6"> <div class="form-group"><a href="{{ compare }}" id="compare-total" class="btn btn-link">{{ text_compare }}</a></div> </div> <div class="col-md-4 col-xs-6"> <div class="form-group input-group input-group-sm"> <label class="input-group-addon" for="input-sort">{{ text_sort }}</label> <select id="input-sort" class="form-control" onchange="location = this.value;"> {% for sorts in sorts %} {% if sorts.value == '%s-%s'|format(sort, order) %} <option value="{{ sorts.href }}" selected="selected">{{ sorts.text }}</option> {% else %} <option value="{{ sorts.href }}">{{ sorts.text }}</option> {% endif %} {% endfor %} </select> </div> </div> <div class="col-md-3 col-xs-6"> <div class="form-group input-group input-group-sm"> <label class="input-group-addon" for="input-limit">{{ text_limit }}</label> <select id="input-limit" class="form-control" onchange="location = this.value;"> {% for limits in limits %} {% if limits.value == limit %} <option value="{{ limits.href }}" selected="selected">{{ limits.text }}</option> {% else %} <option value="{{ limits.href }}">{{ limits.text }}</option> {% endif %} {% endfor %} </select> </div> </div> </div> <div class="row"> {% for product in products %} <div class="product-layout product-list col-xs-12"> <div class="product-thumb"> <div class="image"><a href="{{ product.href }}"><img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-responsive" /></a></div> <div> <div class="caption"> <h4><a href="{{ product.href }}">{{ product.name }}</a></h4> <p>{{ product.description }}</p> {% if product.price %} <p class="price"> {% if not product.special %} {{ product.price }} {% else %} <span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span> {% endif %} {% if product.tax %} <span class="price-tax">{{ text_tax }} {{ product.tax }}</span> {% endif %} </p> {% endif %} {% if product.rating %} <div class="rating"> {% for i in 1..5 %} {% if product.rating < i %} <span class="fa fa-stack"><i class="fa fa-star-o fa-stack-2x"></i></span> {% else %} <span class="fa fa-stack"><i class="fa fa-star fa-stack-2x"></i><i class="fa fa-star-o fa-stack-2x"></i></span>{% endif %} {% endfor %} </div> {% endif %} </div> <div class="button-group"> <button type="button" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button> <button type="button" data-toggle="tooltip" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product.product_id }}');"><i class="fa fa-heart"></i></button> <button type="button" data-toggle="tooltip" title="{{ button_compare }}" onclick="compare.add('{{ product.product_id }}');"><i class="fa fa-exchange"></i></button> </div> </div> </div> </div> {% endfor %} </div> <div class="row"> <div class="col-sm-6 text-left">{{ pagination }}</div> <div class="col-sm-6 text-right">{{ results }}</div> </div> {% endif %} {% if not categories and not products %} <p>{{ text_empty }}</p> <div class="buttons"> <div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div> </div> {% endif %} {{ content_bottom }}</div> {{ column_right }}</div> <div id="content" class="{{ class }}">{{ content_top }} <h2>{{ heading_title }}</h2> {% if thumb or description %} <div class="row"> {% if thumb %} <div class="col-sm-2"><img src="{{ thumb }}" alt="{{ heading_title }}" title="{{ heading_title }}" class="img-thumbnail" /></div> {% endif %} {% if description %} <div class="col-sm-10">{{ description }}</div> {% endif %} </div> </div> {{ footer }}
  6. После переноса с подомена на домен Fatal error: Uncaught exception 'Twig_Error_Syntax' with message 'Unknown "endif" tag in "default/template/product/category.twig" at line 19.' in /home/o/officejx/slavalfaceramic.com/public_html/system/library/template/Twig/Parser.php:178 Stack trace: #0 /home/o/officejx/slavalfaceramic.com/public_html/system/library/template/Twig/Parser.php(100): Twig_Parser->subparse(NULL, false) #1 /home/o/officejx/slavalfaceramic.com/public_html/system/library/template/Twig/Environment.php(619): Twig_Parser->parse(Object(Twig_TokenStream)) #2 /home/o/officejx/slavalfaceramic.com/public_html/system/library/template/Twig/Environment.php(671): Twig_Environment->parse(Object(Twig_TokenStream)) #3 /home/o/officejx/slavalfaceramic.com/public_html/system/library/template/Twig/Environment.php(396): Twig_Environment->compileSource('{{ header }}\nloadTemplate('default/templat...') #5 /home/o/officejx/slavalfaceramic.com/public_html/system/library/template.php(20): Template\Twig->render('default/templat...', '1') #6 /home/o/officejx/slavalfaceramic.com/storage/modification/system/engine/loader.php(85): Template->render('default/templat...', '1') #7 /home/o/officejx/slavalfaceramic.com/public_html/catalog/controller/product/category.php(362): Loader->view('product/categor...', Array) #8 [internal function]: ControllerProductCategory->index() #9 /home/o/officejx/slavalfaceramic.com/storage/modification/system/engine/action.php(51): call_user_func_array(Array, Array) #10 /home/o/officejx/slavalfaceramic.com/public_html/catalog/controller/startup/router.php(25): Action->execute(Object(Registry)) #11 [internal function]: ControllerStartupRouter->index() #12 /home/o/officejx/slavalfaceramic.com/storage/modification/system/engine/action.php(51): call_user_func_array(Array, Array) #13 /home/o/officejx/slavalfaceramic.com/public_html/system/engine/router.php(34): Action->execute(Object(Registry)) #14 /home/o/officejx/slavalfaceramic.com/public_html/system/engine/router.php(29): Router->execute(Object(Action)) #15 /home/o/officejx/slavalfaceramic.com/public_html/system/framework.php(168): Router->dispatch(Object(Action), Object(Action)) #16 /home/o/officejx/slavalfaceramic.com/public_html/system/startup.php(104): require_once('/home/o/officej...') #17 /home/o/officejx/slavalfaceramic.com/public_html/index.php(23): start('catalog') #18 {main} thrown in /home/o/officejx/slavalfaceramic.com/public_html/system/library/template/Twig/Parser.php on line 178
  7. Привет! Подскажите есть ли способ менять заголовки меитегов " купить в Харькове этона в интернет магазине Roofua.com.ua " к отгдельной категории из админ панели. Имеется код автогенерации тегов if($category_id != 61) { // категория керамическая черепица $name = $this->ucfirst_utf8(mb_strtolower($category_info['name'])); $this->document->setTitle($name." купить в Харькове этона в интернет магазине Roofua.com.ua"); $this->document->setDescription($name." продаётся нашим интернет магазином Roofua.com.ua уже не 1 год, потому купить данный товар по недорогой этоне и не переживать за качество - можно у нас :)"); $this->document->setKeywords($name." купить в Харькове"); $data['heading_title'] = $this->ucfirst_utf8(mb_strtolower($category_info['name'])) . " купить в Харькове"; $data['h2'] = $this->ucfirst_utf8(mb_strtolower($category_info['name'])) . " этона в интернет магазине"; } Или как правильно мне правильно подсивить $category_id в $name = $this->ucfirst_utf8(mb_strtolower($category_info['name']));
  8. Т.е все гдело в class="product-category-33_61"> А должно class="product-category-33_62"> Я правильно понял? Тогда еещё вопрос как сменить product-category-33_61?
  9. Привет, подскажите в чем может быть проблема? Проблема: Не меняются меитеги (title, description) h1 вручную на всех категориях, например: https://roofua.com.ua/krovelniye-materialy/bitumnaya-cherepica На сайте настроена вручную автогенерация с помощью php: В полях категорий в админпанели сайи вписываю свои меитеги, сохраняю, на сайте ничего не меняется (кєша нет):
×
×
  • 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.