Guest jonirvine Posted November 3, 2005 Share Posted November 3, 2005 HI, Does anyone know if it's currently possible to include the default layout also on the cart and registration page? i.e. Keep automatically created sideboxes, including categories, etc? Thanks, Jon Quote Link to comment Share on other sites More sharing options...
Guest Posted November 3, 2005 Share Posted November 3, 2005 Open your cart.tpl and add the boxes you want to the left column. Find this <div class="colLeftCheckout"> {CART_NAVI} {SESSION} </div> Add the boxes you want like this. To add the categories box: <div class="colLeftCheckout"> {CART_NAVI} {CATEGORIES} {SESSION} </div> To find the names of the boxes, look in your index.tpl file and copy and paste the boxes you want. Jen Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted November 3, 2005 Share Posted November 3, 2005 You will also need to modify cart.php (located in the root folder of your store). Look for this code: // START CONTENT BOXES include("includes/boxes/searchForm.inc.php"); $body->assign("SEARCH_FORM",$box_content); include("includes/boxes/session.inc.php"); $body->assign("SESSION",$box_content); include("includes/boxes/siteDocs.inc.php"); $body->assign("SITE_DOCS",$box_content); include("includes/boxes/cartNavi.inc.php"); $body->assign("CART_NAVI",$box_content); Add the code for any boxes that you require, eg: include("includes/boxes/categories.inc.php"); $body->assign("CATEGORIES",$box_content); You may also wish to add some of the following: include("includes/boxes/randomProd.inc.php"); $body->assign("RANDOM_PROD",$box_content); include("includes/boxes/info.inc.php"); $body->assign("INFORMATION",$box_content); include("includes/boxes/language.inc.php"); $body->assign("LANGUAGE",$box_content); include("includes/boxes/currency.inc.php"); $body->assign("CURRENCY",$box_content); include("includes/boxes/shoppingCart.inc.php"); $body->assign("SHOPPING_CART",$box_content); include("includes/boxes/popularProducts.inc.php"); $body->assign("POPULAR_PRODUCTS",$box_content); include("includes/boxes/saleItems.inc.php"); $body->assign("SALE_ITEMS",$box_content); include("includes/boxes/mailList.inc.php"); $body->assign("MAIL_LIST",$box_content); Quote Link to comment Share on other sites More sharing options...
Guest gce127517 Posted December 10, 2005 Share Posted December 10, 2005 Open your cart.tpl and add the boxes you want to the left column. Find this <div class="colLeftCheckout"> {CART_NAVI} {SESSION} </div> @ jen I can't find that code in cart.tpl I'm using Killer skin as base for my own skin, btw. Regardless, I can't find the code in any of CC's included skins. Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted December 10, 2005 Share Posted December 10, 2005 The changes that Jen are talking about need to go in skins/{your skin}/styleTemplates/global/cart.tpl The changes that I mentioned will need to go in /cart.php (i.e. root folder of your store) Quote Link to comment Share on other sites More sharing options...
Guest gce127517 Posted December 10, 2005 Share Posted December 10, 2005 The changes that Jen are talking about need to go in skins/{your skin}/styleTemplates/global/cart.tpl The changes that I mentioned will need to go in /cart.php (i.e. root folder of your store) DOH!! No wonder! Thanks Estelle! For some unexplainable reason, I kept reading "content" instead of "global" :) 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.