• Resolved gianag

    (@gianag)


    Hi, how do you add the AWS shortcode to WooCommerce’s default shop page? The text box is missing when editing the shop page so can’t enter it. Do you have a functions.php code snippet that could be used instead? Thanks

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

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

    (@mihail-barinov)

    Hello,

    Have you try to enable ‘Seamless integration’ option?
    This will replace standard search form with plugin one.

    Also you can use function

    ?php if ( function_exists( 'aws_get_search_form' ) ) { aws_get_search_form( true, array( 'id' => YOUR_FORM_ID ) ); } ?>

    Where YOUR_FORM_ID – id of one of your search form.

    Thread Starter gianag

    (@gianag)

    Thanks, that is helpful but not useful in this case. I have the AWS widget on the shop page but it is narrow in the sidebar. I’d like to place a wider search box above the products with a shortcode or snippet. Is that possible?

    Plugin Author ILLID

    (@mihail-barinov)

    So the problem is in search box width inside sidebar?

    In this case please tell me where I can look on this search box.

    Thanks.

    Thread Starter gianag

    (@gianag)

    I’d like to place the search box above the products, not in the side bar.

    https://www.sageinnov.com/shop/

    Thanks

    Thread Starter gianag

    (@gianag)

    Screenshot example…

    https://tinypic.com/r/2lmoqyo/9

    Plugin Author ILLID

    (@mihail-barinov)

    So there is no widget area in place where you want to place search form?

    In this case the only way for you is to use special function.
    You need to place this code

    <?php if ( function_exists( 'aws_get_search_form' ) ) { aws_get_search_form( true, array( 'id' => YOUR_FORM_ID ) ); } ?>

    inside you theme. Right where you want search form be displayed.

    Thread Starter gianag

    (@gianag)

    Ok, thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add Shortcode to WooCommerce Shop’ is closed to new replies.