Pass filter parameter in URL

  • Posts: 75
  • Thank you received: 12
8 years 2 months ago #250608

-- url of the page with the problem -- : eaurenaissance.com/v2eau/fr/refroidisseu...e/refroidisseurs-eau
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.64
-- Browser(s) name and version -- : Chrome

Hi
If I have a product listing page with a filter in it, how can I call that URL/page directly with a preset filter value ?
www.domain.com/product_page?filterparam= ... ?
Thanks
Danny


Danny Malouin
BeNu - Digital success agency
benu.ca

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

  • Posts: 846
  • Thank you received: 92
8 years 2 months ago #250611

hi
create item menu and see options available !
regard's

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

  • Posts: 75
  • Thank you received: 12
8 years 2 months ago #250613

?

This is a menu item. It's a product listing menu with a filter activated in it based on categories.

I want to call this page from another page all while passing one of the filter values in the URL

Danny


Danny Malouin
BeNu - Digital success agency
benu.ca

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 2 months ago #250645

Hi,

Turn on the "redirect POST mode" setting of the HikaShop configuration and you'll get the filter parameters in the URL when you use them and you'll be able to use these URLs to directly access filtered products listings.

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

  • Posts: 75
  • Thank you received: 12
8 years 2 months ago #250664

Ah OK, I C !
I wonder what else this affects though ?
Anyway, it works. I'll test some more
Thanks
Danny


Danny Malouin
BeNu - Digital success agency
benu.ca

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

  • Posts: 27
  • Thank you received: 4
7 years 5 months ago #272502

I have a slightly different problem: the filter parameters in the URL have their ID attached at the end.

Like, filter_Series_3.
How can I remove the _3?

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 5 months ago #272504

Hi,

Go in PHPMyadmin, open the hikashop_filter table and change the namekey of the filter to what you want.

The following user(s) said Thank You: fengel

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

Time to create page: 0.082 seconds
Powered by Kunena Forum