Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

infoboxHeading


johnnybebad

Recommended Posts

Hi,

 

I am doing my nut in here, hope someone can help.

 

I am using sts, and my infobox template is applied to all the the infoboxes.

 

Because of this, it displays the shopping cart(central) with a bar across it, where the header would normally be.

 

I can either, list all my infoboxes individually for this template, or come up with some alternative solution for the shopping cart centre stage.

 

1. put a infoboxheader in this stage so under What's in my cart will display shopping cart.(having all hell on with this even though i have done similar for other modules so think I am missing something out but cant work out what.

 

<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => HEADING_SHOPPING_CART);

 new infoBoxHeading($info_box_contents, true, true);

2. change something in catalog/shopping_cart.php that stops it calling the infobox in the first place.

 

3. create seperate infoboxs for this template and not have a default templat filling in everything.

 

 

4. something else thats smarter but I dont have a clue about.

 

 

Can anyone help please, in the meantime I will have a play around.

Getting better with mods but no programmer am I.

Link to comment
Share on other sites

still struggling with this one in catalog/shoppingcart, can anyone help?

 

 

ressolved used the catalog_shopping_cart.php.html box without the $headertext section. simple when you know but did I struggle with this for a while.

Getting better with mods but no programmer am I.

Link to comment
Share on other sites

  • 2 weeks later...

Johnny so do I have to take out the $headertext section to get the catalogue shopping cart to work?

 

Tyler

 

No you dont have to, to get it to work, what exactly do you mean by work, the chances are you havent set something up properly. either in your template or in the sts module files.

 

best to check the documentation with sts install and then correct any errors(if there is any) ask on the dedicated support forum for sts. Check your template if the the installation was correct.

Getting better with mods but no programmer am I.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...