Display a list of products page filtered by the value of a field

  • Posts: 202
  • Thank you received: 3
  • Hikashop Business
3 years 7 months ago #323383

-- HikaShop version -- : HikaShop Business 4.3.0
-- Joomla version -- : Joomla! 3.9.19
-- PHP version -- : 7.2.33
-- Browser(s) name and version -- : Google Chrome 84.0.4147.135

Hello,

Here is what I want to do on my site of functionality and display: url below
ohlala-sellerie.com/collections/nouveautes

When you click on the "nouveautes" tab, the page displays all the products filtered by "nouveautes"


On my current project, I have 4 different pages which have exactly this functionality, i.e. filtering all the products, each page by a different field:
novelty
must-have
used corner
end of series


So I started by making a page: must-have -> see link of my site which I put in private (there is an apache security, I must give you the 2 identifiers to enter, tell me how you please provide them privately)
I created a custom field, then create a filter on this custom field, then create a menu item on the products, following the Hikashop documentation:

www.hikashop.com/support/documentation/1...-filter-listing.html
www.hikashop.com/support/101-hikashop-filter-listing.html

But as you can see on my site, this displays all the existing filters at the top of the page: but what I want is that the "Must-have" page displays the products directly filtered by the "novelty" field checked to "yes" -> in fact I would like that when we click on the tab "must-have", it directly displays this:

dev.aerolithe.fr/fr/must-have?limitstart...filter_Must_Have_3=1

Can you guide me for the correct method to follow please

Before posting to the forum, I searched the forum if this question was asked, but couldn't find

thank you

Agathe

Attachments:
Last edit: 3 years 7 months ago by nicolas.

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
3 years 7 months ago #323385

Hi,

HikaShop by itself cannot do that.
You can configure a product listing displaying all the products on the website and then, have a filter on it, which will add a parameter to the URL and you can create a second menu item "external URL" which would direct to that page.
However, the URL will look like dev.aerolithe.fr/fr/xxx?limitstart=0&fil...filter_Must_Have_3=1
where xxx is the alias of the first menu item.
To change the URL dev.aerolithe.fr/fr/xxx?limitstart=0&fil...filter_Must_Have_3=1 to
ohlala-sellerie.com/collections/must-have it would require the use of a SEF URL alias system like the one in sh404SEF which converts a non SEF URL to a SEF URL which can be anything you want.

The following user(s) said Thank You: pulsarinformatique

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

  • Posts: 202
  • Thank you received: 3
  • Hikashop Business
3 years 7 months ago #323637

Hello Nicolas,

Thank you so much,

it works very well !



how I can put that the subject is solved please ?


Agathe.

Last edit: 3 years 7 months ago by pulsarinformatique.

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
3 years 7 months ago #323639

Hi,

Great !
You can add [solved] to the subject of your first message.

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

  • Posts: 202
  • Thank you received: 3
  • Hikashop Business
3 years 7 months ago #323677

Hi Nicolas,


I added the text in the subject, and modified the icon:



however we do not see anything after having recorded:

Agathe

Attachments:

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
3 years 7 months ago #323685

Hi,

You're right, I can't change your subject title either. Maybe a glitch or setting of kunena.
No worries, you can just set the tick icon and that will do.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum