Displaying action buttons in Search Results Widget on WooCommerce and Magento

This article is general for WooCommerce, Magento 1, and Magento 2.

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.

You can keep the default layout with one CTA button

Displaying action buttons in Search Results Widget on WooCommerce and Magento

Or select another layout with different CTA placements:

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

    Displaying action buttons in Search Results Widget on WooCommerce and Magento
  2. Add to cart below, View product 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 action buttons in Search Results Widget on WooCommerce and Magento
  3. Add to cart top-right icon — the Add to Cart button as an icon at the top-right of the product image.

    Displaying action buttons in Search Results Widget on WooCommerce and Magento
  4. Vertical icons top-right — buttons as icons stacked vertically at the top-right of the product image.

    Displaying action buttons in Search Results Widget on WooCommerce and Magento

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 action buttons in Search Results Widget on WooCommerce and Magento
  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.
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.
  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.

All layouts

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, View product 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, View product 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 Translations & Texts section > Search results widget tab. You can customise the buttons’ colors in the Search & Navigation > Search results widget section > Template & Style tab.

Enjoying your experience with Searchanise?

We’d appreciate it if you could take some time to leave a review.

Updated on August 18, 2026

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

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