• Resolved art_design

    (@trichterbrust)


    Hello everybody,

    I have some issues with the search function of my Woocommerce Online Shop.
    I am working with Elementor and i am using the Woolentor: Product Filter-Widget as the search bar.
    I used to just display the search results on the same page (shop main page) in the WooLentor Product Archive Layout-Widget.

    Everything worked fine, but when i redirect the search results on a custom URL and implement the WooLentor Product Archive Layout-Widget on this page, it does not show any results.

    My Webpage is on local server, so i can just show you pictures of my main shop page, as well as the search result page. Does anybody has an idea, what’s the issue?

    Image Links:
    https://ibb.co/j54qQRn
    https://ibb.co/n10ktCt

    If there are any more questions, please ask:)

    Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Howdy!

    Does anybody has an idea, what’s the issue?

    Both Elementor and Woolentor are third party products so we can’t say if the declare support for each other. You would have to ask that the respective support parties.

    I did a quick search and found this: https://wordpress.org/plugins/woolentor-addons/ – not sure if you can combine this with your setup but it seems as if woolentor addons fully support Elementor.

    Kind regards,

    Thread Starter art_design

    (@trichterbrust)

    Hello,

    unfortunately this does not help. I already have the woolentor addon installed.
    Due to the fact that elementor and woolentor are third party products and you cant help me with that i changed my concept. I am now using just the preinstalled wordpress search form. The same thing happens, on the page result site, no results are shown.

    Code from my searchform.php

    <form method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
    <input type="search" class="field" name="s" value="<?php echo esc_attr( get_search_query() ); ?>" id="s" placeholder="<?php esc_html_e( 'Search here...', 'foto' ); ?>" />
    <input type="submit" class="submit search-button" value="<?php esc_html_e( 'Submit', 'foto' ); ?>" />
    </form>

    Code from my search.php-file

    <?php foto_header_menu_choice(); ?>
    
    <?php
    if ( class_exists( 'Redux' ) ) { ?>
    
    <!-- CONTENT START
    ============================================= -->
    <div id="content" class="search-page single-wrapper">
    	<?php
    	$options = get_option('foto_framework');
    		$content_type = $options['content_type'];
    	?>
    	<?php if($content_type == 'container') { ?>
    		<div class="container">
    	<?php } ?>
    
    		<?php
    		if ( class_exists( 'Redux' ) ) {
    		    $options = get_option('foto_framework');
    		    $blog_title = $options['blog_title'];
    		    $blog_subtitle = $options['blog_subtitle']; ?>
    
    		<!-- PAGE TITLE START
    		============================================= -->
    		<div class="page-title content-wrapper">
    			<div class="title-wrap container">
    				<h2 class="wow fadeInUp" data-wow-delay="2.3s"><?php esc_html_e( 'Search Result', 'foto' ); ?></h2>
    			</div>
    	    </div>
    		<!-- PAGE TITLE END -->
    		<?php } ?>
    
    		<!-- BLOG START
    		============================================= -->
    		<div class="blog content-wrapper">
    
    			<!-- BLOG LOOP START
    			============================================= -->
    			<div class="blog-post wow fadeIn">
    
    			<?php if ( have_posts() ) : ?>
    				<?php while ( have_posts() ) : the_post();
    
    					get_template_part( 'inc/format/loop', get_post_format() );
    
    				endwhile; ?>
    
    			<?php else : ?>
    
    				<?php get_template_part( 'inc/format/content', 'no-result' ); ?>
    
    			<?php endif; ?>
    
    			</div>
    			<!-- BLOG LOOP END -->
    
    			<?php foto_content_nav($pages = '', $range = 2); ?>
    
    		</div>
    		<!-- BLOOG END -->
    
    	<?php if($content_type == 'container') { ?>
    		</div>
    	<?php } ?>
    
    </div>
    <!-- CONTENT END -->
    <?php }
    else { ?>
    <!-- CONTENT START
    ============================================= -->
    <div id="content" class="search-page single-wrapper">
    	<div class="container">
    
    	<!-- PAGE TITLE START
    	============================================= -->
    	<div class="page-title content-wrapper">
    		<div class="title-wrap container">
    			<h2 class="wow fadeInUp" data-wow-delay="2.3s"> <?php esc_html_e( 'Search Result', 'foto' ); ?></h2>
    		</div>
    	</div>
    	<!-- PAGE TITLE END -->
    
    	<!-- BLOG START
    	============================================= -->
    	<div class="blog content-wrapper clearfix">
    
    		<!-- BLOG LOOP START
    		============================================= -->
    
    		<div class="blog-post wow fadeIn">
    
    			<?php if ( have_posts() ) : ?>
    				<?php while ( have_posts() ) : the_post();
    
    					get_template_part( 'inc/format/loop', get_post_format() );
    
    				endwhile; ?>
    
    			<?php else : ?>
    
    				<?php get_template_part( 'inc/format/content', 'no-result' ); ?>
    
    			<?php endif; ?>
    
    		</div>
    		<!-- BLOG LOOP END -->
    
    		<?php foto_content_nav($pages = '', $range = 2); ?>
    
    	</div>
    	<!-- BLOOG END -->
    
    	</div>
    </div>
    <!-- CONTENT END -->
    <?php } ?>
    
    <?php foto_footer_option(); ?>

    Link to Image from Search Result Page

    Any ideas what is the issue there?

    • This reply was modified 1 year, 8 months ago by art_design.

    Hi @trichterbrust!

    Thank you for reaching out and for clarifying.

    It seems that your request is related to custom coding, correct?

    If so, kindly notice that custom coding is outside our scope of support; I am leaving this thread open for a bit to see if anyone can chime in to help you out.

    For additional assistance on this topic, we recommend getting in touch with one of the customization experts listed on the WooCommerce Customizations Page.

    Also, you can visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack, you could find help from the community of open-source developers for WooCommerce that hangs in there.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WL Product Filter only works without custom search page’ is closed to new replies.