<?php do_action('wpsc_after_checkout_cart_rows'); ?> <?php if (wpsc_uses_coupons()) { ?> <tr class="wpsc_total_before_shipping"> <td colspan="3"><?php _e('Cost before shipping:', 'wp-e-commerce'); ?> </td> <td colspan="3" class="wpsc_total_amount_before_shipping"><?php echo wpsc_cart_total_widget(false, false, false); ?> </td> </tr> <?php if (wpsc_coupons_error()) { ?> <tr class="wpsc_coupon_row wpsc_coupon_error_row"><td colspan="6"><?php _e('Coupon is not valid.', 'wp-e-commerce'); ?> </td></tr> <?php } ?> <tr class="wpsc_coupon_row"> <td colspan="2"><?php
<?php echo wpsc_display_tax_label(true); ?> : </span> </span> <?php } ?> <span class='total'> <span class="pricedisplay checkout-total"> <?php echo wpsc_cart_total_widget(); ?> <?php if (wpsc_cart_show_plus_postage()) { ?> <span class='pluspostagetax'> + <?php echo __('Postage & Tax ', 'wpsc'); ?> </span> <?php } ?> </span> <span class='totalhead'> <?php echo __('Total', 'wpsc');
public function menu_item() { global $wpsc_cart, $options; $menu_item = array('cart_url' => esc_url(get_option('shopping_cart_url')), 'shop_page_url' => esc_url(get_option('product_list_url')), 'cart_contents_count' => wpsc_cart_item_count(), 'cart_total' => wpsc_cart_total_widget(false, false, false)); return $menu_item; }
function jbst_wpec_cart_update() { $cart_count = wpsc_cart_item_count(); $total = wpsc_cart_item_count() . ' item(s) - ' . wpsc_cart_total_widget(); echo 'jQuery(".cart-contents").html("' . $total . '");'; }
function sfpaper_add_login_out_item_to_menu($items, $args) { //change theme location with your them location name if (is_admin() || $args->theme_location != 'primary') { return $items; } return $items .= '<li id="cart-icon" class="menu-item menu-type-link"><a class="button" href="' . get_option('shopping_cart_url') . '"><span id="theme-checkout-total">' . wpsc_cart_total_widget(false, false, false) . '</span></a></li>'; }