Skip to content

Commit

Permalink
search page issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
codersaiful committed Jan 18, 2024
1 parent 7a7f9b3 commit 45d3ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/handle/search-box.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Search_Box{
public static $fields;
public static function render( Shortcode $shortcode ){
$behavior = $shortcode->atts['behavior'] ?? '';
if( $behavior !== 'normal' && ( is_shop() || is_product_taxonomy() || is_product_category() ) ) return;
// if( $behavior !== 'normal' && ( is_shop() || is_product_taxonomy() || is_product_category() ) ) return;
self::$reset_button = "<button class='wpt-query-reset-button' title='" . __('Reset','woo-product-table') . "'> <i class='wpt-spin3'></i></button>"; //end of .search_single
self::$cf_search_box = $shortcode->search_n_filter['cf_search_box'] ?? '';
self::$taxonomy_keywords = $shortcode->search_n_filter['taxonomy_keywords'] ?? [];
Expand Down

0 comments on commit 45d3ad9

Please sign in to comment.