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)
-   -   Incomplete short description (https://forum.x-cart.com/showthread.php?t=12322)

MoCoSo 02-21-2005 04:20 PM

Incomplete short description
 
I have a little problem finding out how to see the short description complete.
Unfortunately, my client provided me his short descriptions a little bit longer than needed, but he didnt like the three dots appearing at the short description area at all.

Ej. Steel furniture with bla...

I tried at the product.tpl but i cant find anything regarding the maximum characters or lenght specified for that area.

Any Ideas? :?

hooter 02-21-2005 04:34 PM

Are you sure it is cut off on the product detail page (controlled by product.tpl)? Or do you mean on the products list page (controlled by products.tpl)

Look in skin1/customer/main/products.tpl and find the line that looks like this:
Code:

{$products[product].descr|truncate:300:"...":true}

Change the numeric value of truncate:300 to something larger to suit your needs, for example truncate:1000

MoCoSo 02-21-2005 04:42 PM

That did it
 
Thanks a bunch hooter,that did it.
You were right, i was looking in the wrong place. :oops:

Sonia 04-06-2005 08:14 AM

Longer Detailed Description
 
Hey, I have a product that has a hugely long detailed product description. I'm resisting breaking it up into multiple pages as I think the people reading it will want to print it all out at once.

How can I make it so I can add more code/content? Is that even possible?

I found this - /main/product_details.tpl

Code:

<TEXTAREA name="fulldescr" cols="45" rows="10" class="InputWidth">{$product.fulldescr|escape:"html"}</TEXTAREA>

but it doesn't have any limits, so I don't know where I need to change it to expand the amount of characters allowed. Am I missing something? Tell me I don't have to go into the MySQL tables - I don't know how to do that!! :cry:

ideas?

F5Performance 05-04-2005 07:40 PM

Quote:

Originally Posted by hooter
Are you sure it is cut off on the product detail page (controlled by product.tpl)? Or do you mean on the products list page (controlled by products.tpl)

Look in skin1/customer/main/products.tpl and find the line that looks like this:
Code:

{$products[product].descr|truncate:300:"...":true}

Change the numeric value of truncate:300 to something larger to suit your needs, for example truncate:1000


I looked for this in my version and I cannot locate it. I have thsi same problem. Any idea on where I change this?

jl1 07-09-2012 07:53 PM

Re: Incomplete short description
 
Quote:

Originally Posted by hooter
Are you sure it is cut off on the product detail page (controlled by product.tpl)? Or do you mean on the products list page (controlled by products.tpl)

Look in skin1/customer/main/products.tpl and find the line that looks like this:
Code:

{$products[product].descr|truncate:300:"...":true}

Change the numeric value of truncate:300 to something larger to suit your needs, for example truncate:1000


Nice, hooters!

Do you have a fix like this for v 4.5 ?

Can't seem to find any truncate in products.tpl, or product.tpl?

:-)


All times are GMT -8. The time now is 06:02 PM.

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