Категорії
Opencart

Вивід атрибута в корзину opencart 1.5.6.4

В файл  /system/library/cart/cart.php  після  // Downloads $download_data = array(); $download_query = $this->db->query(“SELECT * FROM ” . DB_PREFIX . “product_to_download p2d LEFT JOIN ” . DB_PREFIX . “download d ON (p2d.download_id = d.download_id) LEFT JOIN ” . DB_PREFIX . “download_description dd ON (d.download_id = dd.download_id) WHERE p2d.product_id = ‘” . (int)$product_id . “‘ AND dd.language_id = […]