WooCommerce - excelling eCommerce
cart total link (1 post)

  1. rodusa
    Posted 2 years ago #

    I am using this code within header.php of my custom theme. However the link "view cart" is not working. When I pass the mouse over the links is disabled. How to get it to work? thanks

    <!--                        Begin Woo Cart -->
    <a href="carrinho"><img src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcSKUzvwLisdIFwUDZJUij9JGyovL0ubpbHrI7W-w1D7tHIGZOfGFw" height="40" width="40" /></a>
    <a>cart->get_cart_url(); ?>" title="<?php _e('View your shopping cart', 'woothemes'); ?>"><?php echo sprintf(_n('%d item', '%d items', $woocommerce->cart->cart_contents_count, 'woothemes'), $woocommerce->cart->cart_contents_count);?> - <?php echo $woocommerce->cart->get_cart_total(); ?></a>
    <!--                        End-->

    [Please post code & markup between backticks or use the code button. Your posted code has now been permanently damaged by the forum's parser.]


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.