Пошук по сайту
Результати пошуку за тегами 'ошибка opencart'.
Знайдено 2 результата
-
При входе в админку ocstore 2.3 в карточке товара пишет вверху такую ошибку http://prntscr.com/oaw32i На самом сайте при нажатии на некоторые карточки товара показывало белый лист на странице, теперь страница грузит обрываясь сразу после описания товара (т.е. нет футера) Автор шаблона отписал, что ошибка с каким-то модулем или в описании товаров, нужно описания товаров пересохранить, возможно те которые с видео. (Товары грузились часть через АОП, часть была на сайте после переноса со старой версии) Нужно определить и решить проблему Прошу писать стоимость решения вопроса в л.с.
- 1 відповідь
-
- оптимизация
- ошибка
- (і ще 7)
-
Warning: Invalid argument supplied for foreach() in /home/icrediti/public_html/ozama.ru/catalog/controller/module/product_tab.php on line 34 вот такая ошибка вылезла foreach ($latest_results as $result) { if ($result['image']) { $image = $this->model_tool_image->resize($result['image'], $setting['image_width'], $setting['image_height']); } else { $image = $this->model_tool_image->resize('no_image.jpg', $setting['image_width'], $setting['image_height']); } 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; } $this->data['latest_products'][] = array( 'product_id' => $result['product_id'], 'thumb' => $image, 'name' => $result['name'], 'price' => $price, 'special' => $special, 'saving' => ((float)$result['price'] ? round((($result['price'] - $result['special'])/$result['price'])*100, 0) : 0), 'rating' => $rating, 'reviews' => sprintf($this->language->get('text_reviews'), (int)$result['reviews']), 'href' => $this->url->link('product/product', 'product_id=' . $result['product_id']), ); } Что не так?