Your account expired support, please renew to get your support.

Home Forums Themes Support HelpDesk How do I get the search function on claue to extend to searching SKU numbers

Viewing 1 reply thread
  • Author
    Posts
    • #41530
      bmerton
      Support Expired

      For example, how do I use the Fibosearch plugin?

      Or any other search plugin that lets me search for variable sku numbers / ajax search.

       

       

      Attachments:
      You must be logged in to view attached files.
    • #41532
      Harry
      Support Expired

      Hi,

      Please copy header layout-x.php in claue > views > header to claue-child > views > header

      with x as layout number of header using on your site and find the code

      
      <form class="header__search w__100 dn pf" role="search" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>" <?php jas_claue_schema_metadata( array( 'context' => 'search_form' ) ); ?>>
      	<div class="pa">
      		<input class="w__100 jas-ajax-search" type="text" name="s" placeholder="<?php echo esc_html__( 'Search for...', 'claue' ); ?>" />
      		<input type="hidden" name="post_type" value="product">
      	</div>
      	<a id="sf-close" class="pa" href="#"><i class="pe-7s-close"></i></a>
      </form><!-- #header__search -->
      

      and change to

      <div class="header__search w__100 dn pf">
      <div class="pa">
      <?php echo do_shortcode('[fibosearch]')  ?>
      </div>
      <a id="sf-close" class="pa" href="#"><i class="pe-7s-close"></i></a>
      </div>

      Kind regards

      • This reply was modified 3 years, 7 months ago by Harry.

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 1 reply thread

You must be logged in to reply to this topic.