Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

configurator

Newbie
  
  • Posts

    11
  • Joined

  • Last visited

About configurator

  • Birthday 12/25/1983

Technical support

  • Status
    Работаю

Information

  • Gender
    Мужчина
  • City:
    Батуми

Recent Profile Visitors

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

configurator's Achievements

Enthusiast

Enthusiast (6/14)

  • Dedicated Rare
  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

1

Reputation

  1. Необходимо увеличить показатели мобильной и декстопной версии сайта до 90+ в PageSpeed Insights. В основ Посмотреть сайт можно только написав мне в личные сообщения. Всем заранее спасибо за помощь!
  2. Нужно вывести показатели мобильной версии сайта в зеленую зону PageSpeed Insights Сайт: https://hot-n-hot.by Жду ваших предложений в личку
  3. Нужно написать модуль интеграции по существующему api между zoomos.by и ocStore 3.0. Нужно только автоматическое обновление цен от zoomos.by на ocStore. Ссылка на api: https://help.zoomos.by/export/api Пишите свои вопросы и предложения в личку.
  4. А можете подробнее написать? Например сюда (category.php): $data['products'][] = array( 'product_id' => $result['product_id'], Добавить: $data['products'][] = array( 'product_id' => $result['product_id'], 'category_id' => $result['product_categoryid'], Так?
  5. Всем привет. Стараюсь вывести атрибуты в выбранных категориях, но не могу правильно прописать условие вывода. Если пишу так, то все отлично выводиться: {% for attribute_group in product.attribute_groups %} {% for attribute in attribute_group.attribute %} {% if attribute.attribute_id in [275, 232, 71, 7, 167, 101, 215, 2, 63, 352, 240, 325, 181, 237, 228, 163, 64, 212] %} <table class="table table-bordered" style="margin-bottom: 0;"> <tbody> <tr> <td style="font-weight: 600;padding: 5px;font-size: 11px;">{{ attribute.name }}</td> <td style="background: #ff6700;color: #fff;padding: 3px;font-size: 0.8rem;text-align: center;overflow-wrap: break-word;">{{ attribute.text }}</td> </tr> </tbody> </table> {% endif %} {% endfor %} {% endfor %} Если добавляю условие вывода в нужных категориях - атрибуты не выводятся: {% for attribute_group in product.attribute_groups %} {% for attribute in attribute_group.attribute %} {% if category_id == 66 %} {% if attribute.attribute_id in [275, 232, 71, 7, 167, 101, 215, 2, 63, 352, 240, 325, 181, 237, 228, 163, 64, 212] %} <table class="table table-bordered" style="margin-bottom: 0;"> <tbody> <tr> <td style="font-weight: 600;padding: 5px;font-size: 11px;">{{ attribute.name }}</td> <td style="background: #ff6700;color: #fff;padding: 3px;font-size: 0.8rem;text-align: center;overflow-wrap: break-word;">{{ attribute.text }}</td> </tr> </tbody> </table> {% endif %} {% endif %} {% endfor %} {% endfor %} Подскажите, что я делаю не так. Не верное условие для категорий или что-то еще?
  6. Подскажите, а если нужно вывести выбранные атрибуты только в определенной категории, какую функцию прописать? Что-то вроде этого: {% if category.category_id == '66' %} ?
  7. Был бы вам признателен, если бы вы подробней описали свой ответ
  8. Всем здравствуйте. Может кто подскажет, как вывести в категории закупочную цену? Вывожу по аналогии со стандартной ценой в category.php: $price = $this->currency->format($this->tax->calculate($result['price'], $result['tax_class_id'], $this->config->get('config_tax'))); // закупочная цена $cost = $this->currency->format($this->tax->calculate($result['cost'], $result['tax_class_id'], $this->config->get('config_tax'))); Плюс в этот массив "$data['products'][] = array(" добавляю 'cost' => $cost, На сайте в category.tpl вывожу в нужном месте: </br><span style="font-size:11px; color:#888 margin-left: 6%;">(<?php echo $product['cost']; ?>&nbsp;рекомендуемая цена)</span> В базе данных продукта поле "cost" есть. В итоге цена 0.00. Что я делаю не так?
  9. Нужно написать модуль лизинга для версии 2.3. Документация тут: https://docs.google.com/document/d/1iaNM6rGT2fsuINcinflnEvjutgsZAMre5OixjUemiLg/edit#
×
×
  • 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.