Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Remove THERE ARE NO AVAILABLE PRODUCTS UNDER THIS CATEGORY.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-22-2013, 08:05 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Remove THERE ARE NO AVAILABLE PRODUCTS UNDER THIS CATEGORY.

Can anyone tell me how i stop the message "THERE ARE NO AVAILABLE PRODUCTS UNDER THIS CATEGORY." from the front page please, ive disabled recommended products as well as recently viewed etc but cant seem to disable it ?
__________________
X-Cart Version 4.55
Reply With Quote
  #2  
Old 07-22-2013, 11:21 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

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

anyone ?
__________________
X-Cart Version 4.55
Reply With Quote
  #3  
Old 07-22-2013, 11:26 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.

give me a link to understand better the situation.
__________________
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
  #4  
Old 07-22-2013, 11:32 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

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

its just below the featured products, ive noticed when i revert to the orgiginal ideal comfort theme is there as well. http://www.modernwatch.co.uk/home.php
__________________
X-Cart Version 4.55
Reply With Quote
  #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
  #6  
Old 07-22-2013, 12:05 PM
  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.

As an advice kill text-transform: uppercase from html, body. It is very hard to read texts in uppercase. Just look at product page. Uppercases are for special attention, used with precaution.
__________________
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
  #7  
Old 07-23-2013, 05:18 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

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

Hi thanks for getting back to me, i dont think it has anything to do with the custom template as when i change it to one of the default one i the same text appears on the homepage....no matter what theme its using ?
__________________
X-Cart Version 4.55
Reply With Quote
  #8  
Old 07-23-2013, 05:25 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

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

If you look on the website now for example http://www.modernwatch.co.uk/home.php its on aquamarine theme and still showing the text
__________________
X-Cart Version 4.55
Reply With Quote
  #9  
Old 11-24-2015, 05:01 PM
 
TA TA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 303
 

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

Quote:
Originally Posted by liamb2001
Can anyone tell me how i stop the message "THERE ARE NO AVAILABLE PRODUCTS UNDER THIS CATEGORY." from the front page please, ive disabled recommended products as well as recently viewed etc but cant seem to disable it ?

Comment out this template: /reboot/customer/warning.tpl
__________________
v4.7.12
v5.4.x (In Dev)
Reply With Quote
  #10  
Old 11-26-2015, 05:00 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

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

Quote:
Originally Posted by liamb2001
If you look on the website now for example http://www.modernwatch.co.uk/home.php its on aquamarine theme and still showing the text
This page returns 404 at this moment.
Went to http://www.modernwatch.co.uk/ and didn't find the text, have you managed to eliminate it?
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:58 PM.

   

 
X-Cart forums © 2001-2020