View Single Post
  #5  
Old 07-22-2013, 11:56 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: Remove THERE ARE NO AVAILABLE PRODUCTS UNDER THIS CATEGORY.

This is a custom template and the creator made a mistake. You have to use Webmaster mode and find out what template file contains that language variable. Activate Webmaster and in Debugger window move your mouse over the file names. You will see a border surrounding every container in page content. Check the element which has inside "There are no available products under this category." (it is all in uppercase because there is a css property used there - "text-transform: uppercase" in html, body).

Once you find the template file go and see what has inside. Normally that text label "There are no available products under this category." is related to language variable txt_no_products_in_cat. Search for txt_no_products_in_cat and you will find an {if} statement for sure. If you don't understand the code just comment that part of the code using {* *}. Sometime a clear for XC cache is necessary after editing a template.
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote