Post by kenny_1892 » Wed Feb 14, 2018 5:05 pm

I currently have a site in development and I need to extend the option character limit on the checkout page and order email. I've changed the following code with no joy.

catalog/controller/checkout/cart.php

Code: Select all

$option_data[] = array(
						'name'  => $option['name'],
						'value' => (utf8_strlen($value) > 20 ? utf8_substr($value, 0, 20) . '..' : $value)
I changed 20 to 200 but this isn't working. I have searched the forum and found a few people having similar problems and changing this has fixed the problem for them but it's not working for me. Am I changing it in the correct location?

New member

Posts

Joined
Wed Aug 04, 2010 6:11 pm

Post by DigitCart » Wed Feb 14, 2018 5:31 pm

Hi,
Did you clear your caches?

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by kenny_1892 » Thu Feb 15, 2018 4:48 pm

Thanks, thats was my problem, I knew it would be simple.

For anyone else having the same issue I also had to change the same value in:

catalog/model/checkout/order.php

The above enabled the option to be the correct length on the order email.

New member

Posts

Joined
Wed Aug 04, 2010 6:11 pm

User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 6 guests