<?php
/**
 * The sidebar containing the main widget area
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package WordPress
 * @subpackage Ocolus
 * @since 1.0
 * @version 1.0
 */
$sidebar_name   = ocolus_get_option( 'shop_vendor_used_sidebar', 'vendor-widget-area' );
if ( !is_active_sidebar( $sidebar_name ) ) {
	$sidebar_name = 'sidebar-store';
}
?>
<div id="dokan-secondary" class="dokan-clearfix dokan-w3 dokan-store-sidebar" role="complementary"
     style="margin-right:3%;">
    <div class="dokan-widget-area widget-collapse widget-area">
        <a href="#" class="sidebar-button"
           data-ocolus="ocolus-dropdown"><?php echo esc_html__( 'Sidebar', 'ocolus' ); ?></a>
		<?php dynamic_sidebar( $sidebar_name ); ?>
    </div>
</div>