Restore single_add_to_cart_button class
This commit is contained in:
parent
3935034bc0
commit
b0d538636a
|
@ -42,7 +42,7 @@ foreach ( $product->get_children() as $child_id ) {
|
|||
|
||||
<?php elseif ( ! $quantites_required ) : ?>
|
||||
|
||||
<a href="<?php echo esc_url( $child_product['product']->add_to_cart_url() ); ?>" rel="nofollow" class="button alt"><?php echo apply_filters( 'single_add_to_cart_text', __( 'Add to cart', 'woocommerce' ), $child_product['product']->product_type ); ?></a>
|
||||
<a href="<?php echo esc_url( $child_product['product']->add_to_cart_url() ); ?>" rel="nofollow" class="single_add_to_cart_button button alt"><?php echo apply_filters( 'single_add_to_cart_text', __( 'Add to cart', 'woocommerce' ), $child_product['product']->product_type ); ?></a>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue