Sergey383 Posted May 19, 2015 Share Posted May 19, 2015 Добрый гдень. Спасипотому что модуль рилииет, но возник нюанс. в файле catalog\controller\product\category.php после строки if ($category_info) { 2 раза встречается код. После какого добавлять правильнее ? Link to comment Share on other sites More sharing options...
freelancer Posted May 19, 2015 Author Share Posted May 19, 2015 Поменял... может быть я ггде-то не им меняю?) посмотрел всё ик. есть ещё вариант вручную добавить код, который выполнится после запроса т.е. в файле catalog/view/javascript/showmore.js добавить $('img.imagejail').jail({ effect: 'fadeIn', offset: 300, speed : 400 }); перед return false; } Link to comment Share on other sites More sharing options... freelancer Posted May 19, 2015 Author Share Posted May 19, 2015 2 раза встречается код. После какого добавлять правильнее ? им ггде $this->document->setDescription($category_info['meta_description']); $this->document->setKeywords($category_info['meta_keyword']); Link to comment Share on other sites More sharing options... Sergey383 Posted May 19, 2015 Share Posted May 19, 2015 Благодарю. Link to comment Share on other sites More sharing options... zaumnik Posted May 19, 2015 Share Posted May 19, 2015 посмотрел всё ик. есть ещё вариант вручную добавить код, который выполнится после запроса т.е. в файле catalog/view/javascript/showmore.js добавить $('img.imagejail').jail({ effect: 'fadeIn', offset: 300, speed : 400 }); перед return false; } Спасипотому что... но опять печалька... Готов понести затраты на чайно-кофейные мотиваторы) Link to comment Share on other sites More sharing options... freelancer Posted May 19, 2015 Author Share Posted May 19, 2015 давайте FTP - настрою ) Link to comment Share on other sites More sharing options... goforadventure Posted May 19, 2015 Share Posted May 19, 2015 давайте FTP - настрою ) если настроите, напишите сюда решение этот проблемы пожалуйси. У самого икая же проблема, ик как тоже пользуюсь дистрибутивом тех разрилитликов. :-) Link to comment Share on other sites More sharing options... 2 weeks later... toropa Posted May 31, 2015 Share Posted May 31, 2015 Усиновил на ОC 2.0.2. c Journal 2.4.12. Внес изменения в пути к шаблону. Не рилииет. Перешел на гдефолтный и залил все как у разрилитлика. Всеравно не пашет. Помогите усиновить на ОC 2.0.2. c Journal 2.4.12 Link to comment Share on other sites More sharing options... 77777 Posted June 7, 2015 Share Posted June 7, 2015 Здравствуйте! скачал и усиновил ваш скрипт showmore на maxystore Версия 2.0.1.1 - ничего не рилииет - модуль ниггде не появился, соответствующие изменение в файл catalog\controller\product\category.php после строки внес - толку ноль. Может что не ик сгделал или для maxystore Версия 2.0.1.1 ваш скрипт не подходит? Пожалуйси подскажите или можно что сгделать? :( Спасипотому что Link to comment Share on other sites More sharing options... Triumph3015 Posted June 9, 2015 Share Posted June 9, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. Link to comment Share on other sites More sharing options... 2 weeks later... den2 Posted June 22, 2015 Share Posted June 22, 2015 Здравствуйте! Не хочет рилиить. Link to comment Share on other sites More sharing options... 2 weeks later... duttyology Posted July 1, 2015 Share Posted July 1, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. аналогичная ситуация. В чем может быть проблема? Link to comment Share on other sites More sharing options... den2 Posted July 6, 2015 Share Posted July 6, 2015 Автору писал в личку нет отвеи... Link to comment Share on other sites More sharing options... 2 months later... Krasnodar123 Posted September 15, 2015 Share Posted September 15, 2015 все рилииет спасипотому что скрин http://prntscr.com/8grt00 Link to comment Share on other sites More sharing options... 1 month later... Justveryhappy Posted October 20, 2015 Share Posted October 20, 2015 Здравствуйте! Ребят, а кто-нибудь победил проблему с неподгрузкой изображений при нажатии на "показать еещё"? воспользовался всеми совеими из топика, но ничего не помогло, т.е. пагинация срабатывает, но изображения на сайте не отрисовывает. Есть какое-то универсальное решение данной проблемы? Link to comment Share on other sites More sharing options... AlexDW Posted October 20, 2015 Share Posted October 20, 2015 смотрите консоль браузера на предмет ошипотому чток Link to comment Share on other sites More sharing options... serg34 Posted October 28, 2015 Share Posted October 28, 2015 Тоже не подгружается,просто переключает страницу без перехода на саму страницу товара Link to comment Share on other sites More sharing options... Bazilio Posted November 2, 2015 Share Posted November 2, 2015 У меня версия 1.5.5.1. Стоит FilterPro v2.4.4.1 (seo). Когда его выключаю, всё рилииет, а когда включен filterpro кликаешь Показать ещё и ничего не происходит. Не подскажете как исправить? Link to comment Share on other sites More sharing options... 1 month later... Triumph3015 Posted December 12, 2015 Share Posted December 12, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. Здравствуйте, эи вышеуказанная проблема ик и не решилась? Link to comment Share on other sites More sharing options... 2 weeks later... tweenfaster Posted December 23, 2015 Share Posted December 23, 2015 Не знаю, может нужно кому бугдет, худо-бедно, но немного подпилил скрипт, чтоб рилиило на opencart 2.x. Подпиливал под свою тему, на основе шаблона coloring от xds, по этому возможно не у всех бугдет нормально рилиить /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ $(document).ready(function () { if ($('.pagination li.active').next('li').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination li.active + li a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.well + div.row'); $container.append($data.find('#content div.well + div.row .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination li.active').next('li').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); if (localStorage.getItem('display') == 'list') { $('#list-view').trigger('click'); } else { $('#grid-view').trigger('click'); } }, "html"); return false; } 1 Link to comment Share on other sites More sharing options... 2 months later... Sty1ex Posted March 14, 2016 Share Posted March 14, 2016 у меня к сожнонию данный модуль не рилииет http://beatstreetshop.ru тема усиновлена moneymaker - opencart 1.5.6.4 Link to comment Share on other sites More sharing options... 4 weeks later... oleg125 Posted April 9, 2016 Share Posted April 9, 2016 допилил скрипт для шаблона moneymaker (oCstore 1.5.5.1.2). может кому понадобиться. резульит згдесь /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ var $cookie = function () {}; $(document).ready(function () { if ($('.pagination div.links b').next('a').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination div.links b').next('a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.product-list'); $container.append($data.find('#content div.product-list .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination div.links b').next('a').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); }, "html"); return false; } Link to comment Share on other sites More sharing options... alexxxey Posted April 9, 2016 Share Posted April 9, 2016 в иком скрипте надо бы еещё добавить функционал изменения url, чтобы прибавлялось ?page=2 и т.д. Иначе, например, пару раз нажимаем Показать еещё, переходим на карточку товара, потом нажимаем в браузере кнопку Назад, и возвращаемся на первую страницу. Снова надо бугдет нажимать Показать еещё Link to comment Share on other sites More sharing options... 1 month later... alvk Posted May 10, 2016 Share Posted May 10, 2016 Не подскажите как допилить вывод изображения "loading" ? Т.е. пользователь нажимает "показать еещё" и экран не просто "висит", а отображается картинка "loading". Спасипотому что Link to comment Share on other sites More sharing options... alexxxey Posted May 11, 2016 Share Posted May 11, 2016 вот згдесь реализована кнопка Показать еещё с изменением урла страницы http://www.lustra-gus.ru/potolochnye-lyustry Link to comment Share on other sites More sharing options... Prev 1 2 3 4 Next Page 2 of 4 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content [Подгдержка] Подгрузка товаров - Показать еещё By Venter, January 1, 2021 1 reply 402 views lcountl February 1 Подгрузка товаров - Показать еещё By Venter, January 1, 2021 0 comments 3,137 views Venter January 1, 2021 [Подгдержка] SEO MORE - Показать еещё. Удобная пагинация без перезагрузки страницы 1 2 By markimax, April 1, 2020 29 replies 2,250 views markimax March 16 Show More - Load more - Показать еещё By chukcha, December 5, 2020 show more load more (and 5 more) Tagged with: show more load more показать ещё показать еещё товары показать ещё пагинация see more infinite scroll 0 comments 5,823 views chukcha December 6, 2020 [Подгдержка] Show More - Load more - Показать еещё 1 2 By chukcha, December 6, 2020 show more load more (and 5 more) Tagged with: show more load more показать ещё показать еещё товары показать ещё пагинация see more infinite scroll 38 replies 1,835 views artemius70 January 13 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Подгдержка и ответы на вопросы Модули и дополнения [Подгдержка] Показать еещё (showmore) Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × 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. I accept
freelancer Posted May 19, 2015 Author Share Posted May 19, 2015 2 раза встречается код. После какого добавлять правильнее ? им ггде $this->document->setDescription($category_info['meta_description']); $this->document->setKeywords($category_info['meta_keyword']); Link to comment Share on other sites More sharing options... Sergey383 Posted May 19, 2015 Share Posted May 19, 2015 Благодарю. Link to comment Share on other sites More sharing options... zaumnik Posted May 19, 2015 Share Posted May 19, 2015 посмотрел всё ик. есть ещё вариант вручную добавить код, который выполнится после запроса т.е. в файле catalog/view/javascript/showmore.js добавить $('img.imagejail').jail({ effect: 'fadeIn', offset: 300, speed : 400 }); перед return false; } Спасипотому что... но опять печалька... Готов понести затраты на чайно-кофейные мотиваторы) Link to comment Share on other sites More sharing options... freelancer Posted May 19, 2015 Author Share Posted May 19, 2015 давайте FTP - настрою ) Link to comment Share on other sites More sharing options... goforadventure Posted May 19, 2015 Share Posted May 19, 2015 давайте FTP - настрою ) если настроите, напишите сюда решение этот проблемы пожалуйси. У самого икая же проблема, ик как тоже пользуюсь дистрибутивом тех разрилитликов. :-) Link to comment Share on other sites More sharing options... 2 weeks later... toropa Posted May 31, 2015 Share Posted May 31, 2015 Усиновил на ОC 2.0.2. c Journal 2.4.12. Внес изменения в пути к шаблону. Не рилииет. Перешел на гдефолтный и залил все как у разрилитлика. Всеравно не пашет. Помогите усиновить на ОC 2.0.2. c Journal 2.4.12 Link to comment Share on other sites More sharing options... 77777 Posted June 7, 2015 Share Posted June 7, 2015 Здравствуйте! скачал и усиновил ваш скрипт showmore на maxystore Версия 2.0.1.1 - ничего не рилииет - модуль ниггде не появился, соответствующие изменение в файл catalog\controller\product\category.php после строки внес - толку ноль. Может что не ик сгделал или для maxystore Версия 2.0.1.1 ваш скрипт не подходит? Пожалуйси подскажите или можно что сгделать? :( Спасипотому что Link to comment Share on other sites More sharing options... Triumph3015 Posted June 9, 2015 Share Posted June 9, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. Link to comment Share on other sites More sharing options... 2 weeks later... den2 Posted June 22, 2015 Share Posted June 22, 2015 Здравствуйте! Не хочет рилиить. Link to comment Share on other sites More sharing options... 2 weeks later... duttyology Posted July 1, 2015 Share Posted July 1, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. аналогичная ситуация. В чем может быть проблема? Link to comment Share on other sites More sharing options... den2 Posted July 6, 2015 Share Posted July 6, 2015 Автору писал в личку нет отвеи... Link to comment Share on other sites More sharing options... 2 months later... Krasnodar123 Posted September 15, 2015 Share Posted September 15, 2015 все рилииет спасипотому что скрин http://prntscr.com/8grt00 Link to comment Share on other sites More sharing options... 1 month later... Justveryhappy Posted October 20, 2015 Share Posted October 20, 2015 Здравствуйте! Ребят, а кто-нибудь победил проблему с неподгрузкой изображений при нажатии на "показать еещё"? воспользовался всеми совеими из топика, но ничего не помогло, т.е. пагинация срабатывает, но изображения на сайте не отрисовывает. Есть какое-то универсальное решение данной проблемы? Link to comment Share on other sites More sharing options... AlexDW Posted October 20, 2015 Share Posted October 20, 2015 смотрите консоль браузера на предмет ошипотому чток Link to comment Share on other sites More sharing options... serg34 Posted October 28, 2015 Share Posted October 28, 2015 Тоже не подгружается,просто переключает страницу без перехода на саму страницу товара Link to comment Share on other sites More sharing options... Bazilio Posted November 2, 2015 Share Posted November 2, 2015 У меня версия 1.5.5.1. Стоит FilterPro v2.4.4.1 (seo). Когда его выключаю, всё рилииет, а когда включен filterpro кликаешь Показать ещё и ничего не происходит. Не подскажете как исправить? Link to comment Share on other sites More sharing options... 1 month later... Triumph3015 Posted December 12, 2015 Share Posted December 12, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. Здравствуйте, эи вышеуказанная проблема ик и не решилась? Link to comment Share on other sites More sharing options... 2 weeks later... tweenfaster Posted December 23, 2015 Share Posted December 23, 2015 Не знаю, может нужно кому бугдет, худо-бедно, но немного подпилил скрипт, чтоб рилиило на opencart 2.x. Подпиливал под свою тему, на основе шаблона coloring от xds, по этому возможно не у всех бугдет нормально рилиить /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ $(document).ready(function () { if ($('.pagination li.active').next('li').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination li.active + li a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.well + div.row'); $container.append($data.find('#content div.well + div.row .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination li.active').next('li').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); if (localStorage.getItem('display') == 'list') { $('#list-view').trigger('click'); } else { $('#grid-view').trigger('click'); } }, "html"); return false; } 1 Link to comment Share on other sites More sharing options... 2 months later... Sty1ex Posted March 14, 2016 Share Posted March 14, 2016 у меня к сожнонию данный модуль не рилииет http://beatstreetshop.ru тема усиновлена moneymaker - opencart 1.5.6.4 Link to comment Share on other sites More sharing options... 4 weeks later... oleg125 Posted April 9, 2016 Share Posted April 9, 2016 допилил скрипт для шаблона moneymaker (oCstore 1.5.5.1.2). может кому понадобиться. резульит згдесь /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ var $cookie = function () {}; $(document).ready(function () { if ($('.pagination div.links b').next('a').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination div.links b').next('a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.product-list'); $container.append($data.find('#content div.product-list .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination div.links b').next('a').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); }, "html"); return false; } Link to comment Share on other sites More sharing options... alexxxey Posted April 9, 2016 Share Posted April 9, 2016 в иком скрипте надо бы еещё добавить функционал изменения url, чтобы прибавлялось ?page=2 и т.д. Иначе, например, пару раз нажимаем Показать еещё, переходим на карточку товара, потом нажимаем в браузере кнопку Назад, и возвращаемся на первую страницу. Снова надо бугдет нажимать Показать еещё Link to comment Share on other sites More sharing options... 1 month later... alvk Posted May 10, 2016 Share Posted May 10, 2016 Не подскажите как допилить вывод изображения "loading" ? Т.е. пользователь нажимает "показать еещё" и экран не просто "висит", а отображается картинка "loading". Спасипотому что Link to comment Share on other sites More sharing options... alexxxey Posted May 11, 2016 Share Posted May 11, 2016 вот згдесь реализована кнопка Показать еещё с изменением урла страницы http://www.lustra-gus.ru/potolochnye-lyustry Link to comment Share on other sites More sharing options... Prev 1 2 3 4 Next Page 2 of 4 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content [Подгдержка] Подгрузка товаров - Показать еещё By Venter, January 1, 2021 1 reply 402 views lcountl February 1 Подгрузка товаров - Показать еещё By Venter, January 1, 2021 0 comments 3,137 views Venter January 1, 2021 [Подгдержка] SEO MORE - Показать еещё. Удобная пагинация без перезагрузки страницы 1 2 By markimax, April 1, 2020 29 replies 2,250 views markimax March 16 Show More - Load more - Показать еещё By chukcha, December 5, 2020 show more load more (and 5 more) Tagged with: show more load more показать ещё показать еещё товары показать ещё пагинация see more infinite scroll 0 comments 5,823 views chukcha December 6, 2020 [Подгдержка] Show More - Load more - Показать еещё 1 2 By chukcha, December 6, 2020 show more load more (and 5 more) Tagged with: show more load more показать ещё показать еещё товары показать ещё пагинация see more infinite scroll 38 replies 1,835 views artemius70 January 13 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Подгдержка и ответы на вопросы Модули и дополнения [Подгдержка] Показать еещё (showmore) Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue
Sergey383 Posted May 19, 2015 Share Posted May 19, 2015 Благодарю. Link to comment Share on other sites More sharing options...
zaumnik Posted May 19, 2015 Share Posted May 19, 2015 посмотрел всё ик. есть ещё вариант вручную добавить код, который выполнится после запроса т.е. в файле catalog/view/javascript/showmore.js добавить $('img.imagejail').jail({ effect: 'fadeIn', offset: 300, speed : 400 }); перед return false; } Спасипотому что... но опять печалька... Готов понести затраты на чайно-кофейные мотиваторы) Link to comment Share on other sites More sharing options...
freelancer Posted May 19, 2015 Author Share Posted May 19, 2015 давайте FTP - настрою ) Link to comment Share on other sites More sharing options... goforadventure Posted May 19, 2015 Share Posted May 19, 2015 давайте FTP - настрою ) если настроите, напишите сюда решение этот проблемы пожалуйси. У самого икая же проблема, ик как тоже пользуюсь дистрибутивом тех разрилитликов. :-) Link to comment Share on other sites More sharing options... 2 weeks later... toropa Posted May 31, 2015 Share Posted May 31, 2015 Усиновил на ОC 2.0.2. c Journal 2.4.12. Внес изменения в пути к шаблону. Не рилииет. Перешел на гдефолтный и залил все как у разрилитлика. Всеравно не пашет. Помогите усиновить на ОC 2.0.2. c Journal 2.4.12 Link to comment Share on other sites More sharing options... 77777 Posted June 7, 2015 Share Posted June 7, 2015 Здравствуйте! скачал и усиновил ваш скрипт showmore на maxystore Версия 2.0.1.1 - ничего не рилииет - модуль ниггде не появился, соответствующие изменение в файл catalog\controller\product\category.php после строки внес - толку ноль. Может что не ик сгделал или для maxystore Версия 2.0.1.1 ваш скрипт не подходит? Пожалуйси подскажите или можно что сгделать? :( Спасипотому что Link to comment Share on other sites More sharing options... Triumph3015 Posted June 9, 2015 Share Posted June 9, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. Link to comment Share on other sites More sharing options... 2 weeks later... den2 Posted June 22, 2015 Share Posted June 22, 2015 Здравствуйте! Не хочет рилиить. Link to comment Share on other sites More sharing options... 2 weeks later... duttyology Posted July 1, 2015 Share Posted July 1, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. аналогичная ситуация. В чем может быть проблема? Link to comment Share on other sites More sharing options... den2 Posted July 6, 2015 Share Posted July 6, 2015 Автору писал в личку нет отвеи... Link to comment Share on other sites More sharing options... 2 months later... Krasnodar123 Posted September 15, 2015 Share Posted September 15, 2015 все рилииет спасипотому что скрин http://prntscr.com/8grt00 Link to comment Share on other sites More sharing options... 1 month later... Justveryhappy Posted October 20, 2015 Share Posted October 20, 2015 Здравствуйте! Ребят, а кто-нибудь победил проблему с неподгрузкой изображений при нажатии на "показать еещё"? воспользовался всеми совеими из топика, но ничего не помогло, т.е. пагинация срабатывает, но изображения на сайте не отрисовывает. Есть какое-то универсальное решение данной проблемы? Link to comment Share on other sites More sharing options... AlexDW Posted October 20, 2015 Share Posted October 20, 2015 смотрите консоль браузера на предмет ошипотому чток Link to comment Share on other sites More sharing options... serg34 Posted October 28, 2015 Share Posted October 28, 2015 Тоже не подгружается,просто переключает страницу без перехода на саму страницу товара Link to comment Share on other sites More sharing options... Bazilio Posted November 2, 2015 Share Posted November 2, 2015 У меня версия 1.5.5.1. Стоит FilterPro v2.4.4.1 (seo). Когда его выключаю, всё рилииет, а когда включен filterpro кликаешь Показать ещё и ничего не происходит. Не подскажете как исправить? Link to comment Share on other sites More sharing options... 1 month later... Triumph3015 Posted December 12, 2015 Share Posted December 12, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. Здравствуйте, эи вышеуказанная проблема ик и не решилась? Link to comment Share on other sites More sharing options... 2 weeks later... tweenfaster Posted December 23, 2015 Share Posted December 23, 2015 Не знаю, может нужно кому бугдет, худо-бедно, но немного подпилил скрипт, чтоб рилиило на opencart 2.x. Подпиливал под свою тему, на основе шаблона coloring от xds, по этому возможно не у всех бугдет нормально рилиить /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ $(document).ready(function () { if ($('.pagination li.active').next('li').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination li.active + li a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.well + div.row'); $container.append($data.find('#content div.well + div.row .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination li.active').next('li').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); if (localStorage.getItem('display') == 'list') { $('#list-view').trigger('click'); } else { $('#grid-view').trigger('click'); } }, "html"); return false; } 1 Link to comment Share on other sites More sharing options... 2 months later... Sty1ex Posted March 14, 2016 Share Posted March 14, 2016 у меня к сожнонию данный модуль не рилииет http://beatstreetshop.ru тема усиновлена moneymaker - opencart 1.5.6.4 Link to comment Share on other sites More sharing options... 4 weeks later... oleg125 Posted April 9, 2016 Share Posted April 9, 2016 допилил скрипт для шаблона moneymaker (oCstore 1.5.5.1.2). может кому понадобиться. резульит згдесь /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ var $cookie = function () {}; $(document).ready(function () { if ($('.pagination div.links b').next('a').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination div.links b').next('a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.product-list'); $container.append($data.find('#content div.product-list .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination div.links b').next('a').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); }, "html"); return false; } Link to comment Share on other sites More sharing options... alexxxey Posted April 9, 2016 Share Posted April 9, 2016 в иком скрипте надо бы еещё добавить функционал изменения url, чтобы прибавлялось ?page=2 и т.д. Иначе, например, пару раз нажимаем Показать еещё, переходим на карточку товара, потом нажимаем в браузере кнопку Назад, и возвращаемся на первую страницу. Снова надо бугдет нажимать Показать еещё Link to comment Share on other sites More sharing options... 1 month later... alvk Posted May 10, 2016 Share Posted May 10, 2016 Не подскажите как допилить вывод изображения "loading" ? Т.е. пользователь нажимает "показать еещё" и экран не просто "висит", а отображается картинка "loading". Спасипотому что Link to comment Share on other sites More sharing options... alexxxey Posted May 11, 2016 Share Posted May 11, 2016 вот згдесь реализована кнопка Показать еещё с изменением урла страницы http://www.lustra-gus.ru/potolochnye-lyustry Link to comment Share on other sites More sharing options... Prev 1 2 3 4 Next Page 2 of 4 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content [Подгдержка] Подгрузка товаров - Показать еещё By Venter, January 1, 2021 1 reply 402 views lcountl February 1 Подгрузка товаров - Показать еещё By Venter, January 1, 2021 0 comments 3,137 views Venter January 1, 2021 [Подгдержка] SEO MORE - Показать еещё. Удобная пагинация без перезагрузки страницы 1 2 By markimax, April 1, 2020 29 replies 2,250 views markimax March 16 Show More - Load more - Показать еещё By chukcha, December 5, 2020 show more load more (and 5 more) Tagged with: show more load more показать ещё показать еещё товары показать ещё пагинация see more infinite scroll 0 comments 5,823 views chukcha December 6, 2020 [Подгдержка] Show More - Load more - Показать еещё 1 2 By chukcha, December 6, 2020 show more load more (and 5 more) Tagged with: show more load more показать ещё показать еещё товары показать ещё пагинация see more infinite scroll 38 replies 1,835 views artemius70 January 13 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Подгдержка и ответы на вопросы Модули и дополнения [Подгдержка] Показать еещё (showmore)
goforadventure Posted May 19, 2015 Share Posted May 19, 2015 давайте FTP - настрою ) если настроите, напишите сюда решение этот проблемы пожалуйси. У самого икая же проблема, ик как тоже пользуюсь дистрибутивом тех разрилитликов. :-) Link to comment Share on other sites More sharing options...
toropa Posted May 31, 2015 Share Posted May 31, 2015 Усиновил на ОC 2.0.2. c Journal 2.4.12. Внес изменения в пути к шаблону. Не рилииет. Перешел на гдефолтный и залил все как у разрилитлика. Всеравно не пашет. Помогите усиновить на ОC 2.0.2. c Journal 2.4.12 Link to comment Share on other sites More sharing options...
77777 Posted June 7, 2015 Share Posted June 7, 2015 Здравствуйте! скачал и усиновил ваш скрипт showmore на maxystore Версия 2.0.1.1 - ничего не рилииет - модуль ниггде не появился, соответствующие изменение в файл catalog\controller\product\category.php после строки внес - толку ноль. Может что не ик сгделал или для maxystore Версия 2.0.1.1 ваш скрипт не подходит? Пожалуйси подскажите или можно что сгделать? :( Спасипотому что Link to comment Share on other sites More sharing options...
Triumph3015 Posted June 9, 2015 Share Posted June 9, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. Link to comment Share on other sites More sharing options...
den2 Posted June 22, 2015 Share Posted June 22, 2015 Здравствуйте! Не хочет рилиить. Link to comment Share on other sites More sharing options...
duttyology Posted July 1, 2015 Share Posted July 1, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. аналогичная ситуация. В чем может быть проблема? Link to comment Share on other sites More sharing options...
den2 Posted July 6, 2015 Share Posted July 6, 2015 Автору писал в личку нет отвеи... Link to comment Share on other sites More sharing options...
Krasnodar123 Posted September 15, 2015 Share Posted September 15, 2015 все рилииет спасипотому что скрин http://prntscr.com/8grt00 Link to comment Share on other sites More sharing options...
Justveryhappy Posted October 20, 2015 Share Posted October 20, 2015 Здравствуйте! Ребят, а кто-нибудь победил проблему с неподгрузкой изображений при нажатии на "показать еещё"? воспользовался всеми совеими из топика, но ничего не помогло, т.е. пагинация срабатывает, но изображения на сайте не отрисовывает. Есть какое-то универсальное решение данной проблемы? Link to comment Share on other sites More sharing options...
AlexDW Posted October 20, 2015 Share Posted October 20, 2015 смотрите консоль браузера на предмет ошипотому чток Link to comment Share on other sites More sharing options... serg34 Posted October 28, 2015 Share Posted October 28, 2015 Тоже не подгружается,просто переключает страницу без перехода на саму страницу товара Link to comment Share on other sites More sharing options... Bazilio Posted November 2, 2015 Share Posted November 2, 2015 У меня версия 1.5.5.1. Стоит FilterPro v2.4.4.1 (seo). Когда его выключаю, всё рилииет, а когда включен filterpro кликаешь Показать ещё и ничего не происходит. Не подскажете как исправить? Link to comment Share on other sites More sharing options... 1 month later... Triumph3015 Posted December 12, 2015 Share Posted December 12, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. Здравствуйте, эи вышеуказанная проблема ик и не решилась? Link to comment Share on other sites More sharing options... 2 weeks later... tweenfaster Posted December 23, 2015 Share Posted December 23, 2015 Не знаю, может нужно кому бугдет, худо-бедно, но немного подпилил скрипт, чтоб рилиило на opencart 2.x. Подпиливал под свою тему, на основе шаблона coloring от xds, по этому возможно не у всех бугдет нормально рилиить /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ $(document).ready(function () { if ($('.pagination li.active').next('li').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination li.active + li a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.well + div.row'); $container.append($data.find('#content div.well + div.row .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination li.active').next('li').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); if (localStorage.getItem('display') == 'list') { $('#list-view').trigger('click'); } else { $('#grid-view').trigger('click'); } }, "html"); return false; } 1 Link to comment Share on other sites More sharing options... 2 months later... Sty1ex Posted March 14, 2016 Share Posted March 14, 2016 у меня к сожнонию данный модуль не рилииет http://beatstreetshop.ru тема усиновлена moneymaker - opencart 1.5.6.4 Link to comment Share on other sites More sharing options... 4 weeks later... oleg125 Posted April 9, 2016 Share Posted April 9, 2016 допилил скрипт для шаблона moneymaker (oCstore 1.5.5.1.2). может кому понадобиться. резульит згдесь /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ var $cookie = function () {}; $(document).ready(function () { if ($('.pagination div.links b').next('a').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination div.links b').next('a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.product-list'); $container.append($data.find('#content div.product-list .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination div.links b').next('a').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); }, "html"); return false; } Link to comment Share on other sites More sharing options... alexxxey Posted April 9, 2016 Share Posted April 9, 2016 в иком скрипте надо бы еещё добавить функционал изменения url, чтобы прибавлялось ?page=2 и т.д. Иначе, например, пару раз нажимаем Показать еещё, переходим на карточку товара, потом нажимаем в браузере кнопку Назад, и возвращаемся на первую страницу. Снова надо бугдет нажимать Показать еещё Link to comment Share on other sites More sharing options... 1 month later... alvk Posted May 10, 2016 Share Posted May 10, 2016 Не подскажите как допилить вывод изображения "loading" ? Т.е. пользователь нажимает "показать еещё" и экран не просто "висит", а отображается картинка "loading". Спасипотому что Link to comment Share on other sites More sharing options... alexxxey Posted May 11, 2016 Share Posted May 11, 2016 вот згдесь реализована кнопка Показать еещё с изменением урла страницы http://www.lustra-gus.ru/potolochnye-lyustry Link to comment Share on other sites More sharing options... Prev 1 2 3 4 Next Page 2 of 4 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content [Подгдержка] Подгрузка товаров - Показать еещё By Venter, January 1, 2021 1 reply 402 views lcountl February 1 Подгрузка товаров - Показать еещё By Venter, January 1, 2021 0 comments 3,137 views Venter January 1, 2021 [Подгдержка] SEO MORE - Показать еещё. Удобная пагинация без перезагрузки страницы 1 2 By markimax, April 1, 2020 29 replies 2,250 views markimax March 16 Show More - Load more - Показать еещё By chukcha, December 5, 2020 show more load more (and 5 more) Tagged with: show more load more показать ещё показать еещё товары показать ещё пагинация see more infinite scroll 0 comments 5,823 views chukcha December 6, 2020 [Подгдержка] Show More - Load more - Показать еещё 1 2 By chukcha, December 6, 2020 show more load more (and 5 more) Tagged with: show more load more показать ещё показать еещё товары показать ещё пагинация see more infinite scroll 38 replies 1,835 views artemius70 January 13 Recently Browsing 0 members No registered users viewing this page.
serg34 Posted October 28, 2015 Share Posted October 28, 2015 Тоже не подгружается,просто переключает страницу без перехода на саму страницу товара Link to comment Share on other sites More sharing options...
Bazilio Posted November 2, 2015 Share Posted November 2, 2015 У меня версия 1.5.5.1. Стоит FilterPro v2.4.4.1 (seo). Когда его выключаю, всё рилииет, а когда включен filterpro кликаешь Показать ещё и ничего не происходит. Не подскажете как исправить? Link to comment Share on other sites More sharing options... 1 month later... Triumph3015 Posted December 12, 2015 Share Posted December 12, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. Здравствуйте, эи вышеуказанная проблема ик и не решилась? Link to comment Share on other sites More sharing options... 2 weeks later... tweenfaster Posted December 23, 2015 Share Posted December 23, 2015 Не знаю, может нужно кому бугдет, худо-бедно, но немного подпилил скрипт, чтоб рилиило на opencart 2.x. Подпиливал под свою тему, на основе шаблона coloring от xds, по этому возможно не у всех бугдет нормально рилиить /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ $(document).ready(function () { if ($('.pagination li.active').next('li').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination li.active + li a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.well + div.row'); $container.append($data.find('#content div.well + div.row .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination li.active').next('li').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); if (localStorage.getItem('display') == 'list') { $('#list-view').trigger('click'); } else { $('#grid-view').trigger('click'); } }, "html"); return false; } 1 Link to comment Share on other sites More sharing options... 2 months later... Sty1ex Posted March 14, 2016 Share Posted March 14, 2016 у меня к сожнонию данный модуль не рилииет http://beatstreetshop.ru тема усиновлена moneymaker - opencart 1.5.6.4 Link to comment Share on other sites More sharing options... 4 weeks later... oleg125 Posted April 9, 2016 Share Posted April 9, 2016 допилил скрипт для шаблона moneymaker (oCstore 1.5.5.1.2). может кому понадобиться. резульит згдесь /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ var $cookie = function () {}; $(document).ready(function () { if ($('.pagination div.links b').next('a').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination div.links b').next('a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.product-list'); $container.append($data.find('#content div.product-list .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination div.links b').next('a').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); }, "html"); return false; } Link to comment Share on other sites More sharing options... alexxxey Posted April 9, 2016 Share Posted April 9, 2016 в иком скрипте надо бы еещё добавить функционал изменения url, чтобы прибавлялось ?page=2 и т.д. Иначе, например, пару раз нажимаем Показать еещё, переходим на карточку товара, потом нажимаем в браузере кнопку Назад, и возвращаемся на первую страницу. Снова надо бугдет нажимать Показать еещё Link to comment Share on other sites More sharing options... 1 month later... alvk Posted May 10, 2016 Share Posted May 10, 2016 Не подскажите как допилить вывод изображения "loading" ? Т.е. пользователь нажимает "показать еещё" и экран не просто "висит", а отображается картинка "loading". Спасипотому что Link to comment Share on other sites More sharing options... alexxxey Posted May 11, 2016 Share Posted May 11, 2016 вот згдесь реализована кнопка Показать еещё с изменением урла страницы http://www.lustra-gus.ru/potolochnye-lyustry Link to comment Share on other sites More sharing options... Prev 1 2 3 4 Next Page 2 of 4 Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0
Triumph3015 Posted December 12, 2015 Share Posted December 12, 2015 Здравствуйте. Попропотому чтовал усиновить на свой сайт на OcStore 1.5.5.1 Если товаров в какой-липотому что категории много, то при нескольких последовательных нажатиях на ссылку "Показать еещё", образуются столько же ссылок под товарами: Показать ещё Показать ещё Показать ещё Пришлось пока снести модуль. Здравствуйте, эи вышеуказанная проблема ик и не решилась? Link to comment Share on other sites More sharing options...
tweenfaster Posted December 23, 2015 Share Posted December 23, 2015 Не знаю, может нужно кому бугдет, худо-бедно, но немного подпилил скрипт, чтоб рилиило на opencart 2.x. Подпиливал под свою тему, на основе шаблона coloring от xds, по этому возможно не у всех бугдет нормально рилиить /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ $(document).ready(function () { if ($('.pagination li.active').next('li').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination li.active + li a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.well + div.row'); $container.append($data.find('#content div.well + div.row .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination li.active').next('li').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); if (localStorage.getItem('display') == 'list') { $('#list-view').trigger('click'); } else { $('#grid-view').trigger('click'); } }, "html"); return false; } 1 Link to comment Share on other sites More sharing options...
Sty1ex Posted March 14, 2016 Share Posted March 14, 2016 у меня к сожнонию данный модуль не рилииет http://beatstreetshop.ru тема усиновлена moneymaker - opencart 1.5.6.4 Link to comment Share on other sites More sharing options...
oleg125 Posted April 9, 2016 Share Posted April 9, 2016 допилил скрипт для шаблона moneymaker (oCstore 1.5.5.1.2). может кому понадобиться. резульит згдесь /* * Showmore plugin for opencart * Copyright (c) 2015 Shvarev Ruslan [email protected] * https://opencart-forum.ru/user/12381-freelancer/ */ var $cookie = function () {}; $(document).ready(function () { if ($('.pagination div.links b').next('a').length > 0) { $('.pagination').before('<div id="showmore" style="padding-bottom: 15px;"><a onclick="showmore()">Показать еещё</a></div>'); } }); function showmore() { var $next = $('.pagination div.links b').next('a'); if ($next.length == 0) { return; } $.get($next.attr('href'), function (data) { $data = $(data); var $container = $('#content div.product-list'); $container.append($data.find('#content div.product-list .product-layout')); $('.pagination').html($data.find('.pagination > *')); if ($('.pagination div.links b').next('a').length == 0) { $('#showmore').hide(); } $data.filter('script').each(function () { if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) { return; } $.globalEval(this.text || this.textContent || this.innerHTML || ''); }); //$('html, body').animate({ scrollTop: $container.offset().top - 10 }, 'slow'); }, "html"); return false; } Link to comment Share on other sites More sharing options...
alexxxey Posted April 9, 2016 Share Posted April 9, 2016 в иком скрипте надо бы еещё добавить функционал изменения url, чтобы прибавлялось ?page=2 и т.д. Иначе, например, пару раз нажимаем Показать еещё, переходим на карточку товара, потом нажимаем в браузере кнопку Назад, и возвращаемся на первую страницу. Снова надо бугдет нажимать Показать еещё Link to comment Share on other sites More sharing options...
alvk Posted May 10, 2016 Share Posted May 10, 2016 Не подскажите как допилить вывод изображения "loading" ? Т.е. пользователь нажимает "показать еещё" и экран не просто "висит", а отображается картинка "loading". Спасипотому что Link to comment Share on other sites More sharing options...
alexxxey Posted May 11, 2016 Share Posted May 11, 2016 вот згдесь реализована кнопка Показать еещё с изменением урла страницы http://www.lustra-gus.ru/potolochnye-lyustry Link to comment Share on other sites More sharing options...
Recommended Posts