Page 1 of 1
Product Option text length cutting off in shopping cart
Posted: Mon Feb 29, 2016 5:39 am
by cartgirl
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
Re: Product Option text length cutting off in shopping cart
Posted: Mon Feb 29, 2016 8:02 am
by IP_CAM
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
Re: Product Option text length cutting off in shopping cart
Posted: Mon Feb 29, 2016 9:18 am
by Randem
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;