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

alexandr54534

Newbie
  
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

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

alexandr54534's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. http://admin.netlab-kursk.ru/optimizaciya-izobrazhenij-dlya-sajta-jpegoptim-i-optipng/
  2. <file path="admin/model/catalog/product.php"> <operation error="skip"> <search ><![CDATA[ public function deleteProduct($product_id) { ]]></search> <add position="replace"><![CDATA[ private function delete_image($path) { if (isset($path)) { $path = rtrim(DIR_IMAGE . $path); if (!file_exists($path)) { $error= 1; } if ($path == rtrim(DIR_IMAGE . 'catalog/', '/')) { $error = 1; } } else { $error = 1; } if (!$this->user->hasPermission('modify', 'common/filemanager')) { $error = 1; } if (!isset($error)) { if (is_file($path)) { unlink($path); } elseif (is_dir($path)) { //$this->recursiveDelete($path); } } } public function deleteProduct($product_id) { $query = $this->db->query("SELECT p.image FROM " . DB_PREFIX . "product p WHERE p.product_id = '" . (int)$product_id . "'"); if($query->row){ $this->delete_image($query->row['image']); $results = $this->getProductImages($product_id); foreach ($results as $result) { $this->delete_image($result['image']); } } ]]></add> </operation> </file>
  3. Вся ветка про то какой плохой 3-й опенкарт и какой хороший 2,3, по делу ничего не увидел.
  4. Так это на Opencart 2. Или встанет на opencart 3 ?
  5. Всем привет. Устанавливал кто WebPay на opencart 3 ? Может кто поделится информацией или модулем как это можно сделать? Спасибо!
  6. Купил бы, если бы ваш модуль мог делать так https://drive.google.com/open?id=13nEonLYMgExjxZvq1iiVXAxz9JtT3wS6 Что бы можно было печатать документ, который привязан к товару с админки (например инструкция по сборке) --- Но наверное лучше что бы было название файла, а не кнопка, т.к. файлов может быть несколько
  7. Привет. Может кто подскажет модуль вывода загруженных файлов в админке при обработке заказа менеджером. По дефолту файл показывается только после покупки товара покупателю. ---- Хотелось бы поставить такую кнопку на каждый заказаный товар, прикладываю скриншот, думаю из него будет все понятно P.S. Должен быть модуль или что то готовое, как то раз видел, но пропустил мимо. Самому ковыряться лень...
×
×
  • 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.