Guest Posted December 15, 2005 Share Posted December 15, 2005 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 More sharing options...
Guest Posted December 15, 2005 Share Posted December 15, 2005 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 More sharing options...
Guest Posted December 16, 2005 Share Posted December 16, 2005 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.