Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving My Account, Cart Contents, Checkout


Guest

Recommended Posts

I've looked at the file shopping_cart.php and attempted to write simple print statements to see if I can display certain elements within the box. I'd like to move the My Account, Cart Contents, and Checkout to the inside of that box. I know where the code lives, I just can't figure out how to print it inside the box.

 

Any suggestions?

Link to comment
Share on other sites

Append the links or whatever info you want as an entry to the $info_box_contents array

 

So to print say the checkout

$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING,'','SSL') . '">Checkout</a>' );

Insert it just before this line:

  $info_box_contents[] = array('text' => $cart_contents_string);

You should then see it at the top of the box contents.

 

Repeat for the other links you need to add.

Link to comment
Share on other sites

Thanks a ton!

 

Append the links or whatever info you want as an entry to the $info_box_contents array

 

So to print say the checkout

$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING,'','SSL') . '">Checkout</a>' );

Insert it just before this line:

  $info_box_contents[] = array('text' => $cart_contents_string);

You should then see it at the top of the box contents.

 

Repeat for the other links you need to add.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...