| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Setting Product Option Charater Length view | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Setting Product Option Charater Length view
My products require different options for colors. The color options are very long. Is there a way to limit the length in customer view only. The options stretch the length of my page. I would be interested in any way to control this.
I am using 4.0.18. Thank you,
__________________
Brian X-Cart 4.0.18 |
|||||||
#2
|
|||||||
|
|||||||
Use the Smarty truncate function. Here is an example using product title:
{$products[prod_num].product|truncate:30:"...":true}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Where to place code?
I have tried this. I don't know if I am placing the code in the right place. I don't get any error but the option is not shortened.
__________________
Brian X-Cart 4.0.18 |
|||||||
|
|||
X-Cart forums © 2001-2020
|