Skip to content

Instantly share code, notes, and snippets.

@Carlosvva
Created April 28, 2020 21:17
Show Gist options
  • Save Carlosvva/19d1f1b1cc40ee709641f3a4fc9b0a58 to your computer and use it in GitHub Desktop.
Save Carlosvva/19d1f1b1cc40ee709641f3a4fc9b0a58 to your computer and use it in GitHub Desktop.
Botón de ver más en https://ceica.com/
<?php
/**
* Loop Add to Cart
*
* This template can be overridden by copying it to yourtheme/woocommerce/loop/add-to-cart.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @package WooCommerce/Templates
* @version 3.3.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
global $product;
?>
<div class="jet-woo-product-button custombuttonpopulares">
<a href="<?= get_permalink( $product->get_id() ); ?>" data-quantity="1" class="button product_type_simple">
<span class="button-text">VER MÁS</span>
</a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment