One could move the Model below the Item Title on the Cart, and
so remove a Column in the Theme '/checkout/cart.tpl ' File,
like it's beeing done here:
and/or 'shorten' Product Titlenames, by limiting their Character amount
to some extend, with a limiter like this, in the corresponding
'controller/checkout/cart.php ' File:
Code: Select all
'name' => utf8_substr(strip_tags(html_entity_decode($product['name'], ENT_QUOTES, 'UTF-8')), 0, 20) . '..',
File Code, to make such look swell, regardless of Display Resolution.
Due to no pre-set SECTION Width Values, such a NAME will not break into more
than one Line, which would make it look better. The Column+Field in charge
could possibly be MAX-WIDTH Value -fixed by CSS Class Code, but I never
tried, it just came into my mind ...
Just to give you some ideas on this!
PS. It's not Version related, all v.2 ++ Default Themes act the same.
And $product['name'] might also be called $result['name']
depending on the OC Version used, just to have this mentioned too.
And don't forget, to Change COLSPAN-Values further down in the Theme File, if
you remove a Section out of the Table, to make everything, like Cost-Estimations
and the Bottom TOTALS-Sections align correctly again !
shorten_title_in_cart.jpg (51.93 KiB) Viewed 51 times
For Sale: Turnkey URLs with Opencart installed
My latest Opencart LIGHT Testsite: http://www.hitline.info
Attacker IP Blocks are denied from further access to my Sites!
Just contact me for more Information at: email@example.com
760 FREE OC Extension-Repositories - from OC v.1.5.x up
on the largest Opencart-Mod Github Site: https://github.com/IP-CAM
Users browsing this forum: No registered users and 21 guests