HELLO IAM RUNNING A WOOCOMERCE STORE IN MY THEME NEWPAPAER SO I WANNA :
ADD WOOCOMERCE “TRUST BADGE IMAGE” UNDER : ADD TO CART AND PAYPAL BUTTON .
I ARRIVED TO ADD this code AT the end of simple file:
<div>
</div>
here —>
WOOCOMERCE–>single-product–>add-to-cart–>simple
this is ok it works for simple products but for variable :
WOOCOMERCE–>single-product–>add-to-cart–>simple
i try to add this code :
<div>
</div>
at the end after this code :
</form>
<?php
do_action( ‘woocommerce_after_add_to_cart_form’ );
BUT doenst work it show me some error in cart page :
please how can i add it too in variable products ?
thanks.
for my trust badge link here :
https://warmfeed.com/wp-content/uploads/2018/09/trust_badges_large.png
Hi,
Please check this video tutorial -> https://www.youtube.com/watch?v=cxon4MhGq8Q
Please check this article: How To Add a Trust Seal On WooCommerce Cart & Checkout Page -> https://www.tychesoftwares.com/how-to-add-a-trust-seal-on-woocommerce-cart-checkout-page/
Thank you for your understanding!
hey thank u for your feeedback , i tied to add the function in the theme editor , it works but the trust badge just added between ADD TO CART BUTTON and PAYPAL BUTTON,
https://www.screencast.com/t/XgSW0PdAtf9
So what i want is to place the trust badge under PAYPAL BUTTON.
CAN U PLEASE HELP ?
code added :
function show_content_after_add_to_cart() {
echo ““;
}
add_action( ‘woocommerce_after_add_to_cart_button’, ‘show_content_after_add_to_cart’ );
Hi,
The code is well set but I think that you need to add some more code in order to achieve that, please check this documentation for: How to add a trust seal in WooCommerce after Add to Cart button
-> https://www.tychesoftwares.com/how-to-add-trust-seal-in-woocommerce-after-add-to-cart/
Thank you for your understanding!