Filter module not showing on "All Products" page.

  • Posts: 39
  • Thank you received: 0
13 years 3 days ago #53911

I have a module set to display in the right hand column of all pages of my website. At present i only have a few pages; home, another unrelated to hikashop, 3 individual product pages and a "Shop" (i.e. product listing) page which is set to display all products. This last page is obviously the main one that i want to have filters visable on, however it is the only page on my site where, for some reason, the filters module doesn't show. Why would this be and how i do enable the module to show on this page? Please let me know if you need more info.

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

  • Posts: 39
  • Thank you received: 0
13 years 2 days ago #53979

Bump

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
13 years 1 day ago #54067

Please note that each time you bump, it goes at the top of the queue. Unless we didn't answer for 2 days, you should avoid dumping or you'll have to wait longer for an answer, defeating the purpose of what you want.

Please check the module's joomla options. If you assigned it to only the other menus it would explain why you don't see it on that particular menu.

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

  • Posts: 39
  • Thank you received: 0
13 years 1 day ago #54071

Ok, sorry about that.

The module is set to appear in all menu items already and still doesn't show. Unlike other hikashop modules, it isn't visible in the modules section of Hikashop.

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

  • Posts: 39
  • Thank you received: 0
12 years 11 months ago #54438

Can i get some help please? It's been more than 3 days now.

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
12 years 11 months ago #54564

The fact that it's not visible in the HikaShop modules section is normal.
The currency switcher is not there either so it's not the only one not visible here.

If it doesn't display on one particular page even though you set it to display on all the pages, all I can think of is that the position that you set it in is not available in your template for that particular page.
For example, it's often the case that the home page uses different module positions than other pages of the website. It's the case on our website.

Could you check that and give a link to your shop so that we can see the problem ?

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

  • Posts: 39
  • Thank you received: 0
12 years 11 months ago #54898

My site is currently on my local pc only. It is the same template for the rest of the site (apart from the home page but i haven't got the filter set to show there so that's irrelevant).

Here's the exact set up: I have a link called "Shop" on my main menu that runs on the top of all pages. That links to Hikashop "Products Listing". "Product" is the type of content it displays. I have a module made to display the filters for Hikashop. This is set to appear on all menu items. It doesn't show on the homepage since it doesn't contain the module name because it's a different template. It appears on all other pages (these all share a different template to the homepage) except for the Hikashop Products Listing page. I'm using Joomla 1.5. I've attached 2 images. e1.jpg shows how the filter displays while visible. e2.jpg shows the products page and how the space is there for the module to display but it isn't showing.

Also, if i click on one of the products on the listings page so i go to the individual product's page, the filter IS visible there. So it's only on the listings page for all the products that it isn't showing.

Update: I went in to the menu options for the shop and tried changing some things. When i changed the content display from product to something else i had different results. For Product and Category the filters don't show, however they DO show when it's set to manufacturer. Perhaps you might know why it won't display for products but will for manufacturer?

UPDATE 2: After some further playing around i set the associated category in Hikashop>Display>Content Menus>Shop to All Products. This has made the filters show in the module position, however it also shows filters above the content (see e3.jpg). How do i set it to just display in the module?

Attachments:
Last edit: 12 years 11 months ago by 2ndrendermedia.

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
12 years 11 months ago #54976

If you want to hide the filters at the top of the products listing that's easy, you can add such CSS (replace the X by the id of your menu) in the front end CSS file of HikaShop via the Display tab of the configuration :
#hikashop_category_information_menu_X .hikashop_filter_main_div{ display:none; }

The following user(s) said Thank You: 2ndrendermedia

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

  • Posts: 39
  • Thank you received: 0
12 years 11 months ago #55617

Thanks for that. It worked perfectly.

I have another issue that i can't work my head around that i'm sure is quite simple and just an error in how I've got something set up. At the moment i have two filters set up within my filters module. They are Size and Manufacturer. For some reason, when I'm on the All Products page the size filter doesn't show, however it DOES show once i go in to an individual product page. Do you have any idea of what could be causing this?

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
12 years 11 months ago #55731

It's probably because you have activated the "dynamic display" option of that filter.
You should check on it.
If that doesn't solve the problem, please give a link to that page and a screenshot of your filter's options.

