• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 02, 2025, 01:42:17 pm

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Ragin

1
No ideas?
2
After trying this I can't see any changes in the frontend.

I get the categories by manufacturer and set them with ProductMgr:

Category[] catArr = CategoryHelper.filterCategoriesByAllManufacturer(kkAppEng, manuId, Constants.COMMON_MANUFACTURER);
kkAppEng.getProductMgr().setCurrentCategories(catArr);


The CategoryHelper returns a combined CategoryIf Array with the all categories filtered by manufacturer (manuId) and the "all" manufacturer. After getting this array I set it into the engine. Same doing with products where it works wonderful. I'm setting the categories in the SelectCategoryAction1.java class.

What can be the problem with that? I'm lost in this problem...  :-\
3
Thanks. How longer I think about, I think this possibility is usable. I do the same thing for multiple products but I hoped that there will be a better alternative than raping the api for such simple things.
4
Hmmm....yes. The multiple manufacturers are defined by me and the user. The customer can choose the manufacturer he wants. And I extend this list with the "all" manufacturer.
And as result after selecting one I want to show only categories that are not empty after filtering. If I show the number of products in this category or not doesnt matter. Important for me is that the user can klick on every displayed (sub-)category and there is everytime a product and not an empty site or a message like "Sorry, nothing here...".
5
Hi,

I have a problem with empty filtered categories. My categories have more than one level and so I want to hide empty categories after filtering by manufacturer (or more filter). The problem is, that I only can hide empty categories in JSP code because the possibility I've found was to do that by "numberOfProducts". But this only allows me to hide general empty categories.

A special at this shop is also that I need multi-manufacturers. That means that I am filtering by the choosen manufacturer and also by a global (all) manufacturer. To become a good result I get this informations in a customMgr as two seperate lists and convert them into the CategoryIf array, which I apply to the kkAppEng.

Has anyone a solution for that? It must be possible to see how much products after filtering are in a category...

Thanks!