Перейти до вмісту
Пошук в
  • Детальніше...
Шукати результати, які ...
Шукати результати в ...

Valery332

Користувачі
  
  • Публікації

    156
  • З нами

  • Відвідування

Усі публікації користувача Valery332

  1. Добрый день. Не все категории отображены в админке, по клику на главную не открываются его подкатегории. Хотя внизу отображается кол-во категорий верное 26-ть. http://joxi.ru/Y2LENKVIxgeezA
  2. Так не выйдет. В новую базу пока я не отредактирую, залить не могу. А старую мне править не нужно.
  3. Добрый день. Переношу данные с сайта на сайт при помощи инструмента "Бэкап -Восстановление". Но на старом сайте были добавлены кастомные значение в базу данных. Теперь они не нужны и для переноса требуется их удалить из всех товаров. Товаров очень много, как сделать что-бы во всех товарах это изменение вступило в силу? Пример с файлами загрузки: INSERT INTO `oc_download` (`download_id`, `filename`, `mask`, `date_added`, `file_size`) VALUES ('194', 'john-deere/TM10258_u.pdf.LSstSfyPYzVRFo3UtrOcijwy7igu2Bvs', 'TM10258_u.pdf', '2021-07-29 22:44:45', '18064629'); INSERT INTO `oc_download` (`download_id`, `filename`, `mask`, `date_added`, `file_size`) VALUES ('2938', 'john-deere/tm10544_u.pdf.TXT2n0oSjdbLblQMhPehaktAnAo4kA1r', 'tm10544_u.pdf', '2021-09-26 22:58:22', '101023658'); Как удалить у всех товаров ячейку ", `file_size`" и соответственно его значение? Пример с товарами: INSERT INTO `oc_product` (`product_id`, `model`, `sku`, `upc`, `ean`, `jan`, `isbn`, `mpn`, `location`, `quantity`, `stock_status_id`, `image`, `manufacturer_id`, `shipping`, `price`, `points`, `tax_class_id`, `date_available`, `weight`, `weight_class_id`, `length`, `width`, `height`, `length_class_id`, `subtract`, `minimum`, `sort_order`, `status`, `viewed`, `date_added`, `date_modified`, `noindex`, `doc_code`, `short_description`, `ftp_file_link`) VALUES ('979', 'TM4699', '', '', '', '', '', '', '', '1', '7', 'catalog/manual/john-deere/tm4699-0.jpg', '11', '0', '50.0000', '0', '10', '2021-01-01', '0.00000000', '1', '0.00000000', '0.00000000', '0.00000000', '1', '1', '1', '979', '1', '23', '2021-08-10 11:09:44', '2021-08-10 11:09:44', '1', '00979', 'Language: English; Format: PDF, 760 pages; Covered models (S.N. before 047353): 1450; 1550; 1450 CWS; 1550 CWS; ', ''); INSERT INTO `oc_product` (`product_id`, `model`, `sku`, `upc`, `ean`, `jan`, `isbn`, `mpn`, `location`, `quantity`, `stock_status_id`, `image`, `manufacturer_id`, `shipping`, `price`, `points`, `tax_class_id`, `date_available`, `weight`, `weight_class_id`, `length`, `width`, `height`, `length_class_id`, `subtract`, `minimum`, `sort_order`, `status`, `viewed`, `date_added`, `date_modified`, `noindex`, `doc_code`, `short_description`, `ftp_file_link`) VALUES ('980', 'TM4712', '', '', '', '', '', '', '', '1', '7', 'catalog/manual/john-deere/tm4712-0.jpg', '11', '0', '55.0000', '0', '10', '2021-01-01', '0.00000000', '1', '0.00000000', '0.00000000', '0.00000000', '1', '1', '1', '980', '1', '25', '2021-08-10 11:09:44', '2021-08-10 11:09:44', '1', '00980', 'Language: English; Format: PDF, 1427 pages; Covered models: 9780CTS (SN: 072800 - ); ', ''); Как удалить у всех товаров ", `doc_code`, `short_description`, `ftp_file_link`" и соответственно их значения? Пробовал по видео в notepad++ при помощи регулярных выражений, не получилось. Можно готовое решение?
  4. Добрый день. Прошу готовое решение для текущего контроллера категорий. Что нужно: Если категории 2-го уровня используем $this->response->setOutput($this->load->view('product/category', $data)); else $this->response->setOutput($this->load->view('product/category2', $data)); <?php class ControllerProductCategory extends Controller { public function index() { $this->load->language('product/category'); $this->load->model('catalog/category'); $this->load->model('catalog/product'); $this->load->model('tool/image'); if (isset($this->request->get['filter'])) { $filter = $this->request->get['filter']; } else { $filter = ''; } if (isset($this->request->get['sort'])) { $sort = $this->request->get['sort']; } else { $sort = 'p.sort_order'; } if (isset($this->request->get['order'])) { $order = $this->request->get['order']; } else { $order = 'ASC'; } if (isset($this->request->get['page'])) { $page = $this->request->get['page']; } else { $page = 1; } if (isset($this->request->get['limit'])) { $limit = (int)$this->request->get['limit']; } else { $limit = $this->config->get('theme_' . $this->config->get('config_theme') . '_product_limit'); } $data['breadcrumbs'] = array(); $data['breadcrumbs'][] = array( 'text' => $this->language->get('text_home'), 'href' => $this->url->link('common/home') ); if (isset($this->request->get['path'])) { $url = ''; if (isset($this->request->get['sort'])) { $url .= '&sort=' . $this->request->get['sort']; } if (isset($this->request->get['order'])) { $url .= '&order=' . $this->request->get['order']; } if (isset($this->request->get['limit'])) { $url .= '&limit=' . $this->request->get['limit']; } $path = ''; $parts = explode('_', (string)$this->request->get['path']); $category_id = (int)array_pop($parts); foreach ($parts as $path_id) { if (!$path) { $path = (int)$path_id; } else { $path .= '_' . (int)$path_id; } $category_info = $this->model_catalog_category->getCategory($path_id); if ($category_info) { $data['breadcrumbs'][] = array( 'text' => $category_info['name'], 'href' => $this->url->link('product/category', 'path=' . $path . $url) ); } } } else { $category_id = 0; } $category_info = $this->model_catalog_category->getCategory($category_id); if ($category_info) { $this->document->setTitle($category_info['meta_title']); $this->document->setDescription($category_info['meta_description']); $this->document->setKeywords($category_info['meta_keyword']); $data['heading_title'] = $category_info['name']; $data['text_compare'] = sprintf($this->language->get('text_compare'), (isset($this->session->data['compare']) ? count($this->session->data['compare']) : 0)); // Set the last category breadcrumb $data['breadcrumbs'][] = array( 'text' => $category_info['name'], 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path']) ); if ($category_info['image']) { $data['thumb'] = $this->model_tool_image->resize($category_info['image'], $this->config->get('theme_' . $this->config->get('config_theme') . '_image_category_width'), $this->config->get('theme_' . $this->config->get('config_theme') . '_image_category_height')); } else { $data['thumb'] = ''; } $data['description'] = html_entity_decode($category_info['description'], ENT_QUOTES, 'UTF-8'); $data['compare'] = $this->url->link('product/compare'); $url = ''; if (isset($this->request->get['filter'])) { $url .= '&filter=' . $this->request->get['filter']; } if (isset($this->request->get['sort'])) { $url .= '&sort=' . $this->request->get['sort']; } if (isset($this->request->get['order'])) { $url .= '&order=' . $this->request->get['order']; } if (isset($this->request->get['limit'])) { $url .= '&limit=' . $this->request->get['limit']; } $data['categories'] = array(); $results = $this->model_catalog_category->getCategories($category_id); foreach ($results as $result) { $filter_data = array( 'filter_category_id' => $result['category_id'], 'filter_sub_category' => true ); if ($result['image']) { $image = $this->model_tool_image->resize($result['image'], 255, 215); } else { $image = $this->model_tool_image->resize('placeholder.png', 255, 215); } $data['categories'][] = array( 'name' => $result['name'] . ($this->config->get('config_product_count') ? ' (' . $this->model_catalog_product->getTotalProducts($filter_data) . ')' : ''), 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url), 'thumb' => $image ); } $data['products'] = array(); $filter_data = array( 'filter_category_id' => $category_id, 'filter_filter' => $filter, 'sort' => $sort, 'order' => $order, 'start' => ($page - 1) * $limit, 'limit' => $limit ); $product_total = $this->model_catalog_product->getTotalProducts($filter_data); $results = $this->model_catalog_product->getProducts($filter_data); foreach ($results as $result) { if ($result['image']) { $image = $this->model_tool_image->resize($result['image'], $this->config->get('theme_' . $this->config->get('config_theme') . '_image_product_width'), $this->config->get('theme_' . $this->config->get('config_theme') . '_image_product_height')); } else { $image = $this->model_tool_image->resize('placeholder.png', $this->config->get('theme_' . $this->config->get('config_theme') . '_image_product_width'), $this->config->get('theme_' . $this->config->get('config_theme') . '_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; } if ($this->config->get('config_review_status')) { $rating = (int)$result['rating']; } else { $rating = false; } $data['products'][] = array( 'product_id' => $result['product_id'], 'thumb' => $image, 'name' => $result['name'], 'description' => trim(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8'))), 0, $this->config->get('theme_' . $this->config->get('config_theme') . '_product_description_length'), 'price' => $price, 'special' => $special, 'tax' => $tax, 'minimum' => $result['minimum'] > 0 ? $result['minimum'] : 1, 'rating' => $result['rating'], 'href' => $this->url->link('product/product', 'path=' . $this->request->get['path'] . '&product_id=' . $result['product_id'] . $url) ); } $url = ''; if (isset($this->request->get['filter'])) { $url .= '&filter=' . $this->request->get['filter']; } if (isset($this->request->get['limit'])) { $url .= '&limit=' . $this->request->get['limit']; } $data['sorts'] = array(); $data['sorts'][] = array( 'text' => $this->language->get('text_default'), 'value' => 'p.sort_order-ASC', 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&sort=p.sort_order&order=ASC' . $url) ); $data['sorts'][] = array( 'text' => $this->language->get('text_name_asc'), 'value' => 'pd.name-ASC', 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&sort=pd.name&order=ASC' . $url) ); $data['sorts'][] = array( 'text' => $this->language->get('text_name_desc'), 'value' => 'pd.name-DESC', 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&sort=pd.name&order=DESC' . $url) ); $data['sorts'][] = array( 'text' => $this->language->get('text_price_asc'), 'value' => 'p.price-ASC', 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&sort=p.price&order=ASC' . $url) ); $data['sorts'][] = array( 'text' => $this->language->get('text_price_desc'), 'value' => 'p.price-DESC', 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&sort=p.price&order=DESC' . $url) ); if ($this->config->get('config_review_status')) { $data['sorts'][] = array( 'text' => $this->language->get('text_rating_desc'), 'value' => 'rating-DESC', 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&sort=rating&order=DESC' . $url) ); $data['sorts'][] = array( 'text' => $this->language->get('text_rating_asc'), 'value' => 'rating-ASC', 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&sort=rating&order=ASC' . $url) ); } $data['sorts'][] = array( 'text' => $this->language->get('text_model_asc'), 'value' => 'p.model-ASC', 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&sort=p.model&order=ASC' . $url) ); $data['sorts'][] = array( 'text' => $this->language->get('text_model_desc'), 'value' => 'p.model-DESC', 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&sort=p.model&order=DESC' . $url) ); $url = ''; if (isset($this->request->get['filter'])) { $url .= '&filter=' . $this->request->get['filter']; } if (isset($this->request->get['sort'])) { $url .= '&sort=' . $this->request->get['sort']; } if (isset($this->request->get['order'])) { $url .= '&order=' . $this->request->get['order']; } $data['limits'] = array(); $limits = array_unique(array($this->config->get('theme_' . $this->config->get('config_theme') . '_product_limit'), 25, 50, 75, 100)); sort($limits); foreach($limits as $value) { $data['limits'][] = array( 'text' => $value, 'value' => $value, 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . $url . '&limit=' . $value) ); } $url = ''; if (isset($this->request->get['filter'])) { $url .= '&filter=' . $this->request->get['filter']; } if (isset($this->request->get['sort'])) { $url .= '&sort=' . $this->request->get['sort']; } if (isset($this->request->get['order'])) { $url .= '&order=' . $this->request->get['order']; } if (isset($this->request->get['limit'])) { $url .= '&limit=' . $this->request->get['limit']; } $pagination = new Pagination(); $pagination->total = $product_total; $pagination->page = $page; $pagination->limit = $limit; $pagination->url = $this->url->link('product/category', 'path=' . $this->request->get['path'] . $url . '&page={page}'); $data['pagination'] = $pagination->render(); $data['results'] = sprintf($this->language->get('text_pagination'), ($product_total) ? (($page - 1) * $limit) + 1 : 0, ((($page - 1) * $limit) > ($product_total - $limit)) ? $product_total : ((($page - 1) * $limit) + $limit), $product_total, ceil($product_total / $limit)); // http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html if ($page == 1) { $this->document->addLink($this->url->link('product/category', 'path=' . $category_info['category_id']), 'canonical'); } else { $this->document->addLink($this->url->link('product/category', 'path=' . $category_info['category_id'] . '&page='. $page), 'canonical'); } if ($page > 1) { $this->document->addLink($this->url->link('product/category', 'path=' . $category_info['category_id'] . (($page - 2) ? '&page='. ($page - 1) : '')), 'prev'); } if ($limit && ceil($product_total / $limit) > $page) { $this->document->addLink($this->url->link('product/category', 'path=' . $category_info['category_id'] . '&page='. ($page + 1)), 'next'); } $data['sort'] = $sort; $data['order'] = $order; $data['limit'] = $limit; $data['continue'] = $this->url->link('common/home'); $data['column_left'] = $this->load->controller('common/column_left'); $data['column_right'] = $this->load->controller('common/column_right'); $data['content_top'] = $this->load->controller('common/content_top'); $data['content_bottom'] = $this->load->controller('common/content_bottom'); $data['footer'] = $this->load->controller('common/footer'); $data['header'] = $this->load->controller('common/header'); $childns = $this->model_catalog_category->getCategoriesAll($category_info['category_id']); if ($category_info['category_id'] == 67){ $this->response->setOutput($this->load->view('product/categoryall', $data)); } elseif ($category_info['category_id'] == 69) { $this->response->setOutput($this->load->view('product/helper', $data)); } elseif ($category_info['category_id'] == 101) { $data['categories'] = array(); $results = $this->model_catalog_category->getCategories($category_id); foreach ($results as $result) { if ($result['image']) { $image = $this->model_tool_image->resize($result['image'], 345, 200); } else { $image = $this->model_tool_image->resize('placeholder.png', 255, 255); } $data_child = array(); $child_results = $this->model_catalog_category->getCategories($result['category_id']); if($child_results){ foreach ($child_results as $child) { $data_child[] = array( 'name' => $child['name'], 'href' => $this->url->link('product/category', 'path=' . $child['category_id']) ); } } $data['categories'][] = array( 'name' => $result['name'], 'href' => $this->url->link('product/category', 'path=' . $result['category_id']), 'thumb' => $image, 'children' => $data_child ); } $this->response->setOutput($this->load->view('product/catalog', $data)); } // elseif($childns){ // $this->response->setOutput($this->load->view('product/subcatalog', $data)); // } else{ $this->response->setOutput($this->load->view('product/category', $data)); } } else { $url = ''; if (isset($this->request->get['path'])) { $url .= '&path=' . $this->request->get['path']; } if (isset($this->request->get['filter'])) { $url .= '&filter=' . $this->request->get['filter']; } if (isset($this->request->get['sort'])) { $url .= '&sort=' . $this->request->get['sort']; } if (isset($this->request->get['order'])) { $url .= '&order=' . $this->request->get['order']; } if (isset($this->request->get['page'])) { $url .= '&page=' . $this->request->get['page']; } if (isset($this->request->get['limit'])) { $url .= '&limit=' . $this->request->get['limit']; } $data['breadcrumbs'][] = array( 'text' => $this->language->get('text_error'), 'href' => $this->url->link('product/category', $url) ); $this->document->setTitle($this->language->get('text_error')); $data['continue'] = $this->url->link('common/home'); $this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . ' 404 Not Found'); $data['column_left'] = $this->load->controller('common/column_left'); $data['column_right'] = $this->load->controller('common/column_right'); $data['content_top'] = $this->load->controller('common/content_top'); $data['content_bottom'] = $this->load->controller('common/content_bottom'); $data['footer'] = $this->load->controller('common/footer'); $data['header'] = $this->load->controller('common/header'); $this->response->setOutput($this->load->view('error/not_found', $data)); } } }
  5. При попытке при попытке авторизации по апи выдает такое: Может кто-то уже сталкивался, в чем может быть проблема? <b>Notice</b>: Undefined variable: config in <b>/home/eshopper/САЙТ.КОМ/www/catalog/controller/api/login.php</b> on line <b>32</b><br /> <b>Fatal error</b>: Uncaught Error: Call to a member function get() on null in /home/eshopper/САЙТ.КОМ/www/catalog/controller/api/login.php:32 Stack trace: #0 /home/eshopper/САЙТ.КОМ/storage/modification/system/engine/action.php(79): ControllerApiLogin->index() #1 /home/eshopper/САЙТ.КОМ/www/catalog/controller/startup/router.php(25): Action->execute(Object(Registry)) #2 /home/eshopper/САЙТ.КОМ/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index() #3 /home/eshopper/САЙТ.КОМ/www/system/engine/router.php(67): Action->execute(Object(Registry)) #4 /home/eshopper/САЙТ.КОМ/www/system/engine/router.php(56): Router->execute(Object(Action)) #5 /home/eshopper/САЙТ.КОМ/www/system/framework.php(168): Router->dispatch(Object(Action), Object(Action)) #6 /home/eshopper/САЙТ.КОМ/www/system/startup.php(104): require_once('/home/eshopper/...') #7 /home/eshopper/САЙТ.КОМ/www/index.php(19): start('catalog') #8 {main}
  6. Добрый день. Как отключить уведомления о смене статуса заказа в опенкарт3?
  7. Добрый день. Как вывести изображение опции, для типа опций "список"? {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" class="img-thumbnail" /> {% endif %} Скопировал код с другого типа опций, но не помогло, видимо нужно лесть еще в контроллеры, ток куда конкретно?
  8. Добрый день. Дано: На сайт под управлением CMS Opencart был установлен модуль "Экспорт-Импорт" Дополнительно программистом в него были выведены произвольные поля. Если просто выгрузить файл, внести изменения в текущие товары, а потом загрузить обратно, то все работает исправно. Но как только добавляю новые позиции, модуль не хочет его принимать. Хочу найти человека кто на постоянной основе занимается работой с этим модулем, и проконсультирует меня по его работе. Задача: - В целях теста добавить несколько товаров в файл exel с заполнением всех существующих параметров и загрузить на сайт при помощи модуля. - Сделать краткую письменную или видео инструкцию, как правильно это делать.
  9. Добрый день. Был установлен модуль "Экспорт-Импорт" Дополнительно программистом в него были выведены произвольные поля. Если просто выгрузить файл, внести изменения в текущие товары, а потом загрузить обратно, то все работает исправно. Но как только добавляю новые позиции, модуль не хочет его принимать.
  10. Добрый день. Нужно настроить Mega Filter Горизонтальный вид в десктопе(максимум 4 значения атрибутов и кнопку "Показать все фильтры"), в мобильном свернут/развернут по кнопке. http://joxi.ru/nAyMWbVHaVPe5A http://joxi.ru/E2p9GBou4bPyLA
  11. Добрый день. Подскажите пожалуйста как задать 2 момента: 1. Сделать фильтр с горизонтальным отображением. 2. Выводить только 4 параметра фильтрации, остальные сворачивать. Что должно получиться по итогу: http://joxi.ru/nAyMWbVHaVPe5A
  12. Наверно вы об этом https://github.com/ololower/Synonymizer Ума как этим воспользоваться, тоже не хватило)
  13. Представления о сложности задачи нет, из-за слабых знаний. По вашей реакции, я предполагаю что задача с числа коммерческих и бесплатно получить решение мне не удастся. Хорошо, готов оплатить.
  14. Добрый вечер. Логически задача выглядит так: Есть массив в котором содержатся разные варианты(синонимы) текста из которого произвольным образом для каждой последующей карточки товара формируется текст. купить | приобрести | заказать Одна карточка товара = одно значение текста. Прошу готовый php код.
  15. Можно как обезьянке куда что, на что заменить? public function getProductRelated($product_id) { $product_data = array(); $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "product_related pr LEFT JOIN " . DB_PREFIX . "product p ON (pr.related_id = p.product_id) LEFT JOIN " . DB_PREFIX . "product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pr.product_id = '" . (int)$product_id . "' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '" . (int)$this->config->get('config_store_id') . "'"); foreach ($query->rows as $result) { $product_data[$result['related_id']] = $this->getProduct($result['related_id']); } return $product_data; }
  16. Добрый день. Как сделать так что-бы в карточке товара не выводились похожие(рекомендуем) товары, если их нет в наличии?
  17. Добрый день. Со стороны CRM OneBox нам присылают такие ошибки, говорят что это на стороне нашего сайта "при попытке авторизации по апи. Это чисто файлы самого опенкарта www/catalog/controller/api/login.php" <b>Notice</b>: Undefined variable: config in <b>/home/eshopper/НАШ.САЙТ/www/catalog/controller/api/login.php</b> on line <b>32</b><br /> <b>Fatal error</b>: Uncaught Error: Call to a member function get() on null in /home/eshopper/НАШ.САЙТ/www/catalog/controller/api/login.php:32 Stack trace: #0 /home/eshopper/НАШ.САЙТ/storage/modification/system/engine/action.php(79): ControllerApiLogin->index() #1 /home/eshopper/НАШ.САЙТ/www/catalog/controller/startup/router.php(25): Action->execute(Object(Registry)) #2 /home/eshopper/НАШ.САЙТ/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index() #3 /home/eshopper/НАШ.САЙТ/www/system/engine/router.php(67): Action->execute(Object(Registry)) #4 /home/eshopper/НАШ.САЙТ/www/system/engine/router.php(56): Router->execute(Object(Action)) #5 /home/eshopper/НАШ.САЙТ/www/system/framework.php(168): Router->dispatch(Object(Action), Object(Action)) #6 /home/eshopper/НАШ.САЙТ/www/system/startup.php(104): require_once('/home/eshopper/...') #7 /home/eshopper/НАШ.САЙТ/www/index.php(19): start('catalog') #8 {main} Кто может разобраться в чем дело?
  18. Переустанавливал окстор, что-бы наверняка) Сейчас голый окстор3. Скидки работают, если на товаре предварительно не установлена акция. Разве не должно работать и то и то?
  19. Переустановил голый окстор3, еще раз протестил. Если к товару присвоить только скидки, то все работает. Если на товар установлена акция, то скидки не работают. Работают либо, акции либо скидки.
  20. Добрый вечер. Столкнулся с тем что стандартные скидки в ocStore 3.0.2.0 не работают. Все дефолтное http://test.woshop.pp.ua/index.php?route=product/product&product_id=42 При заказе от 10 должна меняться цена, но этого не происходит. По идее данная проблема должна не раз всплывать на форуме, но я не нашел. Если уже есть решение, поделитесь пожалуйста.
  21. Все разобрался, еще раз спасибо)
  22. эммм) данная опция не на всех товарах, из-за этого другие товары нельзя добавить в корзину. Как сделать что-бы работало только если есть опция с данным ИД, в остальных по умолчанию.
  23. Добрый вечер. Понятия не имею как это делается, прошу готовое решение. Нужно: В карточке товара по клику на #button-cart Если значение в поле опции #input-option227 < {{ price2 }}, то не добавляем в корзину и выводим сообщение 'бла бла бла'

×
×
  • Створити...

Important Information

На нашому сайті використовуються файли cookie і відбувається обробка деяких персональних даних користувачів, щоб поліпшити користувальницький інтерфейс. Щоб дізнатися для чого і які персональні дані ми обробляємо перейдіть за посиланням . Якщо Ви натиснете «Я даю згоду», це означає, що Ви розумієте і приймаєте всі умови, зазначені в цьому Повідомленні про конфіденційність.