• GoDaddy Community
  • Managed WordPress Hosting
  • Managed WordPress Hosting

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution
    New

    How to add Godaddy security seal to add to cart and checkout?

    Hi there,

     

    I have a online store.

    I use the storefront theme and woocommerce, how can I add Godaddy security seal to add to cart and checkout, without a plugin please?

    I found codes online, but do not know where to add it, to themefuction.php etc.?

    They call it hooks?

     

    To the cart:

     

    add_action( 'woocommerce_after_cart_totals', 'add_content_on_checkout' );

    public function add_content_on_checkout() {
    echo "<img src='safe_checkout.png' >"; //add the URL of the image
    }

     

    And then to checkout page:

     

     

    add_action( 'woocommerce_review_order_after_payment', 'add_content_on_checkout' );

    public function add_content_on_checkout() {
    echo "<img src='safe_checkout.png' >"; //add the image url in the src attribute
    }

    1 REPLY 1
    Super User III Super User III
    Super User III
    Solution

    Re: How to add Godaddy security seal to add to cart and checkout?

    You should be able to get a site seal code from your GoDaddy security product and add it to WordPress using an HTML widget.