Skip to content

How to Choose Where the WhatsApp Button Appears

The button only sells if shoppers see it where they decide. This tutorial sets the three positions and shows each on the storefront. Everything here is in the free version too.

Go to Purchase via WhatsApp → Configuration → Display. Button Placement is the first section.

Product Page offers eight choices.

The Product Page position field boxed on the Display tab

Choice Where it lands
Default (end of the summary) Under everything in the product summary
After Add To Cart Button Right below Add to cart, the demo’s setting
After Short Description Between the description and Add to cart
Before Product Title / After Product Title At the top of the summary
After Product Image Under the gallery, on the left
Before Tab Information Above the Description and Reviews tabs
Do not show No button on product pages

A product page with the WhatsApp button right under Add to cart

Right under Add to cart works for most stores, because the two choices sit side by side.

Cart Page places a button before or after Proceed to checkout. It sends the whole cart in one message.

The Cart Page position field boxed on the Display tab

The cart page with the WhatsApp button under Proceed to checkout

Shop and Category Pages adds a button to each simple product’s card, before or after its Add to cart. It is Do not show by default. Variable products get none, because their options are picked on the product page.

The Shop and Category Pages position field boxed on the Display tab

Click Save Changes, then open a product, the cart with something in it, and the shop, logged out. Clear your page cache if you use one.

Shop cards with Add to cart and the WhatsApp button

The cart button only shows when the cart has something in it.

On a cart page built with the Cart block, the button sits under the whole block, across the full width. The Cart Page position only applies to the classic cart.

The Cart block with the WhatsApp button below it

Some themes, the demo’s included, keep a product card’s buttons hidden until the pointer moves over the card. The WhatsApp button is there, but nobody on a phone sees it.

Add this in Appearance → Customize → Additional CSS, then click Publish. It is the CSS the demo uses:

.woocommerce ul.products li.product .product-details .product-action-wrap {
position: static !important;
opacity: 1 !important;
transform: none !important;
visibility: visible !important;
padding-top: 12px;
}
.woocommerce ul.products li.product .product-action-wrap .button {
width: 100%;
justify-content: center;
margin: 0 0 8px;
}

The class names belong to the demo’s theme. On another theme, ask your theme’s support for the class of the card’s button area and use it in place of .product-action-wrap.

For a landing page or a page builder, use the block or the shortcode. See How to Add the WhatsApp Button with a Block or Shortcode.