Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi, can you show me the code used in your theme?

    Thread Starter dingledoink

    (@dingledoink)

    Thanks for your reply, but I’m not sure I understand exactly?

    Where would I look? Can you not see the code via ‘view source’?

    Kind regards,

    Dan

    Thread Starter dingledoink

    (@dingledoink)

    Do you mean this? I’ve added in the <?php echo do_shortcode(‘[yith_woocommerce_ajax_search]’); ?> section to the woocommerce.php file, correct?

    <?php get_header(); ?>
    <div class="column span-17 colborder first" id="maincontent">
    	<div class="content">
    
    <a class="cart-contents" href="<?php echo WC()->cart->get_cart_url(); ?>" title="<?php _e( 'View your shopping cart' ); ?>"><?php echo sprintf (_n( '%d item', '%d items', WC()->cart->cart_contents_count ), WC()->cart->cart_contents_count ); ?> - <?php echo WC()->cart->get_cart_total(); ?></a>
    
    <?php  echo do_shortcode('[yith_woocommerce_ajax_search]'); ?>
    <?php woocommerce_content(); ?>
    
    <?php edit_post_link('Edit', '<p>[ ', ' ]</p>'); ?>
    	</div>
    </div>
    <div class="column span-6 last">
        <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar-Single') ) : ?>
        <?php endif; ?>
    </div>
    <hr />
    
    <?php get_footer(); ?>
    Plugin Author YITHEMES

    (@yithemes)

    yes,
    it is correct!
    Are you sure that in the page “shop” editor there is not the shortcode [yith_woocommerce_ajax_search]?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘search box appearing twice’ is closed to new replies.