Displaying an action button in Search Results Widget on Shopify

The Button element is a Call-to-Action (CTA). CTAs guide customers on what to do next — view a product, add it to the cart, or make a purchase.

In the Search Results Widget, you can choose where CTA buttons appear in the product card and adjust their placement to fit your store’s design. For example, you can display a button to open product details or add a product to the cart directly from the search results.

You can keep the default layout with one CTA button

Displaying an action button in Search Results Widget on Shopify

Or select another layout with different CTA placements:

  1. Stacked buttons below card — buttons stacked vertically at the bottom of the product card.

    Displaying an action button in Search Results Widget on Shopify
  2. Add to cart below, Quick view top-right icon — the Add to Cart button below the image, Quick View as an icon at the top-right of the product image.

    Displaying an action button in Search Results Widget on Shopify
  3. Quick view below, Add to cart top-right icon— the Quick View button below the image, Add to Cart as an icon at the top-right of the product image.

    Displaying an action button in Search Results Widget on Shopify
  4. Add to cart top-right icon — the Add to Cart button as an icon at the top-right of the product image.

    Displaying an action button in Search Results Widget on Shopify
  5. Quick view top-right icon — the Quick View button as an icon at the top-right of the product image.

    Displaying an action button in Search Results Widget on Shopify
  6. Vertical icons top-right — buttons as icons stacked vertically at the top-right of the product image.

    Displaying an action button in Search Results Widget on Shopify

Adjust the default CTA placement 

The default layout includes a single CTA button; alternatively, you can hide all buttons.

To adjust the default CTA button design and placement, follow these steps:

  1. Go to the Searchanise Search & Filter control panel > Search & Navigation > Search results widget section > Content tab > Products part.
  2. Select the Default layout value in the CTA placement setting if you have selected another layout.
    Displaying an action button in Search Results Widget on Shopify
  3. Select one of the options in the Show CTA button drop-down list. 
  4. If needed, change other sub-settings for the default layout.
  5. Apply the changes.

The default layout sub-settings description

Option Description
Show CTA button

Allows selecting the CTA button to display in the product card or hiding all buttons.

Options:

  1. None – hides the button.
  2. View product – shows the View product button that opens the product’s page.
  3. Add to cart – shows the Add to cart button that adds a product to the cart. After clicking the button, the product variation shown in the search results will be added to the cart.
  4. Quick view – shows the Quick view button that opens the Quick view pop-up with product details.
Show button when hovering Available for Desktop only. If this setting is turned on, the CTA button will show only when you hover over the product card.
Show CTA button on device Allows selecting where the button appears: on desktop, mobile, or just on a single device.
Button type Allows selecting whether the button text only or text with an icon.
Button shape Allows selecting a button shape that suits your design.

Adjust the other CTA placements

If you want to display two CTA buttons or display a CTA button as an icon, there are various CTA placement layouts to do so. To change the CTA placement, follow these steps:

  1. Go to the Searchanise Search & Filter control panel > Search & Navigation > Search results widget section > Content tab > Products part.
  2. Select the layout in the CTA placement setting.
    Displaying an action button in Search Results Widget on Shopify
  3. If needed, change the sub-settings for the CTA buttons.
  4. Apply the changes.

The layout sub-settings description 

Option Description Layouts
Show “Add to cart” button on device Allows selecting where the Add to cart button appears: on desktop, mobile, or just on a single device.
  • Stacked buttons below card 

  • Add to cart below, Quick view top-right icon

  • Quick view below, Add to cart top-right icon.

  • Add to cart top-right icon  

  • Vertical icons top-right

Show “Quick view” button on device
Allows selecting where the Quick view button appears: on desktop, mobile, or just on a single device.
  • Stacked buttons below card 

  • Add to cart below, Quick view top-right icon

  • Quick view below, Add to cart top-right icon.

  • Quick view top-right icon  

  • Vertical icons top-right

Show button when hovering Available for Desktop only. If this setting is turned on, the CTA buttons will show only when you hover over the product card. All layouts
Button type Allows selecting whether the buttons text only or text with an icon.
  • Stacked buttons below card 

  • Add to cart below, Quick view top-right icon

  • Quick view below, Add to cart top-right icon.

Button shape Allows selecting the button’s shape that suits your design. All layouts
Tip

You can translate or edit the buttons’ text in the Searchanise Search & Filter control panel > Translations & Texts section > Search results widget tab.

Updated on October 6, 2025

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you

Let us improve this post!

Please tell us how we can improve this post

Related Articles

Back to top