woocommerce/templates/single-product/add-to-cart/external.php

10 lines
367 B
PHP
Raw Normal View History

2011-12-09 20:16:34 +00:00
<?php
/**
* External Add to Cart
*/
?>
<?php do_action('woocommerce_before_add_to_cart_button'); ?>
2012-07-30 15:01:33 +00:00
<p class="cart"><a href="<?php echo $product_url; ?>" rel="nofollow" class="single_add_to_cart_button button alt"><?php echo apply_filters('single_add_to_cart_text', $button_text, 'external'); ?></a></p>
2011-12-09 20:16:34 +00:00
<?php do_action('woocommerce_after_add_to_cart_button'); ?>