Jump to content

maksimist

Новичок
  • Content Count

    40
  • Joined

  • Last visited

Community Reputation

4 Обычный

2 Followers

About maksimist

  • Rank
    Пользователь
  • Birthday 04/14/1991

Информация

  • Пол
    Мужчина
  • Город:
    Минск

Recent Profile Visitors

589 profile views
  1. Дополнение, которое доступно для скачивания не предназначено для 3 версии!
  2. Его можно без труда прикрутить и к 3-ке да и вообще куда угодно!
  3. Можно, но я не буду этим заниматься Поменяйте индексы в модификаторе, чтоб вкладка на место стала!
  4. Его можно прикрутить к чему угодно! Он только на 2.3 нормально устанавливается. Предыдущие версии надо точно запросы в БД вручную из sql файла загонять и менять пути к языковым файлам. В теории на 2.0 предыдущего предложения будет достаточно или там еще может какая мелочь.
  5. 1. Менять вращение можно только в режиме плеера, т.е. при нажатии на клавишу "Play" или есть вариант переименовать фотки в обратном порядке. 2. Никак, только количеством кадров.
  6. Можно и через модификатор сделать, там просто немного не правильно я написал, там идет целая строка стандартного файла, если есть другие модификаторы, которые вносят изменения в эту строку, то модификатор не работает. Можно поправить например так: Вместо этого куска: <file path="admin/model/catalog/product.php"> <operation error="skip"> <search> <![CDATA[ $this->db->query("INSERT INTO " . DB_PREFIX . "product SET model = '" . $this->db->escape($data['model']) . "', sku = '" . $this->db->escape($data['sku']) . "', upc = '" . $this->db->escape($data['upc']) . "', ean = '" . $this->db->escape($data['ean']) . "', jan = '" . $this->db->escape($data['jan']) . "', isbn = '" . $this->db->escape($data['isbn']) . "', mpn = '" . $this->db->escape($data['mpn']) . "', location = '" . $this->db->escape($data['location']) . "', quantity = '" . (int)$data['quantity'] . "', minimum = '" . (int)$data['minimum'] . "', subtract = '" . (int)$data['subtract'] . "', stock_status_id = '" . (int)$data['stock_status_id'] . "', date_available = '" . $this->db->escape($data['date_available']) . "', manufacturer_id = '" . (int)$data['manufacturer_id'] . "', shipping = '" . (int)$data['shipping'] . "', price = '" . (float)$data['price'] . "', points = '" . (int)$data['points'] . "', weight = '" . (float)$data['weight'] . "', weight_class_id = '" . (int)$data['weight_class_id'] . "', length = '" . (float)$data['length'] . "', width = '" . (float)$data['width'] . "', height = '" . (float)$data['height'] . "', length_class_id = '" . (int)$data['length_class_id'] . "', status = '" . (int)$data['status'] . "', tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', date_added = NOW()"); ]]> </search> <add position="replace"> <![CDATA[ $this->db->query("INSERT INTO " . DB_PREFIX . "product SET model = '" . $this->db->escape($data['model']) . "', sku = '" . $this->db->escape($data['sku']) . "', upc = '" . $this->db->escape($data['upc']) . "', ean = '" . $this->db->escape($data['ean']) . "', jan = '" . $this->db->escape($data['jan']) . "', isbn = '" . $this->db->escape($data['isbn']) . "', mpn = '" . $this->db->escape($data['mpn']) . "', location = '" . $this->db->escape($data['location']) . "', quantity = '" . (int)$data['quantity'] . "', minimum = '" . (int)$data['minimum'] . "', subtract = '" . (int)$data['subtract'] . "', stock_status_id = '" . (int)$data['stock_status_id'] . "', date_available = '" . $this->db->escape($data['date_available']) . "', manufacturer_id = '" . (int)$data['manufacturer_id'] . "', shipping = '" . (int)$data['shipping'] . "', price = '" . (float)$data['price'] . "', points = '" . (int)$data['points'] . "', weight = '" . (float)$data['weight'] . "', weight_class_id = '" . (int)$data['weight_class_id'] . "', length = '" . (float)$data['length'] . "', width = '" . (float)$data['width'] . "', height = '" . (float)$data['height'] . "', length_class_id = '" . (int)$data['length_class_id'] . "', status = '" . (int)$data['status'] . "', tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', threesixty_path = '" . $this->db->escape($data['threesixty_path']) . "', threesixty_frame = '" . $this->db->escape($data['threesixty_frame']) . "', threesixty_prefix = '" . $this->db->escape($data['threesixty_prefix']) . "', threesixty_ext = '" . $this->db->escape($data['threesixty_ext']) . "', threesixty_zerobased = '" . $this->db->escape($data['threesixty_zerobased']) . "', threesixty_navigation = '" . $this->db->escape($data['threesixty_navigation']) . "', date_added = NOW()"); ]]> </add> </operation> <operation error="skip"> <search><![CDATA[ $this->db->query("UPDATE " . DB_PREFIX . "product SET model = '" . $this->db->escape($data['model']) . "', sku = '" . $this->db->escape($data['sku']) . "', upc = '" . $this->db->escape($data['upc']) . "', ean = '" . $this->db->escape($data['ean']) . "', jan = '" . $this->db->escape($data['jan']) . "', isbn = '" . $this->db->escape($data['isbn']) . "', mpn = '" . $this->db->escape($data['mpn']) . "', location = '" . $this->db->escape($data['location']) . "', quantity = '" . (int)$data['quantity'] . "', minimum = '" . (int)$data['minimum'] . "', subtract = '" . (int)$data['subtract'] . "', stock_status_id = '" . (int)$data['stock_status_id'] . "', date_available = '" . $this->db->escape($data['date_available']) . "', manufacturer_id = '" . (int)$data['manufacturer_id'] . "', shipping = '" . (int)$data['shipping'] . "', price = '" . (float)$data['price'] . "', points = '" . (int)$data['points'] . "', weight = '" . (float)$data['weight'] . "', weight_class_id = '" . (int)$data['weight_class_id'] . "', length = '" . (float)$data['length'] . "', width = '" . (float)$data['width'] . "', height = '" . (float)$data['height'] . "', length_class_id = '" . (int)$data['length_class_id'] . "', status = '" . (int)$data['status'] . "', tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', date_modified = NOW() WHERE product_id = '" . (int)$product_id . "'"); ]]> </search> <add position="replace"> <![CDATA[ $this->db->query("UPDATE " . DB_PREFIX . "product SET model = '" . $this->db->escape($data['model']) . "', sku = '" . $this->db->escape($data['sku']) . "', upc = '" . $this->db->escape($data['upc']) . "', ean = '" . $this->db->escape($data['ean']) . "', jan = '" . $this->db->escape($data['jan']) . "', isbn = '" . $this->db->escape($data['isbn']) . "', mpn = '" . $this->db->escape($data['mpn']) . "', location = '" . $this->db->escape($data['location']) . "', quantity = '" . (int)$data['quantity'] . "', minimum = '" . (int)$data['minimum'] . "', subtract = '" . (int)$data['subtract'] . "', stock_status_id = '" . (int)$data['stock_status_id'] . "', date_available = '" . $this->db->escape($data['date_available']) . "', manufacturer_id = '" . (int)$data['manufacturer_id'] . "', shipping = '" . (int)$data['shipping'] . "', price = '" . (float)$data['price'] . "', points = '" . (int)$data['points'] . "', weight = '" . (float)$data['weight'] . "', weight_class_id = '" . (int)$data['weight_class_id'] . "', length = '" . (float)$data['length'] . "', width = '" . (float)$data['width'] . "', height = '" . (float)$data['height'] . "', length_class_id = '" . (int)$data['length_class_id'] . "', status = '" . (int)$data['status'] . "', tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', threesixty_path = '" . $this->db->escape($data['threesixty_path']) . "', threesixty_frame = '" . $this->db->escape($data['threesixty_frame']) . "', threesixty_prefix = '" . $this->db->escape($data['threesixty_prefix']) . "', threesixty_ext = '" . $this->db->escape($data['threesixty_ext']) . "', threesixty_zerobased = '" . $this->db->escape($data['threesixty_zerobased']) . "', threesixty_navigation = '" . $this->db->escape($data['threesixty_navigation']) . "', date_modified = NOW() WHERE product_id = '" . (int)$product_id . "'"); ]]> </add> </operation> </file> Написать например как то так: <file path="admin/model/catalog/product.php"> <operation error="skip"> <search> <![CDATA[ tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', ]]> </search> <add position="replace"> <![CDATA[ tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', threesixty_path = '" . $this->db->escape($data['threesixty_path']) . "', threesixty_frame = '" . $this->db->escape($data['threesixty_frame']) . "', threesixty_prefix = '" . $this->db->escape($data['threesixty_prefix']) . "', threesixty_ext = '" . $this->db->escape($data['threesixty_ext']) . "', threesixty_zerobased = '" . $this->db->escape($data['threesixty_zerobased']) . "', threesixty_navigation = '" . $this->db->escape($data['threesixty_navigation']) . "', date_added = NOW()"); ]]> </add> </operation> <operation error="skip"> <search><![CDATA[ tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', ]]> </search> <add position="replace"> <![CDATA[ tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', threesixty_path = '" . $this->db->escape($data['threesixty_path']) . "', threesixty_frame = '" . $this->db->escape($data['threesixty_frame']) . "', threesixty_prefix = '" . $this->db->escape($data['threesixty_prefix']) . "', threesixty_ext = '" . $this->db->escape($data['threesixty_ext']) . "', threesixty_zerobased = '" . $this->db->escape($data['threesixty_zerobased']) . "', threesixty_navigation = '" . $this->db->escape($data['threesixty_navigation']) . "', date_modified = NOW() WHERE product_id = '" . (int)$product_id . "'"); ]]> </add> </operation> </file> Ну и понятное дело, что оно и в первый и во второй раз ищет, одно и то же, поэтому просто добавляем еще к первому search index="0" и ко второму index="1" и в итоге получим нечто подобное: <file path="admin/model/catalog/product.php"> <operation error="skip"> <search index="0"> <![CDATA[ tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', ]]> </search> <add position="replace"> <![CDATA[ tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', threesixty_path = '" . $this->db->escape($data['threesixty_path']) . "', threesixty_frame = '" . $this->db->escape($data['threesixty_frame']) . "', threesixty_prefix = '" . $this->db->escape($data['threesixty_prefix']) . "', threesixty_ext = '" . $this->db->escape($data['threesixty_ext']) . "', threesixty_zerobased = '" . $this->db->escape($data['threesixty_zerobased']) . "', threesixty_navigation = '" . $this->db->escape($data['threesixty_navigation']) . "', date_added = NOW()"); ]]> </add> </operation> <operation error="skip"> <search index="1"><![CDATA[ tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', ]]> </search> <add position="replace"> <![CDATA[ tax_class_id = '" . (int)$data['tax_class_id'] . "', sort_order = '" . (int)$data['sort_order'] . "', threesixty_path = '" . $this->db->escape($data['threesixty_path']) . "', threesixty_frame = '" . $this->db->escape($data['threesixty_frame']) . "', threesixty_prefix = '" . $this->db->escape($data['threesixty_prefix']) . "', threesixty_ext = '" . $this->db->escape($data['threesixty_ext']) . "', threesixty_zerobased = '" . $this->db->escape($data['threesixty_zerobased']) . "', threesixty_navigation = '" . $this->db->escape($data['threesixty_navigation']) . "', date_modified = NOW() WHERE product_id = '" . (int)$product_id . "'"); ]]> </add> </operation> </file>
  7. <base href="//poddomen.domain.ru" /> попробуйте в head прописать. Может поможет
  8. Читайте выше. Дополнение же бесплатное, качайте и ставьте, смотрите.
  9. Путь: /tovar/vedro/ Файлы начинаются с 0 - true Кол-во кадров в секвенции - 38, т.к. 0 мы тоже считаем.
  10. Если например выключить товар в магазине, то по умолчанию пишет товар не найден и отдаёт код 404. Есть на форуме где-то fix, что если выключаешь товар, то пишет, что товар не найден, но отдаёт код 200. По сути выключенный товар или категория например не желательно чтоб отдавал 404 ошибку, а если товар удалить полностью, то будет 404. Как тот так!
×

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.