The following user(s) said Thank You: ians

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

  • Posts: 39
  • Thank you received: 0
12 years 11 months ago #55808

Unfortunately this didn't work. I've attached some screenshots for you.

r1 shows my menu options for the page that displays all products. (Menu is HikaShop » Product / Listing)
r2 shows the filter module options.
r3 shows the "size" filter options.
r4 shows the "Brand" filter options.

Let me know if you need to see anything else.

Attachments:
Last edit: 12 years 11 months ago by 2ndrendermedia.

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
12 years 11 months ago #55883

I cant see that you have the "dynamic display" option turned on for your filters... Please turn it off.
Also, please remove the "category" restriction (third option) of each filter.

That will probably help a lot.

The following user(s) said Thank You: ians

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

  • Posts: 39
  • Thank you received: 0
12 years 11 months ago #55946

Thank you again. This has fixed the issue. I have one further question (as far as i can tell). The website I'm making sells clothes. Let's say i don't have a top in a size 12 in stock. I go to "Manage Varients" and unpublish the size 12 version of that top. Now, on the item page when someone selects size 12 it says "No stock" which works fine, however if i use the "Size" filter and search for tops in size 12, the product still shows up in the results. To stop the product showing i have to delete the size 12 version of it in the "Manage Varients" section.

Is it possible to stop the top showing in results when someone selects size 12 if the size 12 version is unpublished but not deleted? This would make it much easier for me if i can simply unpublish a top when there's no stock and republish when it's back and have filter results reflect this rather than having to delete and remake each time.

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
12 years 11 months ago #55977

That will require a code modification.

Change the line:
$on.=' LEFT JOIN '.hikashop_table('product').' AS c ON b.product_id=c.product_parent_id LEFT JOIN '.hikashop_table('variant').' AS '.$filter->filter_namekey.$i.' ON '.$filter->filter_namekey.$i.'.variant_product_id=c.product_id';

to:
$on.=' LEFT JOIN '.hikashop_table('product').' AS c ON b.product_id=c.product_parent_id AND c.product_quantity!=0 LEFT JOIN '.hikashop_table('variant').' AS '.$filter->filter_namekey.$i.' ON '.$filter->filter_namekey.$i.'.variant_product_id=c.product_id';

in the file administrator/components/com_hikashop/classes/filter.php and try again.

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

  • Posts: 39
  • Thank you received: 0
12 years 11 months ago #56099

Thanks but it doesn't seem to have made a difference. Unpublishing one of the size varients still doesnt stop that product from showing when that specific size is searched for using the filter.

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
12 years 11 months ago #56157

Then please add the line:

$filters[]=' c.product_quantity!=0 ';

after that line in the same file.

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

  • Posts: 39
  • Thank you received: 0
12 years 11 months ago #56878

Unfortunately this hasn't worked either.

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
12 years 11 months ago #56952

I don't have another idea.
The last modification I proposed sounded like a good way to do it.

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

  • Posts: 39
  • Thank you received: 0
12 years 11 months ago #56990

Ok, thanks any way.

It seems filters are my curse when it comes to my site. I have another filter related question.

I'm trying to create a price filter. If i use checkboxes (or almost anything else) it doesn't show up on my filters module. However if i use a curser, the title "Price" shows up along with the designated height for the filter but nothing else, just empty space. Also, when i try with checkboxes I'm not sure what I'm supposed to be typing in to the values. When ever i save, the values disappear.


I'd also like help with something else related to filters. The site I'm making is for a customer who sells clothes. She'd like customers to be able to search (using filters) for items by colour, dresses by day, evening and cocktail. Is there a way to do this? I need to set these characteristics without them being a choice a customer can make on a product page like the size is.

Last edit: 12 years 11 months ago by 2ndrendermedia.

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
12 years 11 months ago #57041

Hi,

If the filter don't know up, it means that something is not configured properly in it.
Hard to say why without a screenshot of how you configured it.

What you want is to create custom fields of the table "product" via the menu Display->Custom fields so that in your products edition page, you can select the characteristics of your product. Then, you can create filters based on these fields so that your customers can filter the listings based on them.

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

Time to create page: 0.090 seconds
Powered by Kunena Forum