Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / I have problem with disable description in product listing

I have problem with disable description in product listing

Locked

Views: 1,301

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
21 Jul 2009, 12:21 PM
#1
pckomplet avatar

pckomplet

New Zenner

Join Date:
Jul 2009
Location:
Slovakia
Posts:
7
Plugin Contributions:
0

I have problem with disable description in product listing

I searched all forum with threads of how to disable description in product listing and nothing.
I have disable it in admin mode but nothing happen.
This is direct link shoving my problem.
Thats because I want to disablr the product description.

http://www.pckomplet.sk/index.php?main_page=index&cPath=67_68_70

Please if anyone can help me I will be very gratefull.

:cry:

21 Jul 2009, 1:01 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: I have problem with disable description in product listing

How did you disable the listing description? Did you set its length to 0? Can you make it longer than it is now if you try?

If you cannot change the length, your template has hard-coded it and you will have to edit the template file where this was done - most likely /includes/modules/orange/product_listing.php.

21 Jul 2009, 1:57 PM
#3
pckomplet avatar

pckomplet

New Zenner

Join Date:
Jul 2009
Location:
Slovakia
Posts:
7
Plugin Contributions:
0

Re: I have problem with disable description in product listing

gjh42:

How did you disable the listing description? Did you set its length to 0? Can you make it longer than it is now if you try?

If you cannot change the length, your template has hard-coded it and you will have to edit the template file where this was done - most likely /includes/modules/orange/product_listing.php.

I was there few times trying something directly inside this file but nothing happen.

Maybe someone can help me to find the part where can I change it.

I can also attach the product_listing.

I also think about 1 think maybe in the main page or somewhere over product lising file is not the path to this file because I added it by myself. Maybe I am wrong just thinking aloud

21 Jul 2009, 2:13 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: I have problem with disable description in product listing

/includes/modules/orange/product_listing.php needs to be the file, because the code will use that and not something else to create the listing. Post the section of your copy from about line 90 to 102 (case 'PRODUCT_LIST_NAME': to break;) between ```
[php] and [/php]

21 Jul 2009, 2:32 PM
#5
pckomplet avatar

pckomplet

New Zenner

Join Date:
Jul 2009
Location:
Slovakia
Posts:
7
Plugin Contributions:
0

Re: I have problem with disable description in product listing

gjh42:

/includes/modules/orange/product_listing.php needs to be the file, because the code will use that and not something else to create the listing. Post the section of your copy from about line 90 to 102 (case 'PRODUCT_LIST_NAME': to break;) between ```
[php] and [/php]


I had attached the product listing file to see better what can be wrong
21 Jul 2009, 3:05 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: I have problem with disable description in product listing

Note: it takes a lot more time to download, unzip and open a file than it does to read the requested part in a forum post. The line numbers I gave were for the stock version of the file instead of the Column Grid version - sorry about that.

There is nothing changed in your copy of the file, so the setting (PRODUCT_LIST_DESCRIPTION) should control the output length.
Did you know that the correct place to set the length is in admin > Configuration > Product Listing > Display Product Description ?
You currently have a small number, maybe 50.
To turn it off, set it to 0.

I see you now have listing descriptions off.

21 Jul 2009, 3:23 PM
#7
pckomplet avatar

pckomplet

New Zenner

Join Date:
Jul 2009
Location:
Slovakia
Posts:
7
Plugin Contributions:
0

Re: I have problem with disable description in product listing

gjh42:

Note: it takes a lot more time to download, unzip and open a file than it does to read the requested part in a forum post. The line numbers I gave were for the stock version of the file instead of the Column Grid version - sorry about that.

There is nothing changed in your copy of the file, so the setting (PRODUCT_LIST_DESCRIPTION) should control the output length.
Did you know that the correct place to set the length is in admin > Configuration > Product Listing > Display Product Description ?
You currently have a small number, maybe 50.
To turn it off, set it to 0.

I see you now have listing descriptions off.

I know this

It is possible just to give 0 or 1 and I gave 0 but nothing happen.

Thats why I am asking.
I was reading posts about it but none of solutions help me to solve this.

21 Jul 2009, 3:28 PM
#8
pckomplet avatar

pckomplet

New Zenner

Join Date:
Jul 2009
Location:
Slovakia
Posts:
7
Plugin Contributions:
0

Re: I have problem with disable description in product listing

gjh42:

Note: it takes a lot more time to download, unzip and open a file than it does to read the requested part in a forum post. The line numbers I gave were for the stock version of the file instead of the Column Grid version - sorry about that.

There is nothing changed in your copy of the file, so the setting (PRODUCT_LIST_DESCRIPTION) should control the output length.
Did you know that the correct place to set the length is in admin > Configuration > Product Listing > Display Product Description ?
You currently have a small number, maybe 50.
To turn it off, set it to 0.

I see you now have listing descriptions off.

I am terribly sorry i was looking everytime in all listing not product listing.

Thanx much for help