<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<!--BEGIN Search Box -->
<form action="<?php echo JRoute::_('index.php?option=com_virtuemart&view=category&search=true&limitstart=0&virtuemart_category_id='.$category_id ); ?>" method="get">
<div class="search<?php echo $params->get('moduleclass_sfx'); ?>">
<?php
	$output = '<div class="price_slider_amount">
					<input type="text" id="min_price_obvm" name="min_price_obvm" value="" data-min="' . $mindata . '" placeholder="' . JText::_('MOB_OBVM_FILTER_MIN_PRICE') . '">
					<input type="text" id="max_price_obvm" name="max_price_obvm" value="" data-max="' . $maxdata . '" placeholder="' . JText::_('MOB_OBVM_FILTER_MAX_PRICE') . '">
					<button type="submit" class="button">' . $button_text . '</button>

					<div class="clear"></div>
				</div>';
 	echo $output;
?>
</div>
		<input type="hidden" name="limitstart" value="0" />
		<input type="hidden" name="option" value="com_virtuemart" />
		<input type="hidden" name="view" value="category" />
		<input type="hidden" name="custom_parent_id" value="1" />
		<input type="hidden" name="search_type" value="price" />
		<input type="hidden" name="search_order" value="bf" />
		<input type="hidden" name="search_date" value="<?php echo $current_date;?>" />
		<input type="hidden" name="virtuemart_category_id" value="<?php echo $category_id; ?>"/>
<?php if(!empty($set_Itemid)){
	echo '<input type="hidden" name="Itemid" value="'.$set_Itemid.'" />';
} ?>

	  </form>
<!-- End Search Box -->