Site logo

Archived topic

Adding TrustedSite trustmarks on WooCommerce cart & checkout page

3 replies · Started by Dominique on March 10, 2021

Viewing posts 1–4 of 4

Hi,

I am using TrustedSite for trustmarks.

I contacted their support to get help on how to add their scripts that produce a trustmark above or below buttons. Their response: "TrustedSite does not currently have a WooCommerce integration. We have an integration with WordPress, which is integrated with WooCommerce, but unfortunately there are no immediate plans to integrate with WooCommerce. If there's a way to add" They didn't even finish the last sentence!

I did find this article that shows how to add a picture https://www.tychesoftwares.com/how-to-add-a-trust-seal-on-woocommerce-cart-checkout-page/

Trusted site also advised me that the trustmarks can be aligned using standard methods like so: ​<div style="text-align: center"> TRUSTMARK CODE HERE </div>

A trusted site script is for example: <div class="trustedsite-trustmark" data-type="​202​" data-width="​120​" data-height="​50​"></div>

How do do I put a script inside a php snippet that has a hook?

Can I do something like:


add_action( 'woocommerce_review_order_after_payment', 'add_content_on_checkout' );

public function add_content_on_checkout() {
      echo "<div class="trustedsite-trustmark" data-type="​202​" data-width="​120​" data-height="​50​"></div>";
}

Basically I have no idea how to implement this, TrustedSite either and the thought of contacting Woocommerce support on WordPress.org makes me feel nauseated.

Please advise

Hi there,

Unfortunately, a question like this is outside our forum scope as it's not related to GP at all:
https://generatepress.com/what-support-includes/

I would recommend following up with the TrustedSite's support team and ask them to finish the sentence.

And also open a support topic with WooCommerce and see if they are able to help.

Lastly, you can always open a support topic in a general WordPress forum like this:
https://wordpress.stackexchange.com/

Thanks for your understanding :)

Hi,

Thought so.

Thanks

No problem :)

Good luck!

This archived topic is closed to new replies.