Jump to content

Sideboxs within CART/REGISTER


Guest jonirvine

Recommended Posts

Guest jonirvine

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest estelle

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);

Link to comment
Share on other sites

  • 1 month later...
Guest gce127517

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.

Link to comment
Share on other sites

Guest estelle

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)

Link to comment
Share on other sites

Guest gce127517

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" :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...