Add-to-cart add action url

Per new Woo template files;
This commit is contained in:
Unknown 2018-03-22 14:37:13 -06:00 committed by zachary
parent 2b178a5d67
commit 54dc0b5450
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ if ( $product->is_in_stock() ) : ?>
<?php do_action( 'woocommerce_before_add_to_cart_form' ); ?>
<form class="cart" method="post" enctype='multipart/form-data'>
<form class="cart" action="<?php echo esc_url( get_permalink() ); ?>" method="post" enctype='multipart/form-data'>
<?php
/**
* @since 2.1.0.