Add Custom Iframe On Checkout Page

Dear Sir/Madam,

One of the marketing company request us to add a custom iFrame on the checkout page with basic information.

The iframe should contain the order number and its amount.

Do any one can help to instruct me which file I shall modify to add this iframe including the order number and amount?

P.S. Our cs-cart has several storefront, how can I do this for specific storefront?

Best regards,

Kelvin.

Generally, you don't have access to the content within an iFrame (that's the point of an iFrame). But most are generated via JS and you can supply parameters to the provided JS from the vendor.

Depending on where you want the iFrame to appear would depend on which template hook to use.

Suggest you:

1) Get more complete information from the vendor on how to use their extension

2) Hire a developer to implement it for you.

Generally, you don't have access to the content within an iFrame (that's the point of an iFrame). But most are generated via JS and you can supply parameters to the provided JS from the vendor.

Depending on where you want the iFrame to appear would depend on which template hook to use.

Suggest you:

1) Get more complete information from the vendor on how to use their extension

2) Hire a developer to implement it for you.

Dear Sir/Madam,

Vendor only require to place an iframe, no additional requirement.

I don't know whether here is the place for some one to sell service or helping developer. Did I post the question in wrong place?

I learn to develop my own add-on, so I assume here is the forum to share the addon development experience.

if you posted the code for the iFrame that the vendor wants you to install, we might be better able to help you identify what temlate variables to use in support of it.

On the checkout page you cannot get order ID. It is available on the order landing page only.

On the checkout page you cannot get order ID. It is available on the order landing page only.

Thanks for your clarification.