ajax filter

  • Posts: 22
  • Thank you received: 0
7 years 1 month ago #280877

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.8.1
-- PHP version -- : 7
-- Browser(s) name and version -- : firefox57

Hi
I need to change filter mode from reload page to ajax mode
I've been used Addfullajax plugin for this work, but not work on hikashop filters
please help

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 1 month ago #280915

Hello,

As written in the "addfullajax" description :

Be warned: Plugin may be not fully compatible with some components, modules, plugins and the template frameworks.


Now if you want some dynamic reload of the products in HikaShop ; I'm afraid that you will need to customize the views to implement such features because, it's not available in HikaShop for the moment.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 22
  • Thank you received: 0
7 years 1 month ago #280927

thanks for your answer
is it possible by override in template ? or need to change task in controller?
if may say paths and files that need to changed for ajax filter
thank you

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 1 month ago #280935

Hello,

It should be possible just with view override.
Since we introduced the "infinite scroll", there is already a feature in the controller to perform to make a product listing compatible with "ajax" loading.
So it would be mainly JS code in the view.

www.hikashop.com/support/documentation/1...-display.html#layout
www.hikashop.com/support/documentation/5...g.html#advanced_main (setting "display view files")

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 22
  • Thank you received: 0
7 years 1 month ago #280962

thanks
I will try for it

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

  • Posts: 103
  • Thank you received: 5
5 years 9 months ago #303733

Jerome wrote: it's not available in HikaShop for the moment.

so that means hikashop core get ajax loading views, like for filters?
if yes, do you have any timeframe for this?
would be cool when you could bring this together with the grid-list-view-switcher:
www.hikashop.com/forum/product-category-...t-view-swticher.html

Last edit: 5 years 9 months ago by n00bster.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
5 years 9 months ago #303736

Hi,

There are already many ajax loading views in the core of HikaShop: checkout, add to cart, address manager, product edition, order edition, etc.
So I'm not sure what you mean.

The "grid / list view switcher" is something we could add but it actually doesn't require any ajax loading.
If you check how it works in templates adding it, they just change the CSS to have the listing switch between several columns of products and one column, and some other CSS to have either the elements of each product vertical, or horizontal.
We could add that in the future, and we want to, but it has nothing to do with ajax loading.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum