<?php
if (!defined('ABSPATH'))
    die('No direct access allowed');

$classes = "";
if ($autosubmit) {
    $classes = "woof_autosubmit";
}
if ($filter_type) {
    $classes .= " woof_step_filter_" . $filter_type;
}
//global $WOOF;

global $woof_link;
$woof_reset_btn_txt = __('Reset', 'woocommerce-products-filter');
$woof_reset_btn_txt = WOOF_HELPER::wpml_translate(null, $woof_reset_btn_txt);
?>


<div class="woof_step <?php echo $classes ?>" data-filter_type="<?php echo $filter_type ?>"  data-autosubmit="<?php echo $autosubmit ?>" data-hide="<?php echo $autosubmit ?>">
    <?php
    echo do_shortcode($shortcode_woof);
    ?>
    <div class="woof_step_next_back_btn">
        <button  class="button woof_step_filter_prev"><?php echo $prev_btn_txt ?></button>&nbsp;<?php if ($woof_reset_btn_txt != 'none'): ?><button  class="button woof_reset_search_form" data-link="<?php echo $woof_link ?>"><?php echo $woof_reset_btn_txt ?></button><?php endif; ?>       
        <button style="float: right;" class="button woof_step_filter_next"><?php echo $next_btn_txt ?></button>
    </div>
</div>

