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
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Search Box on proddetail.php page
Author « Topic »  

Forester
New Member

United Kingdom
51 Posts

Posted - 04/28/2023 :  03:41:43  
I have been using ECT for several years to take entries for a bicycle event.
I just updated from ECT 7.4.11 to 7.5.8

A search box has appeared near the bottom of the proddetail.php page for the situation that there are no products on sale (when the entry is not open)
(The url is for a particular product: proddetail.php?prod=BoarEntryDistance )

The text above the search box comes from:
$GLOBALS['xxSeSoEl']='Try searching for something else.';
I can put something appropriate in the $GLOBALS['xxSeSoEl']

My question is: Is it possible to stop the search box from appearing in the above situation?

PS once the entry is open (i.e. "display products" box on product admin page is checked) the search box disappears - which is fine in my case.
The message from $GLOBALS['xxPagNoA']='This page isn\'t available or the product you are looking for has been removed. Sorry about that.'; also appears above the search box - but I have changed that text to say "Please check back later"

Phil
ECT Moderator

United Kingdom
7737 Posts

Posted - 04/28/2023 :  06:40:11  
Hi Forester,
Can you post the full url so we can take a look please?



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Forester
New Member

United Kingdom
51 Posts

Posted - 04/28/2023 :  06:57:34  
Thanks for getting back Phil.
The full url is:
https://www.fodmbe.org.uk/fodlions/proddetail.php?prod=BoarEntryDistance

I'm can live with it if necessary - but I made the post in case I have missed something simple.

Phil
ECT Moderator

United Kingdom
7737 Posts

Posted - 04/28/2023 :  07:04:08  
Hi,
Add this to your ectstyle.css file just below the comment below

/* ~~ The first section correponds to the maximum width version of 980 pixels ~~ */

div.notfoundinputcntnr{display:none;}



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Forester
New Member

United Kingdom
51 Posts

Posted - 04/28/2023 :  07:55:42  
Thank you Phil - that did the trick -
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000