Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9145605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:33:21+00:00 2026-06-17T10:33:21+00:00

I have been trying to add a string of javscript code provided by SSL

  • 0

I have been trying to add a string of javscript code provided by SSL signing authority in margin of one-page Magento checkout. Something in Magento seems to be stripping out javascript code after the first step of the check out, but I can’t find offending code. Anyone else note this issue or a solution?

I added JS code to bottom of \app\design\frontend\default\myTheme\template\checkout\onepage\progress.phtml.

Code looked like this:

 <span id="siteseal"><script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=xxx"></script></span>

At first I thought it was hidden, but the logo appeared on the first step but disappeared on subsequent steps, however the “siteseal” span was still there -empty

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:33:22+00:00Added an answer on June 17, 2026 at 10:33 am

    While the initial output of the progress section is PHP based, Magento updates the progress section of the page via AJAX as you move from step to step to step. This is handled by the following code

    #File: skin/frontend/base/default/js/opcheckout.js
    reloadProgressBlock: function(toStep) {
        var updater = new Ajax.Updater('checkout-progress-wrapper', this.progressUrl, {
            method: 'get',
            onFailure: this.ajaxFailure.bind(this),
            parameters: toStep ? {toStep: toStep} : null
        });
    },
    

    If you check the documentation for Ajax.Updater, you’ll see there’s an additional option that Magento doesn’t pass in

    evalScripts (Boolean; defaults to false): Whether elements in the response text should be evaluated.

    This means scripts aren’t evaluated when Magento updates that section of the page via Ajax, and is the most likely reason you’re seeing the behavior you describe.

    To solve you problem, I’d skip adding this code to the progress.phtml template, and instead use the following layout update (in local.xml, or somewhere else if that’s your style)

    <layouts>
        <checkout_onepage_index>
            <reference name="right">
                <block type="core/text" name="my_extra_stuff" before="checkout.progress.wrapper">
                    <action method="setText"><text><![CDATA[
                    <span id="siteseal"><script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=xxx"></script></span>
                    ]]></text></action>
                </block>
            </reference>
        </checkout_onepage_index>
    </layouts>  
    

    If you want your code below the progress stuff, just remove before="checkout.progress.wrapper" from the layout update xml.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to add an askquestion dialog box to a delete button
I have been trying to add to the Watch window a Java Date object
At www.euroworker.no/order I have been trying to add a tooltip function but it seems
I have been trying and trying and looking for ways/tutorials on how to add
I want to add a thumbnail picture viewer to my application.I have been trying
Have been trying to encrypt an xml file to a string so that I
I have been trying to figure out how to convert string below string to
I have been trying to write a code that will check if the given
I have been trying to display a folder list in Java using this code
Hi I have been trying to learn how to add some accessibility tools but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.