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

Leaderboard

Popular Content

Showing content with the highest reputation on 07/03/2022 in Posts

  1. зробити окремий макет по аналогу Information i вибрати його в налаштуваннях потрiбної сторiнки (вкладка Дизайн)
    1 point
  2. Знайшов рішення UPDATE `oc_product` pr SET pr.quantity=0 WHERE pr.product_id IN ( SELECT prod_id FROM ( SELECT prov.product_id AS prod_id FROM `oc_product_option_value` prov LEFT JOIN oc_product op ON op.product_id = prov.product_id WHERE op.quantity > 0 GROUP BY prov.product_id HAVING MAX(prov.quantity)=0 ) AS pid ) Задля наочності написав у кілька рядків. Суть полягає в тому, що SELECT вибирає лише ті product_id для IN, де кількіть в oc_product більше 0 Ну і таке рішення само по собі буде швидше. Ваше перше рішення: 1.37 секунд Мій перший варіант, з додаванням перевірки кількості: 0.79 секунд Остаточне рішення: 0.05 секунд Нарешті можу і в люлю)
    1 point
  3. Потрібен наступний функціонал: "Якщо користувач заходить на сайт на сторінку російською мовою, його перенаправляє на ту ж сторінку головною мовою" Хтось може реалізувати/допомогти/порадити? OC 3
    1 point
  4. в файле admin\controller\common\dashboard.php заменить строку $data['security'] = $this->load->controller('common/security'); на $data['security'] = '';
    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.