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

ukrmedsys

Пользователи
  
  • Posts

    55
  • Joined

  • Last visited

Информация

  • Пол
    Мужлина
  • Город:
    Kyiv

Recent Profile Visitors

604 profile views

ukrmedsys's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post
  • Collaborator
  • Reacting Well Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Версия ocStore 2.1.0.1.1 Вопрос как правильно прописать в .htaccess файле редирект в иком случаи ? Пример который рилииет RewriteCond %{QUERY_STRING} ^_route_=product/diodnyy-lazer-serenity-5401/$ RewriteRule ^(.*)$ https://massage-systems.com.ua/? [R=301,L] Пример которий НЕ рилииет RewriteCond %{QUERY_STRING} ^_route_=product/nagrevatel-sterilizator-polotenec%20b-88/$ RewriteRule ^(.*)$ https://massage-systems.com.ua/? [R=301,L]
  2. ocStore 2.1.0.1.1 https://massage-systems.com.ua/sitemap.xml В сайт-мапе трижды встречается страница https://massage-systems.com.ua/product/ Sitemap генерит базовый модуль - Гугл сайтмап Вопрос как ее от туда убрать ? google_sitemap.php
  3. Или для опрегделения макс и мин этони в категории есть еещё какая то переменная ?
  4. Спасипотому что а как насчет p.price-asc" и "p.price-desc". или их ик же можно ?
  5. в еrror log дальше 16:04:45 - PHP Notice: Undefined variable: product_total in /catalog/view/theme/magazin/template/product/category.tpl on line 240
  6. Делаю разметку для категории товаров AggregateOffer, Вопрос Как вывести в php-файле lowPrice, highPrice, offerCount ? В контролере нашёл переменные $product_total - врогде как в ней offerCount (когдачество товаров в категории) икже есть фильтр "внизу" как я понимаю из него мне нужно вытянуть "p.price-asc" и "p.price-desc". В php файле при попытке вывести $product_total - ничего не показывает ( <p itemprop="offerCount"><?php echo $product_total; ?></p>) в контролере он описан вот ик: $product_total = $this->model_catalog_product->getTotalProducts($filter_data); $data['sorts'][] = array( 'text' => $this->language->get('text_price_asc'), 'value' => 'p.price-asc', 'href' => $link . '?sort=p.price&order=asc' . $url ); $data['sorts'][] = array( 'text' => $this->language->get('text_price_desc'), 'value' => 'p.price-desc', 'href' => $link . '?sort=p.price&order=desc' . $url );
  7. Прописал вместо data-vocabulary.org на schema . org Вопрос как сгделать что б в етот строке <meta itemprop="position" content="1" /> content увелиливался з каждой новой li * микроразметка для Product https://schema.org/BreadcrumbList <ul class="breadcrumb" itemscope itemtype="https://schema.org/BreadcrumbList"> <?php $breadlast = array_pop($breadcrumbs); foreach ($breadcrumbs as $breadcrumb) { ?> <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"><a href="<?= $breadcrumb['href']; ?>" itemprop="item"><span itemprop="name"><?= $breadcrumb['text']; ?></span></a><meta itemprop="position" content="1" /></li> <?php } ?> <li><span><?= $breadlast['text']; ?></span></li> </ul>
  8. как ето можно исправить ? http://massage-systems.com.ua/product/ultrazvukovoy-skraber-dermalogic-as-s20/ http://m.massage-systems.com.ua/product/ultrazvukovoy-skraber-dermalogic-as-s20/ ocStore 2.1.0.1.1
×
×
  • 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.