In an earlier post, we saw how to display a trust seal on the single product page under the ‘Add to Cart’ button. Another possibility would be to add a trust seal on the cart or checkout page.
As we said earlier, a trust badge or security seal will increase the buyer’s confidence. Customers are more likely to buy from your website if they feel confident about your product & your checkout process. These badges or seals also help in increasing your conversion rate.
WooCommerce provides lots of hooks & filters to add content on our website. But which hook/filter we should use depends on the position of the content on the page. We will add the trust badge below the ‘Proceed to Checkout‘ button on the cart page and below the ‘Place order‘ button on checkout page.
Add a trust seal on WooCommerce Cart page:
Let’s start by adding the badge on the cart page. As we have decided to add the badge below the ‘Proceed to Checkout’ button, we will use the WooCommerce hook called woocommerce_after_cart_totals.
In the above function, we echo our trust seal image on the cart page. Here is how it will look like –
If you want to display the trust seal above the button, use the woocommerce_proceed_to_checkout hook instead.
Increase WooCommerce Store Sales
"This fully customizable plugin has saved us $6,997.81 over the last 5 months in abandoned orders. If you’re on the fence, don’t think twice. Abandoned Cart Pro pays for itself really quickly." - Miroslav Mazalica
Add a trust seal on WooCommerce Checkout page:
Now let’s add the seal on the checkout page. We will display it under the ‘Place Order’ button with the WooCommerce hook called woocommerce_review_order_after_payment.
The function is same as the cart page, only the WooCommerce hook has changed. Again there are various places on checkout page where you can display the seal. Here’s how it will look like –
Here is another example with 30 day money back guarantee trust seal –
If you want to learn more about which hooks to use to place content on the cart or checkout page, these are two great visual guides –
If you are not comfortable with customizing the code, there’s a plugin called – WooCommerce SSL Seal, which will let you display a default or custom image on the checkout page.
If you don’t have any trust badge on your store which can increase your buyer’s confidence, you should be adding it right away. Several options like TrustLock Verification are also available for including a trust badge on your website. Anything you can do to increase trust will help increase your sales on your WooCommerce store.
how to remove the guarantee safe image from the product page?
Succinct & exactly what I was looking for, thanks!
Thanks a lot. I was looking for this!
Could you please guide, how to exactly implement this?
I added the code for the checkout page and got an error —
“Your PHP code changes were rolled back due to an error on line 0 of file Unknown. Please fix and try saving again.
Exception thrown without a stack frame”
I have no idea what this means. Can you shed any light on this?
kindly i need to add trust badge seal to my checkout page , am using woocommerece and flatsome theme, i hope someone sends me how to do that step by step cuase i tried the above codes and it didnt work
am not a programmer, but i know to how to add codes to my website