- This topic has 3 replies, 2 voices, and was last updated 5 years ago by
Leo.
-
AuthorPosts
-
March 10, 2021 at 8:58 pm #1690550
Dominique
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
March 10, 2021 at 9:16 pm #1690568Leo
StaffCustomer SupportHi 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 🙂
March 10, 2021 at 9:18 pm #1690569Dominique
Hi,
Thought so.
Thanks
March 10, 2021 at 9:18 pm #1690570Leo
StaffCustomer SupportNo problem 🙂
Good luck!
-
AuthorPosts
- You must be logged in to reply to this topic.