Action woocommerce_before_variations_form
Added action `woocommerce_before_variations_form` to hook before the variations dropdowns
This commit is contained in:
parent
a344fae67f
commit
c8f8ee33be
|
@ -17,6 +17,9 @@ global $product, $post;
|
|||
<?php do_action( 'woocommerce_before_add_to_cart_form' ); ?>
|
||||
|
||||
<form class="variations_form cart" method="post" enctype='multipart/form-data' data-product_id="<?php echo $post->ID; ?>" data-product_variations="<?php echo esc_attr( json_encode( $available_variations ) ) ?>">
|
||||
|
||||
<?php do_action( 'woocommerce_before_variations_form' ); ?>
|
||||
|
||||
<?php if ( ! empty( $available_variations ) ) : ?>
|
||||
<table class="variations" cellspacing="0">
|
||||
<tbody>
|
||||
|
|
Loading…
Reference in New Issue