kinetic Posted July 3, 2009 Share Posted July 3, 2009 In v4.x.x in the ADMIN customers orders screen have you noticed that the product options field is tiny? 30col wide 1 row tall???? wtf? OMG and it carries a couple of tab spaces as well??? wth? You can easily miss if a customer has product options because of this I aint here to complain or whine Ive done that to Al already and got no satisfactory answer... so heres the fix: Open admin/sources/orders/orderBuilder.inc.php FIND: <textarea name="product_options[<?php echo $i; ?>]" cols="30" rows="1" class="textbox"> <?php //echo stripslashes(str_replace("&#39;","'",$orderInv[$i]['product_options'])); echo str_replace('&','&',$orderInv[$i]['product_options']); ?> </textarea> REPLACE WITH: <textarea name="product_options[<?php echo $i; ?>]" cols="30" rows="15" wrap="physical" class="textbox"><?php echo str_replace('&','&',$orderInv[$i]['product_options']); ?></textarea> this will give the product options text area in the admin customers order screen a textarea you can actually read from 15 rows tall and all extra tabs removed and it is set to wrap="PHYSICAL" which means data that had line returns will have that data's line returns PRESERVED so it doesnt just run on a simple thing but makes our life easier THIS stuff should be standard in the download package.... seeing how this is probably the MOST important screen we use as admins on our stores.... ;) Quote Link to comment Share on other sites More sharing options...
Guest voodoo1967 Posted August 27, 2009 Share Posted August 27, 2009 Thank you for this (but you shouldnt have to tweak code for paid for software - THIS SHOULD BE STANDARD FOR GOD SAKE , so far this week I have tried actinic (not suitable) , JSHOP - not suitable, Magento - too fiddly , OSCommerce and ZenCart - forget it , Prestashop - brilliant but has issues with product combinations. So CubeCart was my last option - all fine - but this option box issue - I mean come on - this is paid for software , not schoolboy ecommerce , cubecart developers - sort it out - at the moment my money is still in my pocket re paying for this. Quote Link to comment Share on other sites More sharing options...
Guest DesignResults Posted September 3, 2009 Share Posted September 3, 2009 Thanks for this bit of code. It makes viewing the admin much easier! 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.