- Posts: 98
- Thank you received: 2
Merge the product_code filtering with product_name
Is this hard to implement? Maybe you can tell me how to edit the file
Any help is appreciated.
Please Log in or Create an account to join the conversation.
Via the menu Display > Filters, you can create a new one filter with the type "text" and for the "apply on" option you can select many values, in your case "product_name" and "product_code".
No code is needed
Please Log in or Create an account to join the conversation.
Xavier wrote: Hi,
Via the menu Display > Filters, you can create a new one filter with the type "text" and for the "apply on" option you can select many values, in your case "product_name" and "product_code".
No code is neededIf you can't select many values, thanks to update your HikaShop version.
Thank you! I didn't know I could select multiply types:)
But I got a next question. Is there a way to make something like this? 365psd.com/wp-content/uploads/2011/05/search-field.jpg so as I could comment what is this field intended for?
Please Log in or Create an account to join the conversation.
Yes, with some CSS and some override you can customize the display of the filter.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Jerome wrote: Hi,
Yes, with some CSS and some override you can customize the display of the filter.
Regards,
Thank you! Will dig it up!
Please Log in or Create an account to join the conversation.
Jerome wrote: Hi,
Yes, with some CSS and some override you can customize the display of the filter.
Regards,
Hi there! I decided to do it via "<input type search placeholder="Some Text">
I edited line 1133 of the administrator/components/com_hikashop/classes/filter.php
And made this edition:
Everything seems to work. But due to the fact I am COMPLETELY new to the php (don't even realize how did I get this work) could you please check how valid my edition is? Big thank you in advance.
Please Log in or Create an account to join the conversation.
Well, your modification should work, I recommend you to add quotes around "search".
Modification of the filter type (javascript generated), modification of the view "filter | form_option" in the backend, in order to add the new options.
But your current code looks good.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Is there a more simple way 4 years later? Can I add something to the filter view?
Or can you please make a small improvement to the filter under Display>Filters (type text) to add an extra placeholder field?
So we could use that, because I think a lot of people would like to have a placeholder for the type text.
Hope to hear from you.
Kind regards,
Lumiga
Kind regards,
Lumiga
Please Log in or Create an account to join the conversation.
There is no option for that for now so you would have to edit the filter view.
However, that's a good idea. We'll look at adding an option for that in the next version of HikaShop which is to be released soon.
Please Log in or Create an account to join the conversation.
Kind regards,
Lumiga
Please Log in or Create an account to join the conversation.
Kind regards,
Lumiga
Please Log in or Create an account to join the conversation.