Post by ronnieb » Mon Mar 26, 2012 2:58 am

Hi

when I get the order email (html same as what the customers gets) some of the options aren't showing fully

eg

jeans blue
-size 16 (Price As Adver..

how can I get it to show more characters so it will show

-size 16 (Price As Advertised)

Im guessing that there is a maximum character setting somewhere but I dont know where to find it

Thanks
Ron

New member

Posts

Joined
Tue May 24, 2011 3:44 pm

Post by uksitebuilder » Mon Mar 26, 2012 6:29 pm

it is 20 characters

look n several places at around line 330 to 460 in catalog/model/checkout/order.php

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by ronnieb » Tue Mar 27, 2012 4:34 am

so


Do I change every number 20 to say 40 ??

as there are lots of them :)

Code: Select all

		


'value' => (strlen($option['value']) > 20 ? substr($option['value'], 0, 20) . '..' : $option['value'])
				
'value' => (strlen($filename) > 20 ? substr($filename, 0, 20) . '..' : $filename)
					


				
$text .= chr(9) . '-' . $option['name'] . ' ' . (strlen($option['value']) > 20 ? substr($option['value'], 0, 20) . '..' : 
				


$text .= chr(9) . '-' . $option['name'] . (strlen($option['value']) > 20 ? substr($option['value'], 0, 20) . '..' : $option['value']) . "\n";

thanks
Ron

New member

Posts

Joined
Tue May 24, 2011 3:44 pm

Post by uksitebuilder » Tue Mar 27, 2012 5:19 pm

yes

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by colt1911 » Tue Apr 03, 2012 11:34 pm

@uksitebuilder - Thanks a lot for this...I needed this too

New member

Posts

Joined
Sat Sep 24, 2011 1:23 am
Who is online

Users browsing this forum: No registered users and 62 guests