| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/external.php.tar |
lebauwcentre/wp-content/themes/customify/woocommerce/single-product/add-to-cart/external.php 0000644 00000001452 15115046230 0031546 0 ustar 00 home/xbodynamge <?php
/**
* External product add to cart
*
* @todo Just add more `span.button-label` to button.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @package WooCommerce/Templates
* @version 3.4.0
*/
defined( 'ABSPATH' ) || exit;
do_action( 'woocommerce_before_add_to_cart_form' ); ?>
<form class="cart" action="<?php echo esc_url( $product_url ); ?>" method="get">
<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>
<button type="submit" class="single_add_to_cart_button button alt">
<span class="button-label">
<?php echo esc_html( $button_text ); ?>
</span>
</button>
<?php wc_query_string_form_fields( $product_url ); ?>
<?php do_action( 'woocommerce_after_add_to_cart_button' ); ?>
</form>
<?php do_action( 'woocommerce_after_add_to_cart_form' ); ?>