Created
February 3, 2016 08:14
-
-
Save themepaint/8d3d7beb46b4c4f8c6da to your computer and use it in GitHub Desktop.
Woocommerce Product Compare withYIT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="woocommerce product compare-button"> | |
<?php | |
echo '<a href="' . get_permalink( $product->id ) . '&action=yith-woocompare-add-product&id=' . $product->id . '" class="compare button" data-product_id="' . $product->id . '"><i class="fa fa-refresh"></i></a>'; | |
?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment