X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Remove THERE ARE NO AVAILABLE PRODUCTS UNDER THIS CATEGORY. (https://forum.x-cart.com/showthread.php?t=67410)

liamb2001 07-22-2013 08:05 AM

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 ?

liamb2001 07-22-2013 11:21 AM

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

ADDISON 07-22-2013 11:26 AM

Re: Remove THERE ARE NO AVAILABLE PRODUCTS UNDER THIS CATEGORY.
 
give me a link to understand better the situation.

liamb2001 07-22-2013 11:32 AM

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

ADDISON 07-22-2013 11:56 AM

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.

ADDISON 07-22-2013 12:05 PM

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.

liamb2001 07-23-2013 05:18 AM

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 ?

liamb2001 07-23-2013 05:25 AM

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

TA 11-24-2015 05:01 PM

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

razortw 11-26-2015 05:00 AM

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?


All times are GMT -8. The time now is 12:55 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.