• Hi there,
    My website is a shop that sell products, so I’m using Woocommerce. I installed AWS and as you can si on the site it’s working really well, the results are directly showing dynamicly below the search input.

    Here is my problem, on my actual website I’m using Elementor so I just add the AWS widget on my homepage. But I’m making a new theme for my website and I’m making the whole code myself. So on my new homepage I just tried to use php to call the AWS widget with the following code :

    <div class="search-wrapper">
       <h3>Trouver ton produit !</h3>
       <?php echo do_shortcode("[aws_search_form]"); ?>
    </div>

    Note that I’m using the free version of the plugin so my search form has no particular id. So the code is actually showing the search bar, but it’s not working at all. No matter what I write in it nothing is showing up, the result box doesn’t even exist in the source code. The loading animation is not here neither and there is a little “x” box on the bottom left corner of the search bar that I have to hide in css.

    Do you know what’s wrong and how can I use the search bar exactly like on my actual homepage but by calling it myself in my code ?
    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    If you are talking about search form in the bottom of your site main page than, as I see, all works fine for me.

    Do you still have this issue?

    Thanks.

    Thread Starter Yunir

    (@yunir)

    Yes, the link that I put is the actual search form that is working. I added it to my webpage with the AWS widget and the Elementor plugin.

    But now I’m making my own theme from zero, so I want to add the same searchform in my .php page. I tried using the php code that I put in my original message but doing this is not working. The search form is well shown but not working, when I write something in it the result box is not showing. I can’t actually show you this page where my search form is not working because I’m making it offline, but it’s basically the exact same page exept that the searchform is not returning any results.

    Plugin Author ILLID

    (@mihail-barinov)

    In this have do you see any errors from browser console window?

    Also look for assets/js/common.js file. Do you see in in the page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Widget is working but not the shortcode’ is closed to new replies.