Hi Aurelle,
1 – Install this plugin https://wordpress.org/plugins/ajax-search-for-woocommerce/
2 – Copy file layout-3.php in gecko > views > header to gecko-child > views > header
3 – And change code from line 93 – 99 on layout-3.php
from
<form class="header__search w__100 dn pf" role="search" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>" <?php jas_gecko_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...', 'gecko' ); ?>" />
<input type="hidden" name="post_type" value="product">
</div>
<a id="sf-close" class="pa" href="#"><i class="pe-7s-close"></i></a>
</form>
to
<div class="header__search w__100 dn pf">
<div class="pa">
<?php echo do_shortcode ('[wcas-search-form]') ?>
</div>
<a id="sf-close" class="pa" href="#"><i class="pe-7s-close"></i></a>
</div><!-- #header__search -->
Kind regards
-
This reply was modified 3 years, 7 months ago by Harry.
-
This reply was modified 3 years, 7 months ago by Harry.
-
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