Infinite scrolling in the product category

  • Posts: 148
  • Thank you received: 4
11 years 11 months ago #117690

Hi,
How i can do a infinite scrolling in the product category
like this plugin for joomla
shop.elleseo.ru/plugin-ajax-scroll-joomla

Please Log in or Create an account to join the conversation.

  • Posts: 84046
  • Thank you received: 13621
  • MODERATOR
11 years 11 months ago #117694

Hi,

There is no option to do that for now with HikaShop products listings.
That would require custom development.

It's something we have on our todo list.

Please Log in or Create an account to join the conversation.

  • Posts: 115
  • Thank you received: 8
11 years 11 months ago #117700

Really useful option. I hope it will be implemented in Hikashop :-)


my project ibaby.com.ua

Please Log in or Create an account to join the conversation.

  • Posts: 148
  • Thank you received: 4
11 years 11 months ago #117702

Ok,
Thanks,
You can delete this topic for clear the forum
___________________
If some-body need this addon, you can use this plugin styleware.eu/store/item/61-infinite-scroller-plugin
This extention work with hikashop

Last edit: 11 years 10 months ago by tefun.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 10 months ago #118007

Hi,

I don't see the compatibility with HikaShop on the product page, do you have more informations ?

Please Log in or Create an account to join the conversation.

  • Posts: 148
  • Thank you received: 4
11 years 10 months ago #118096

Hi,
@ Xavier
On this topic about infinite scrolling, but on the russian language.
www.hikashop.com/forum/11-russian/860781.html
Moderator Progreccor said this plugin compatibility with HikaShop.
Progreccor said it is universal plugin, can work with all content, if it include word "further", or "Next".

I didn't use it because i can't buy them quikly, i am from Kazakhstan.
__________________________
Ok,
andersonferminiano.com/jqueryscrollpagination/
or
jscroll.com/
And other scrypts for infinite scrolling megahitmag.com/free-infinite-scrolling-jquery-plugins/
This is jqvery scrypt fo infinite scroll.
I will try to install it for my web-site.
If it will done good, i will post resalts.

If any-body know, how i can do this quikly, please tell me

Last edit: 11 years 10 months ago by tefun.
The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 10 months ago #119639

Hi,

You probably have to set the pagination to maximum in order to display all the elements in one page.
And edit the view "product / listing" to add the code of the previous links.

The following user(s) said Thank You: tefun

Please Log in or Create an account to join the conversation.

  • Posts: 148
  • Thank you received: 4
11 years 10 months ago #119753

Hi, Xavier.
I will try thanks

Please Log in or Create an account to join the conversation.

  • Posts: 148
  • Thank you received: 4
11 years 10 months ago #119755

but i think
" to set the pagination to maximum in order to display all the elements in one page"
not correct, cause the scrypt must cklick to navigation in the pagination himself.

that work this plugin shop.elleseo.ru/plugin-ajax-scroll-joomla
You set the pagination in categories and the scrypt click to NEXT 1,2,3,4,5,6

Please Log in or Create an account to join the conversation.

  • Posts: 114
  • Thank you received: 14
11 years 9 months ago #122541

tefun wrote: but i think
" to set the pagination to maximum in order to display all the elements in one page"
not correct, cause the scrypt must cklick to navigation in the pagination himself.

that work this plugin shop.elleseo.ru/plugin-ajax-scroll-joomla
You set the pagination in categories and the scrypt click to NEXT 1,2,3,4,5,6


I don't think that this plugin will work with HikaShop due to the way that pagination is handled. None of the infinite-scrolling plugins that I have looked at will as they are all based on a common source. The reason that they will not work is that there is no 'href' attribute assigned to the 'next' link in the HikaShop pagination so the plugin doesn't know where to read the data from for the next page. Instead of the href attribute HikaShop passes post vars by the onclick event handler.

I'm in the middle of writing a plugin for infinite scrolling for my own shop. It's currently working on my test site but needs a little tidying up before releasing in the wild. I will post it up on my site once finished.

The only caveat that I have found so far with using infinite scrolling is that ideally you need to disable the pagination memory as it has some adverse effects when returning to the page (blank content). The pagination memory is easily disabled as documented here - www.hikashop.com/forum/2-general-talk-ab...gination-memory.html


/DM

Last edit: 11 years 9 months ago by DeeEmm.
The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

  • Posts: 29
  • Thank you received: 3
10 years 10 months ago #168359

You could have tell us that your plugin is ready. I bought and test it today. It works great. Thanks for this useful plugin.

I have noticed anyway a few modification to debug my version which was not working.

At the line 19 of the dm_hika_scroll.php, you can add:

if (JRequest::getVar('option') == 'com_hikashop'|| JRequest::getVar('option') == 'com_hikamarket') {
....
}
So that your plugin will also work with Hikamarket! ;-) a few more clients for you! ;-)

And I also placed
//add infinite-scroll configuration params to document        
$content= ....
and
 $doc->addScriptDeclaration($content);
Before your switch. Or when you called:
$doc->addScript(JUri::root() . '/plugins/system/dm_hika_scroll/js/dm.infinitescroll.js');
It didn't know the config params and didn't work.

Hope this helped.

Working demo on www.alacaverne.com

Thanks for all


--
MAKE DIFFERENT, l'Agence web différente, Cergy.
Last edit: 10 years 10 months ago by MAKEDIFFERENT.
The following user(s) said Thank You: Jerome

Please Log in or Create an account to join the conversation.

Time to create page: 0.119 seconds
Powered by Kunena Forum