Guest acjc Posted August 23, 2008 Share Posted August 23, 2008 I tweaked my template so that there was more room in the Shopping Cart summary sidebar for the names of products in the cart, but realized that the names where still being abbreviated to 15 characters, followed by two ellipses. For anyone else having this problem, I found where to modify the character length in the CC code: Open the file shoppingCart.inc.php in root/includes/boxes Around line 190, look for ## Chop name if too long Change the two values of 15 in the following line to the character length you desire. E.g. below is the code to abbreviate the product name after 20 chars: if (strlen($name) > 20) $name = substr($name,0,20).".."; Maybe this will help one or two others who happened to need this tweak and didn't know where to look. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.