Post by cartgirl » Mon Feb 29, 2016 5:39 am

OC v.2.1.0.2

I need to lengthen the Product Option text shown in SHOPPING CART (/index.php?route=checkout/cart).
The text is currently getting cut off at approx 72 characters.

I changed the length of text for the checkout and email pages, but can't figure out how to lengthen it in the actual shopping cart so that you can see all of the options that the customer chose.

tia

Active Member

Posts

Joined
Fri Aug 03, 2012 10:12 pm

Post by IP_CAM » Mon Feb 29, 2016 8:02 am

you could use this v.1.5.6. extension, to at least find out, where the limitations have been set, and so
change them accordingly in your Source. Or then, make the Extension work with OC v.2 ! ;)

Do not truncate text of options in the shopping cart and in the order confirmation mail.
http://www.opencart.com/index.php?route ... n_id=13125
---
Other Extensions, possibly related with/to such (unchecked!):
Itemised Cart Options
http://www.opencart.com/index.php?route ... n_id=19655

Add description to option
http://www.opencart.com/index.php?route ... n_id=12036

Product Option Image to Cart
http://www.opencart.com/index.php?route ... on_id=9459
---
or then, buy a commercial Extension for this here:
http://www.opencart.com/index.php?route ... in%20order

Good Luck ! ;)
Ernie
openshop.li

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Randem » Mon Feb 29, 2016 9:18 am

Hi cartgirl,

This is something you can try. Add this to your php.ini files in your OpenCart root & Admin folders

Code: Select all

;===========================================================================
; Correction for OpenCart 2.x Update Quantity Feature
; in checkout/cart/edit
; the product[key] gets too long and is filtered by Suhosin PHP protection
; to give an empty array.
; 
; Author artcore of OpenCart Forum.
;===========================================================================
;
suhosin.post.max_array_index_length = 256;
suhosin.post.max_name_length = 256;
suhosin.post.max_array_depth = 256;
suhosin.request.max_array_index_length = 256;
suhosin.request.max_varname_length = 256;
suhosin.request.max_array_depth = 256;

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am
Who is online

Users browsing this forum: No registered users and 235 guests