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/04/2020 in Posts

  1. у него товары есть. а там демо данные и может реально впс
    1 point
  2. ну «прогнать» через вебмастер не получится, бот обходит страницы автоматически (но можно по несколько в день на переобход ставить, когда исправите причину 404) но вся инфа тут в разделе. Страницы в поиске и статистика обхода. Там фильтр по статусу 404 ставьте и все. а так скачайте действительно Xenu или Netpeak Spider. В последнем точно тестовый период есть, а первый вроде вообще free.. Отправлено с моего iPhone используя Tapatalk
    1 point
  3. На хостинге у вас два ваших домена должны быть привязаны(прилинкованы) друг к другу. Вы можете собрать мульти магазин вообще из разных доменов, а не только под доменов.
    1 point
  4. Поздравляю всех с наступающим 2020 годом, желаю успехов в сфере интернет торговли, счастья и здоровья Вам и Вашим близким! На время праздников с 31.12.2019 до 4.01.2020 тех поддержка осуществляться будет по мере возможности и только для активации лицензий. Спасибо всем за понимание!
    1 point
  5. Может кому пригодится делаем закладки с регистрацией и без регистрации на примере Opencart 2.3, OcStore 2.3 Код написанный мною, можете юзать ))) Идем в контроллер закладок Комментим проверку class ControllerAccountWishList extends Controller { public function index() { /*if (!$this->customer->isLogged()) { $this->session->data['redirect'] = $this->url->link('account/wishlist', '', true); $this->response->redirect($this->url->link('account/login', '', true)); }*/ Далее после кода if (isset($this->request->get['remove'])) { // Remove Wishlist $this->model_account_wishlist->deleteWishlist($this->request->get['remove']); $this->session->data['success'] = $this->language->get('text_remove'); $this->response->redirect($this->url->link('account/wishlist')); } вставляем if (isset($this->request->get['remove_session'])) { // Remove Wishlist_session unset($this->session->data['wishlist'][array_search($this->request->get['remove_session'],$this->session->data['wishlist'])]); if (empty($this->session->data['wishlist'])) { $this->response->redirect($this->url->link('common/home')); } } Далее после $data['products'] = array(); Вставляем if ($this->customer->isLogged()) { Далее после else { $this->model_account_wishlist->deleteWishlist($result['product_id']); } } Вставляем } else { $results = $this->session->data['wishlist']; foreach ($results as $key => $result) { $product_info = $this->model_catalog_product->getProduct($result); if ($product_info) { if ($product_info['image']) { $image = $this->model_tool_image->resize($product_info['image'], $this->config->get($this->config->get('config_theme') . '_image_wishlist_width'), $this->config->get($this->config->get('config_theme') . '_image_wishlist_height')); } else { $image = false; } if ($product_info['quantity'] <= 0) { $stock = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $stock = $product_info['quantity']; } else { $stock = $this->language->get('text_instock'); } if ($this->customer->isLogged() || !$this->config->get('config_customer_price')) { $price = $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']); } else { $price = false; } if ((float)$product_info['special']) { $special = $this->currency->format($this->tax->calculate($product_info['special'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']); } else { $special = false; } $data['products'][] = array( 'product_id' => $product_info['product_id'], 'thumb' => $image, 'name' => $product_info['name'], 'model' => $product_info['model'], 'stock' => $stock, 'price' => $price, 'special' => $special, 'href' => $this->url->link('product/product', 'product_id=' . $product_info['product_id']), 'remove' => $this->url->link('account/wishlist', 'remove_session=' . $product_info['product_id']) ); } else { unset($this->session->data['wishlist'][$key]); } } } Далее меняем вместо $json['success'] = sprintf($this->language->get('text_login'), $this->url->link('account/login', '', true), $this->url->link('account/register', '', true), $this->url->link('product/product', 'product_id=' . (int)$this->request->post['product_id']), $product_info['name'], $this->url->link('account/wishlist')); Вставляем это $json['success'] = sprintf($this->language->get('text_success'), $this->url->link('product/product', 'product_id=' . (int)$this->request->post['product_id']), $product_info['name'], $this->url->link('account/wishlist'));
    1 point
  6. Модуль для версии 2.3 с функцией "Минимальная" и "Максимальная" цена в заказе, от которых зависит отображение модуля. Выкладываю "Как есть" Скачать: multiflat_min_max_2.3.ocmod.zip
    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.