v OC 3.0.3.6)
When viewing the shopping cart: The character limit for options is getting cut-off at about 72 characters.
1). How do I extend this limit to unlimited (or at least longer)?
2). Email invoice options text is also getting cut off.
See screenshot.
TIA!
When viewing the shopping cart: The character limit for options is getting cut-off at about 72 characters.
1). How do I extend this limit to unlimited (or at least longer)?
2). Email invoice options text is also getting cut off.
See screenshot.
TIA!
Attachments
Screen Shot 2020-08-11 at 8.18.01 AM.png (120.98 KiB) Viewed 572 times
check in the controller / checkout / Files, to find something like this, and change the value:
---

Code: Select all
$option_data[] = array(
'name' => $option['name'],
'value' => (utf8_strlen($value) > 20 ? utf8_substr($value, 0, 20) . '..' : $value)
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Thank you so much for going through the trouble of looking into this. I went ahead and updated the applicable files as listed, but it didn't change anything.
I cleared my cache, tried different browser and even waited a couple of hours.
I changed this:
To this:
Did I miss anything?
I cleared my cache, tried different browser and even waited a couple of hours.
I changed this:
$option_data[] = array(
'name' => $option['name'],
'value' => (utf8_strlen($value) > 20 ? utf8_substr($value, 0, 20) . '..' : $value)
To this:
$option_data[] = array(
'name' => $option['name'],
'value' => (utf8_strlen($value) > 100 ? utf8_substr($value, 0, 100) . '..' : $value)
Did I miss anything?
Who is online
Users browsing this forum: No registered users and 46 guests