default filter checkbox

  • Posts: 23
  • Thank you received: 1
5 years 5 months ago #299317

-- HikaShop version -- : 4.0
-- Joomla version -- : 3.8
-- PHP version -- : 7.0

Hello, there any way to create a filter with a default value from a custom field wo is a checkbox?

Thank you

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
5 years 5 months ago #299320

Hi,

You mean that you want the filter to be preselected directly when you arrive on the listing ?
You would have to change the URL of the products listing to include the parameter corresponding to that filter and that value.
To do that, first you want to activate the "redirect POST mode" setting of the HikaShop configuration.
Then, use the filter to select that value you want as default.
Then, get the URL in the address bar of your browser and you can use that URL as your menu item to access the products listing with the filter value pre selected as default.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum