Guest Posted May 17, 2007 Share Posted May 17, 2007 CubeCart Version: 3.0.16 SKIN: Silk Sky by vluk (with minor modifications by me) MODS installed: Redirect To Basket by Estelle v1.1 20070307 Custom Goup Pricing by Goober Tabbed Descriptions by Goober URL: http://www.plastic-productions.com/store/ In the cart area I would like to widen the "Qty" text box (because many purchases will be in the thousands). How can I widen that text box? Also in the cart area I would like to add the "Our Products" tab to the navigation menu. (for all "cart" pages) How do I add to the cart navigation menu so that it's "Cart area Global"? If you need more information please let me know... Any help with these would be greatly appreciated. Thanks, phastcat Quote Link to comment Share on other sites More sharing options...
Guest webicon Posted May 17, 2007 Share Posted May 17, 2007 In the cart area I would like to widen the "Qty" text box (because many purchases will be in the thousands). [b]How can I widen that text box?[/b] Find where the quantaty box is in the template files (for add to cart: skins/{yourskin}/styleTemplates/content/viewprod.tpl) add the style attribute into the form tag like so.. <input name="quan" type="text" value="1" size="2" class="textbox" style="width:90px;" /> afraid I dont know answer to second query - but hope this much helps a little. Quote Link to comment Share on other sites More sharing options...
Guest Posted May 17, 2007 Share Posted May 17, 2007 Thanks for pointing me in the right direction webicon Found it for the cart here: /skins/(YOUR SKIN)/styleTemplates/content/cart.tpl I added the style attribute into the form tag like this: <td align="center" class="{TD_CART_CLASS}"><input name="quan[{VAL_PRODUCT_KEY}]" type="text" value="{VAL_QUANTITY}" size="2" class="{TEXT_BOX_CLASS}" style="width:50px;" {QUAN_DISABLED} /></td> MUCH better! One down one to go.... Quote Link to comment Share on other sites More sharing options...
markscarts Posted May 17, 2007 Share Posted May 17, 2007 If your code is similar to stock Killer skin, look in styleTemplates/boxes/cartNavi.tpl You'll see code like this: <!-- BEGIN: repeat_region --> <td class="topCatsTabLeft"> </td> <td class="topCatsTabMid"><a href="{VAL_LINK}" class="txtCat">{TXT_LINK}</a></td> <td class="topCatsTabRight"> </td> <!-- END: repeat_region --> Just after it, you would add this code: <td class="topCatsTabLeft"> </td> <td class="topCatsTabMid"><a href="index.php?act=viewCat&catId=1" class="txtCat">Our Products</a></td> <td class="topCatsTabRight"> </td> Quote Link to comment Share on other sites More sharing options...
Guest Posted May 18, 2007 Share Posted May 18, 2007 If your code is similar to stock Killer skin, look in styleTemplates/boxes/cartNavi.tpl You'll see code like this: <!-- BEGIN: repeat_region --> <td class="topCatsTabLeft"> </td> <td class="topCatsTabMid"><a href="{VAL_LINK}" class="txtCat">{TXT_LINK}</a></td> <td class="topCatsTabRight"> </td> <!-- END: repeat_region --> Just after it, you would add this code: <td class="topCatsTabLeft"> </td> <td class="topCatsTabMid"><a href="index.php?act=viewCat&catId=1" class="txtCat">Our Products</a></td> <td class="topCatsTabRight"> </td> WORKS PERFECT! Thank you so much markscarts! Awesome phastcat 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.