inserting a “view cart” link in the theme

docs.woothemes.com/document/display-a-checkout-link-in-a-template-file
The following snippet will display a link to your checkout when there are products in the cart. If you want to display the checkout link regardless, remove the if statement.

docs.woothemes.com/document/show-cart-contents-total

SIMPLER VERSION OF LINK:

INSERTION FOR SINGLE PRODUCTS | CAN BE INSERTED INTO:

  • /single-product/title.php
  • /single-product/short-description.php
  • /single-product/tabs/short-description.php

BUT NOT

  • content-single-product.php

FOR ARCHIVES CAN BE INSERTED INTO:

  • archive-product.php