woocommerce_single_product_summary
The woocommerce_single_product_summary action runs inside the summary column of WooCommerce's classic single-product template. It receives no arguments. WooCommerce uses callbacks on this action to assemble the title, price, short description, purchase controls, and other product information. You can attach another callback between them by choosing its priority.
Default callback order
| Priority | Default output |
|---|---|
5 | Product title |
10 | Rating and price |
20 | Short description |
30 | Add-to-cart controls |
40 | Product metadata |
50 | Sharing output |
60 | Product structured data |
These are WooCommerce's default priorities, not guaranteed positions on every site. A theme or plugin can remove, relocate, or replace callbacks. For the underlying hook and callback list, see the single-product template.
Insert a message before the purchase controls
add_action( 'woocommerce_single_product_summary', function () {
echo '<p class="product-note">' .
esc_html( 'Questions? Contact us before ordering.' ) .
'</p>';
}, 25 );
Priority 25 places the message after the short description and before the add-to-cart controls in the default classic layout. It does not put the message inside the add-to-cart form. If you need to submit extra fields with a purchase, use a hook intended for that form rather than this summary action.
Keep the callback in a site-specific plugin or child theme and test the actual product layout. Block-based product templates do not necessarily use the same PHP summary hook or default positions.
On HoverCraft specifically, the After Add To Cart widget area is another option for a simple notice beneath the purchase controls. That widget area is part of the theme, not a default WooCommerce hook.