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

Home Forums Themes Support Claue search

Topic Resolution: Resolved
Viewing 11 reply threads
  • Author
    Posts
    • #34596
      shokoofe
      Support Expired

      Hello, I’v been using your theme quite some time and it has been really helpful.
      For adding the product model number I’v used Advanced custom field plugin and for searching it I’v used ACF better search but unfortunately now when I use the main search that is integrated in theme, it doesn’t return any result in search page and it changes the mega menu style.
      Can you recommend a proper search plugin that is compatible with this theme?
      Thanks in advance

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

      Hi,

      Please try this plugin https://wordpress.org/plugins/ajax-search-for-woocommerce/ and change code in claue-child > views > header > layout-3.php

      <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 -->

      with new code

      <div 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">
      		<?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

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

    • #34605
      shokoofe
      Support Expired

      This plugin did not solve my problem.
      If I search for the full name of a product and click on enter, it won’t work for me.

    • #34606
      shokoofe
      Support Expired

      search action is null

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

      I found the broken plugin. This is the ELEX WooCommerce Role-based Pricing Plugin & WooCommerce Catalog Mode plugin that caused the browser to crash.

    • #34615
      Harry
      Support Expired

      Hi,

      I activate child theme on your site it now error because the code you added to claue-child > functions.php. Could you send me FTP account to fix?

      Thanks

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

    • #34618
      shokoofe
      Support Expired

      I’ve added some lines of code to the template’s main function file that are working now. But when I copy and paste them into Child, the site gets in trouble. I will send you an example of a code in the photo.

    • #34619
      shokoofe
      Support Expired

    • #34620
      shokoofe
      Support Expired

      I’m not allowed to give anyone ftp acsess. Sorry

    • #34621
      Harry
      Support Expired

      Hi,

      I check in my local it still work well https://prnt.sc/q4le2f please try deactivate plugin ACF: Better Search

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

    • #34622
      Harry
      Support Expired

      I see you added code to main theme > functions.php

      I don’t recommend override parent theme because your code will be remove when you update theme. Please move your customize code to child theme.

      The error when i activate child theme because you added same code on parent theme and child theme.

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

    • #34623
      shokoofe
      Support Expired

      Thanks for your help in activating Child I have transferred my changes.

Viewing 11 reply threads

You must be logged in to reply to this topic.