filter value predefined

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256149

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.5

Hi
I want to show some product item in frontend base on customfield for specific value of custom field without let end user select or change the value .
is there a way to use fitter not to let end user configure the filter in the frontEnd but that dev could set all parameters in the Backend ?
I want to dev could configure the module ( hikashop filter) that ll be use ( active) in the frontEnd but not be visible in the front End !
regards

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 11 months ago #256172

Hi,

If you turn on the "redirect POST mode" setting of the HikaShop configuration, when you use a filter, you can see the extra parameters on the address bar of your browser when you use filters.
So once you have the URL you want to access the products listing like you want, remove the display of the filters from the menu item and you have your products listing filtered like you want.
However, it can't be done on modules as modules are not affected by filters. It has to be done for a menu item.
Or you setting some kind of ajax module to load the content of the filtered URL in the module.

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

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256209

Hi
Thank's a lot Really strange documentation : the capture screen is not update but the text is update to the actual gui backend !! .
here now 27 november the capture screen of hikashop documentation about configuration -> advanced setting and below the comparison




So advice is clear , take care that capture sceen are not update but text doumentation is update !

Attachments:

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

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256210

All discussion need to understand the environnement :
$_GET='item'; variable/value are set by the browser in the bar url http:/xx.yy.zz/index.php?var=value

$_POST='mypost'; variable/value are not show in the bar adress ( use for password , upload file, sensible value )

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

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256250

Really nice trick ....
Since module can be a link between the menu and the filter ( id menu to use inside module) , i achieve to see the URL to use without configure the menu to show the filter. Does this method is also valid for find the url with parameters ?

You write :"However, it can't be done on modules as modules are not affected by filters. It has to be done for a menu item."
So how it can be done ? The problem is i can't add option name/value to the URL of menu item of type product list ! the field of label name link is not editable !! 544 is already the id of the menu so i think i don't have to enter this variable/value ....

Attachments:
Last edit: 7 years 11 months ago by lionel75.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 11 months ago #256271

Hi,

1. We can't redo the captures each time we add a new option, it takes too much time. We only take new captures when the interface really changes. We'll do it for HikaShop 3.0 actually for the HikaShop configuration documentation.

2. Create a new menu item of the type "External URL" and enter the URL there: docs.joomla.org/Help36:Menus_Menu_Item_External_URL

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

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256342

Hi
1-if i know now that the capture screen is not update but text information is ..... i don't care if i KNOW that the information is like this ( an now i know ) . I read some post about e-commerce web service ( cms , php , framework) that claim that e commerce is a big task and a lot of object type/context to manage ( tva , cookies law..... ) so i understand now more the complexity of all this . I really like hikashop and support. Until now i ll stop send in forum post about non update capture screen in documentation . Ctrl F( find) is the way to easy go to the item field group/ tab and very quick .

2-thank's i ll read this


You ask community to do translation why not ask community for update documentation capture screen .or text
I don't know if this make sense since perhaps you choice could be rewrite from scratch instead update the article but wikipedia don't work like this .
in a way microsoft let end user add comment on each article so it is a kind of documentation that prevent user to modify the official documentation .
I already see for some tool a user wiki documentation so it can be an other way to use the community .

regard's

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 11 months ago #256375

Hi,

That's actually a good idea. We'll think about that. Thanks for the feedback.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum