| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Short description above full | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
I am trying to get the short description to display right above the full description when a visitor looks at a product. I am sure I found it in the forum a long time ago but can't find it now. The forum only seems to let you look at the first page of results anyway
Has anyone managed to do this? Thanks
__________________
_____________________________________ 4.6.6 Gold Plus and 4.7.4 Gold MySQL server 5.6.29 PHP 5.5.34 |
|||||||
|
#2
|
|||||||
|
|||||||
|
I assume you are talking about product.tpl (the detailed products template). You will need to remove the if statement. Try replacing this:
Code:
with this Code:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
|
Thank you very much,
__________________
_____________________________________ 4.6.6 Gold Plus and 4.7.4 Gold MySQL server 5.6.29 PHP 5.5.34 |
|||||||
|
#4
|
|||||||
|
|||||||
|
What if I needed both short and long description on the list of products in a category page, what do i edit?
|
|||||||
|
#5
|
|||||||
|
|||||||
|
products.tpl for single column display, products_t.tpl for multi-column.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#6
|
|||||||
|
|||||||
|
i tried to edit it like this but did not work
{$products[product].descr|truncate:300:"...":true} {$products[product].fulldescr|truncate:300:"...":true} |
|||||||
|
#7
|
|||||||
|
|||||||
|
Did not work meaning it didn't display or it caused an error?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#8
|
|||||||
|
|||||||
|
did not display anything
|
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||