Skip to main content

is there a more user friendly way to pick categories for products?

8 years 11 months ago #282699 by karendunne
-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.2
-- PHP version -- : 7.0.25
-- Browser(s) name and version -- : Chrome

The product entry field for choosing categories is very small and has a limited view. See screen shot: take.ms/iZGgXhttp://take.ms/iZGgX

I presume others have found this to be challenging as well so I'm wondering if there's a solution that already exists to make it easier to see and physically pick from, e.g. a modal, or a list that shows all at one time, or ability to multi-select, etc.

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

8 years 11 months ago #282705 by Jerome
Hello,

1 - You can write some text in the "namebox" to perform a search.
2 - When clicking on a category for selection, if you press the "ctrl" button, you will select the item and not close the namebox
3 - You can still use some CSS in order to make the zone bigger.
4 - Using a view override you can add the parameter "depth" in order to pre-load more levels of categories.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

8 years 11 months ago #282738 by karendunne
Thank you Jerome. I added some CSS and made use of the cmd key (it was the cmd key on a mac, might be the ctrl key on windows). That was helpful.

Is there a way to have it default so that all folders are already expanded? Meaning the user doesn't have to click on the + box to show the child folders. See take.ms/dok1K
Perhaps that is what you were referring to about the parameter "depth" but I am not clear on that. What does it mean to pre-load more levels of categories?
Would the product / selectcategory.php file be the correct file to override?

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

8 years 11 months ago #282771 by nicolas
Hi,

Yes, the depth parameter Jerome was talking about is what you need for that.
It's a parameter you can add to the list of parameters used when loading the selector:
Code:
hikashopNameboxType::NAMEBOX_MULTIPLE, 'category', array( 'delete' => true, 'sort' => true, 'default_text' => '<em>'.JText::_('HIKA_NONE').'</em>', 'tooltip' => true, ) );
You can find that code in the file "form" of the view "product" via the menu Display>Views.
To easily know which view file to edit, you have the "display view file" setting of the HikaShop configuration. I invite you to try it.

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

Time to create page: 0.045 seconds
Powered by Kunena Forum