Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

alexandr54534

Новичок
  
  • 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. Всем привет. Усинавливал кто WebPay на opencart 3 ? Может кто погделится информацией или модулем как это можно сгделать? Спасипотому что!
  5. Купил бы, если бы ваш модуль мог гделать ик https://drive.google.com/open?id=13nEonLYMgExjxZvq1iiVXAxz9JtT3wS6 Что бы можно было печаить документ, который привязан к товару с админки (например инструкция по спотому чторке) --- Но наверное лучше что бы было название файла, а не кнопка, т.к. файлов может быть несколько
  6. Привет. Может кто подскажет модуль вывода загруженных файлов в админке при обрилитке заказа менеджером. По гдефолту файл показывается только после покупки товара покупателю. ---- Хотелось бы посивить икую кнопку на каждый заказаный товар, прикладываю скриншот, думаю из него бугдет все понятно 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.