Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Add Custom Iframe On Checkout Page Rate Topic   - - - - -

 
  • yckelvin
  • Advanced Member
  • Members
  • Join Date: 22-May 15
  • 52 posts

Posted 20 July 2019 - 07:57 AM #1

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.

 



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11334 posts

Posted 20 July 2019 - 05:12 PM #2

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.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • yckelvin
  • Advanced Member
  • Members
  • Join Date: 22-May 15
  • 52 posts

Posted 20 July 2019 - 05:31 PM #3

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. 



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11334 posts

Posted 20 July 2019 - 07:04 PM #4

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.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19582 posts

Posted 22 July 2019 - 05:44 AM #5

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • yckelvin
  • Advanced Member
  • Members
  • Join Date: 22-May 15
  • 52 posts

Posted 01 August 2019 - 01:12 PM #6

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

Thanks for your clarification.