Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Search page results options
Next Page
Author « Topic »
Page: of 2

clivewalker
Ecommerce Template Expert

United Kingdom
686 Posts

Posted - 04/18/2019 :  03:22:30  
I've updated a site to v6.9.6 and seen that the search results page includes the search filter options even though I have

$nosearchbyfilters=TRUE; in my includes.php file.

Has this been changed? Should I be using another variable?

CVW Web Design
www.cvwdesign.co.uk | web design and development

Andy
ECT Moderator

95440 Posts

Posted - 04/18/2019 :  03:55:46  
Hi Clive

The parameter should work

$nosearchbyfilters=TRUE;

Is it definitely in the includes file on the server?

Andy

Please feel free to review / rate our software

clivewalker
Ecommerce Template Expert

United Kingdom
686 Posts

Posted - 04/18/2019 :  06:30:16  
Yes, it is. I downloaded the file to confirm that.

CVW Web Design
www.cvwdesign.co.uk | web design and development

Andy
ECT Moderator

95440 Posts

Posted - 04/18/2019 :  06:52:41  
I tried that here http://ectwp.com/search.php and it appears to work as it should, can you check for duplicates or typos?

Andy

Please feel free to review / rate our software

clivewalker
Ecommerce Template Expert

United Kingdom
686 Posts

Posted - 04/18/2019 :  09:19:05  
I cannot find any duplicates or typos.

I have added this to my search.php page

<?php if ($nosearchbyfilters) echo 'success'; ?>

I get 'success' displayed on the page.

If I comment out $nosearchbyfilters=TRUE in my includes.php file, I don't get 'success' on the page.


CVW Web Design
www.cvwdesign.co.uk | web design and development

Andy
ECT Moderator

95440 Posts

Posted - 04/18/2019 :  09:38:45  
Hmmmm...that's odd. It really shouldn't make a difference but can you change that to

$GLOBALS['nosearchbyfilters']=TRUE;

Andy

Please feel free to review / rate our software

clivewalker
Ecommerce Template Expert

United Kingdom
686 Posts

Posted - 04/19/2019 :  01:28:18  
Have done that but there's no change.

CVW Web Design
www.cvwdesign.co.uk | web design and development

Andy
ECT Moderator

95440 Posts

Posted - 04/19/2019 :  01:47:18  
It was a long shot, I'm a bit stumped. Which site of yours is it?

Andy

Please feel free to review / rate our software

clivewalker
Ecommerce Template Expert

United Kingdom
686 Posts

Posted - 04/19/2019 :  02:20:01  
Sent you an email with the URL

CVW Web Design
www.cvwdesign.co.uk | web design and development

Andy
ECT Moderator

95440 Posts

Posted - 04/19/2019 :  03:48:25  
Got the mail, had a look and the filters don't show for me. Can you force a refresh and check that, or view on a different device?

Andy

Please feel free to review / rate our software

clivewalker
Ecommerce Template Expert

United Kingdom
686 Posts

Posted - 04/19/2019 :  09:07:59  
Have refreshed, viewed with different browser, and via private window, and through a VPN. Still see the filters.

This has me stumped!

CVW Web Design
www.cvwdesign.co.uk | web design and development

Andy
ECT Moderator

95440 Posts

Posted - 04/19/2019 :  09:43:27  
Just checked again and they're definitely not showing here - did you use Ctrl+Refresh?

Andy

Please feel free to review / rate our software

Andy
ECT Moderator

95440 Posts

Posted - 04/22/2019 :  00:41:32  
Are you still seeing the filters, Clive? I asked a colleague to take a look and they're not seeing them either.

Andy

Please feel free to review / rate our software

clivewalker
Ecommerce Template Expert

United Kingdom
686 Posts

Posted - 04/23/2019 :  01:01:41  
Yes I am. I don't understand why you are seeing different or why this would be cached, if it is.


CVW Web Design
www.cvwdesign.co.uk | web design and development

Andy
ECT Moderator

95440 Posts

Posted - 04/23/2019 :  01:35:29  
Can you ask your host if there's any server side caching that might cause it, I'd also ask someone who hasn't visited the site before to take a look and hopefully they'll see what I see.

Andy

Please feel free to review / rate our software

clivewalker
Ecommerce Template Expert

United Kingdom
686 Posts

Posted - 04/23/2019 :  02:39:06  
My coworking mate here sees the filters (he's using Brave browser). The problem was first reported to me be the client where the problem was on his live site (I've now used CSS on the live site to hide the filters).

The hosting is Memset VPS. I don't know of any caching but would need to contact them to confirm.

CVW Web Design
www.cvwdesign.co.uk | web design and development

Andy
ECT Moderator

95440 Posts

Posted - 04/23/2019 :  02:42:24  
Do you still have it showing on the test site with no css hiding?

Andy

Please feel free to review / rate our software

clivewalker
Ecommerce Template Expert

United Kingdom
686 Posts

Posted - 04/23/2019 :  02:46:46  
Yes.

CVW Web Design
www.cvwdesign.co.uk | web design and development

Andy
ECT Moderator

95440 Posts

Posted - 04/23/2019 :  02:59:53  
I have sent you an email with a screen shot of what I see.

Andy

Please feel free to review / rate our software

clivewalker
Ecommerce Template Expert

United Kingdom
686 Posts

Posted - 04/23/2019 :  03:08:23  
Yes, that's what I see. The Max Price, Search Type, and Category filters are there but $nosearchbyfilters=TRUE; in my includes file

I'm using

if ($nosearchbyfilters) echo 'success';

to echo that on the page.

CVW Web Design
www.cvwdesign.co.uk | web design and development

Andy
ECT Moderator

95440 Posts

Posted - 04/23/2019 :  03:12:10  
That is correct then, that parameter removes the filters set in the attributes admin page, it doesn't remove the Max Price, Search type or Categories. Those would have to be hidden via the css file.

Andy

Please feel free to review / rate our software
Page: of 2 « Topic »  
Next Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000