Problem with right display of price filter
11 years 8 months ago #190892
by gioxd
Display price filter was created by gioxd
-- url of the page with the problem -- :
www.laputea.com/it/
-- HikaShop version -- : 2.3.5.
-- Joomla version -- : 3.3
-- Error-message(debug-mod must be tuned on) -- : Warning: in_array() expects parameter 2 to be array, string given in .../administrator/components/com_hikashop/classes/filter.php on line 421
Hi,
i have a problem with price filter.
Have 1 year that does not change the filters and has always worked! Today I decided to change the values of the filter prices, and when I've saved, the filter don't appears!
The filter only works price in cursor mode.
Activating the error report from the control panel of joomla I found this error, but I do not know how to fix it:
-- HikaShop version -- : 2.3.5.
-- Joomla version -- : 3.3
-- Error-message(debug-mod must be tuned on) -- : Warning: in_array() expects parameter 2 to be array, string given in .../administrator/components/com_hikashop/classes/filter.php on line 421
Hi,
i have a problem with price filter.
Have 1 year that does not change the filters and has always worked! Today I decided to change the values of the filter prices, and when I've saved, the filter don't appears!
The filter only works price in cursor mode.
Activating the error report from the control panel of joomla I found this error, but I do not know how to fix it:
Code:
Warning: in_array() expects parameter 2 to be array, string given in ...l/administrator/components/com_hikashop/classes/filter.php on line 421
Please Log in or Create an account to join the conversation.
11 years 8 months ago #190952
by nicolas
Replied by nicolas on topic Display price filter
Hi,
I don't see anything on line 421 of the filter.php file for HikaShop 2.3.5 take.ms/EGMaR
Download the install package via the menu My account > My subscriptions on our website and install it again on your website and try again to save you filter and see if you still get that error and if so, on which line.
Also, if you still have the issue, please provide a screenshot of the settings of your filter.
I don't see anything on line 421 of the filter.php file for HikaShop 2.3.5 take.ms/EGMaR
Download the install package via the menu My account > My subscriptions on our website and install it again on your website and try again to save you filter and see if you still get that error and if so, on which line.
Also, if you still have the issue, please provide a screenshot of the settings of your filter.
The following user(s) said Thank You: gioxd
Please Log in or Create an account to join the conversation.
11 years 8 months ago - 11 years 8 months ago #191014
by gioxd
Replied by gioxd on topic [SOLVED] Display price filter
sometimes the most simple solution is the most effective. Do not know what happened, but reinstalling hikashop the problem is solved.
Thank You
But I have another question. I can bring up the filters only list products and not on the description page of the product? The question is because when the user is on the description page of the product, filters are no longer needed and may cause confusion among customers. It is not a serious problem, it's just a finesse!
Thank You
But I have another question. I can bring up the filters only list products and not on the description page of the product? The question is because when the user is on the description page of the product, filters are no longer needed and may cause confusion among customers. It is not a serious problem, it's just a finesse!
Last edit: 11 years 8 months ago by gioxd.
Please Log in or Create an account to join the conversation.
11 years 8 months ago #191018
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic [SOLVED] Display price filter
You are using a filter module, so this thread applies to your case, too:
www.hikashop.com/forum/product-category-...n-products-page.html
In short, the NoNumber "Advanced Module Manager" (Pro version) would allow you to exclude the filter module from displaying on product pages.
In short, the NoNumber "Advanced Module Manager" (Pro version) would allow you to exclude the filter module from displaying on product pages.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: gioxd
Please Log in or Create an account to join the conversation.
11 years 8 months ago #191072
by gioxd
Replied by gioxd on topic [SOLVED] Display price filter
Thank You for the answers! But I do not want to spend 25 € for resolve a "small problem". This feature could not be expected in the next update of Hikashop? I think it is obvious to expect that the filters do not appear on the product page. What do you say?
Please Log in or Create an account to join the conversation.
11 years 8 months ago #191073
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic [SOLVED] Display price filter
I'd say, one could argue if it's obvious or not for filters to not appear on product pages. i can think of many other modules on listing pages that are making even less sense on product pages. All of which AMM can deal with.
I'd also say, considering that AMM was € 50 until a few weeks ago, what else it does for you, and that it's for a truly "unlimited" license, € 25 is a steal.
Why not pay extra for a good, well supported product providing extra functionality? You and I have done so with HikaShop Business, and at least I have happily done so with NoNumber for AMM and other extensions as well.
I'd also say, considering that AMM was € 50 until a few weeks ago, what else it does for you, and that it's for a truly "unlimited" license, € 25 is a steal.
Why not pay extra for a good, well supported product providing extra functionality? You and I have done so with HikaShop Business, and at least I have happily done so with NoNumber for AMM and other extensions as well.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
11 years 8 months ago #191075
by nicolas
Replied by nicolas on topic [SOLVED] Display price filter
Hi,
You actually don't need to use AMM Pro to do that. You can do it with the free version too.
For that, simply use the URL filtering regular expression option of AMM in the filter module so that it would only display on listings and not product pages.
In fact, you actually don't need AMM at all. As you say, in most cases, you want the filters on the listing and not on the product page. That's why by default, the HikaShop filter module is deactivated and the display of the filters at the top of the products listings is activated in HikaShop. That way, you get the filters on the listings but not on the product page. But then you're stuck with the filters at the top of the listings as HikaShop has no control on the display of the modules in other areas of the template and Joomla doesn't have the capability to filter the display of modules per page.
You actually don't need to use AMM Pro to do that. You can do it with the free version too.
For that, simply use the URL filtering regular expression option of AMM in the filter module so that it would only display on listings and not product pages.
In fact, you actually don't need AMM at all. As you say, in most cases, you want the filters on the listing and not on the product page. That's why by default, the HikaShop filter module is deactivated and the display of the filters at the top of the products listings is activated in HikaShop. That way, you get the filters on the listings but not on the product page. But then you're stuck with the filters at the top of the listings as HikaShop has no control on the display of the modules in other areas of the template and Joomla doesn't have the capability to filter the display of modules per page.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #193909
by gioxd
Replied by gioxd on topic [SOLVED] Display price filter
I bought advance module of No number and I must admit it did very well. So I solved the problem of the filters and also some other little problem
Please Log in or Create an account to join the conversation.
7 years 7 months ago #304230
by geogeo
Replied by geogeo on topic Problem with right display of price filter
Please Log in or Create an account to join the conversation.
7 years 7 months ago #304233
by nicolas
Replied by nicolas on topic Problem with right display of price filter
Hi,
Such issue is usually caused by some CSS of the template.
We would need to look directly at that page and analyse the CSS there to be able to tell you exactly what to do.
Could you provide a link to that page ?
Such issue is usually caused by some CSS of the template.
We would need to look directly at that page and analyse the CSS there to be able to tell you exactly what to do.
Could you provide a link to that page ?
Please Log in or Create an account to join the conversation.
7 years 7 months ago #304294
by geogeo
Replied by geogeo on topic Problem with right display of price filter
Here is the link
www.giakourtines.gr/kourtinoksila/nikel
Thank you
Thank you
Please Log in or Create an account to join the conversation.
7 years 7 months ago #304305
by nicolas
Replied by nicolas on topic Problem with right display of price filter
Hi,
You'll have to add that CSS to counteract the CSS of your template:
www.hikashop.com/support/documentation/1...ize-the-display.html
You'll have to add that CSS to counteract the CSS of your template:
Code:
.hikashop_filter_cursor_span, .hikashop_filter_title{
display: inline !important;
float: none !important;
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.174 seconds