1. You can adapt code from the zen_customer_greeting() function for this.
PHP Code:
if (isset($_SESSION['customer_id']) && $_SESSION['customer_first_name']) {
echo sprintf(TEXT_GREETING_PERSONAL, zen_output_string_protected($_SESSION['customer_first_name']), zen_href_link(FILENAME_PRODUCTS_NEW));
}
2. a. The shopping-cart sidebox header is clickable, and links to the actual cart page.
b. You can easily add additional links to the shopping-cart sidebox by simply adding additional $content .= lines (in appropriate places) to your tpl_shopping_cart.php sidebox template.
ie: before the last $content .= '</div>';, add this:
PHP Code:
echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . HEADER_TITLE_CHECKOUT . '</a>';
Bookmarks