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

Leaderboard

Popular Content

Showing content with the highest reputation on 01/02/2025 in all areas

  1. Друзі, вітаємо з Новим 2025 роком та Різдвяними святами 🎉 Цей рік був досить складним для всіх українців. Ми й досі щодня стикаємося з новими викликами. Але, як показує час, вони роблять нас тільки міцніше та сильніше. Наша сила у єднанні, довірі та підтримці. І ми щиро дякуємо кожному з вас, що залишаєтеся з нами, ділитеся досвідом, допомагаєте один одному в чаті. Нехай 2025 рік стане для вас роком релізів без багів, апдейтів без фейлів, і клієнтів, які завжди розуміють різницю між «швидко» і «якісно». Хай ваш код компілюється з першого разу, дедлайни не будуть на вчора, а сервери працюють без «503». Нехай у вас завжди буде натхнення, купа нових ідей та сили їх реалізувати. Дякуємо кожному, хто наближає нашу перемогу 💙💛 Віримо в ЗСУ та продовжуємо працювати.
    5 points
  2. краще пізно, ніж ніколи Так, додається, перевірив. Але взяв Про версію "HPMrr PRO". Звичайну не пробував, бо треба виводити декілька товарів з групи в категорію.
    1 point
    Якщо модуль видає помилку Unknown: Required parameter $dirname follows optional parameter $essense in ...... це пов'язане з тим що у вас php 8 який вважає пимилками те що у php 7 було коректним. Для вирішення цієї проблеми у вас є 2 шляхи: 1) перейти на php 7 2) у файлі /admin/controller/extension/module/nix.php знайти таку строчку: public function helperGetImage($url, $index, $essense = 'products', $dirname) { і замінити на public function helperGetImage($url, $index, $essense = 'products', $dirname = null ) {
    1 point
  3. Данный модуль даёт 404 ошибку при попытке авторизации именно через google используя браузер firefox . И автор отказывается устранять проблемы. Модуль очень глючный
    1 point
  4. там проблема в зовсім іншому $product_data = [ 'product_id' => $result['product_id'], 'name' => $result['name'], 'description' => $description, 'thumb' => $image, 'price' => $price, 'special' => $special, 'tax' => $tax, 'minimum' => $result['minimum'] > 0 ? $result['minimum'] : 1, 'rating' => $result['rating'], 'href' => $this->url->link('product/product', 'language=' . $this->config->get('config_language') . '&product_id=' . $result['product_id'] . $url) ]; $data['products'][] = $this->load->controller('product/thumb', $product_data); Ідея передавати product_id у контролер, а в ньому вже getProduct, краще ніж у моделі getProducts Або зовсім не $product_data, а краще увесь $result без усяких попередніх змін, типу цього $description = trim(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8'))); if (oc_strlen($description) > $this->config->get('config_product_description_length')) { $description = oc_substr($description, 0, $this->config->get('config_product_description_length')) . '..'; } if (is_file(DIR_IMAGE . html_entity_decode($result['image'], ENT_QUOTES, 'UTF-8'))) { $image = $this->model_tool_image->resize(html_entity_decode($result['image'], ENT_QUOTES, 'UTF-8'), $this->config->get('config_image_product_width'), $this->config->get('config_image_product_height')); } else { $image = $this->model_tool_image->resize('placeholder.png', $this->config->get('config_image_product_width'), $this->config->get('config_image_product_height')); } if ($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')), $this->session->data['currency']); } 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')), $this->session->data['currency']); } else { $special = false; } if ($this->config->get('config_tax')) { $tax = $this->currency->format((float)$result['special'] ? $result['special'] : $result['price'], $this->session->data['currency']); } else { $tax = false; }
    1 point
Guest
×
  • 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.