andyEPP Posted March 17, 2006 Posted March 17, 2006 Hi :) I have built a new website for a software company and included OSCommerce 2.2 in this. Due to the way they wanted the site built, I ended up embedding the store in an i-frame. The store works absolutely perfect, currently using the Protx Form to process transactions. I have a SSL certificate installed and working with the store (checkout + address book/personal info encrypted as expected). The next bit of headscratching is how to display the padlock icon in the browser. I understand that because the shop is embedded in an i-frame the top level document isnt encrypted, and so no padlock icon in the browser. Using firefox to break out of the i-frame and display the shop in its own browser results in the https:// address being displayed and the padlock icon in the bottom right corner too. I'm very open to suggestions on this :) In hindsight I should have realised this would happen but there was such a rush on to produce a working site I took the quick and easy (at the time!) option. thanks andy http://www.easypricepro.com/store.php <- browsing customer view of the store http://www.easypricepro.com/catalog/index.php <- "breakout" view
jasonabc Posted March 17, 2006 Posted March 17, 2006 just get rid of the iFrame and put the contents in a scrolling <div>. Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
andyEPP Posted March 20, 2006 Author Posted March 20, 2006 just get rid of the iFrame and put the contents in a scrolling <div>. that a good idea, ill give it a try thanks :)
andyEPP Posted March 20, 2006 Author Posted March 20, 2006 well, it works, but not quite how i wanted it. http://www.easypricepro.com/div_shop.php the initial page displays correctly, but once a link is clicked the shop breaks out of the div's i have setup and goes full browser. i guess ill go with my original fudge of https:// links to all the shop entry paths and leave it embedded in the iframe. you live and learn :)
♥Vger Posted March 20, 2006 Posted March 20, 2006 A lot of browsers are set to automatically block iframes, so take the first piece of advice and drop them entirely. Vger
jasonabc Posted March 20, 2006 Posted March 20, 2006 you're still treating this as two separate pages. I viewed the source code of that page you posted and you have two blocks of code - both with opening <html>, <head> and <body> tags - in the same page. It is entirely possible to put all your store middle content in a scrolling <div>. Even if you find this too much you should definitely drop the iFrame. Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
Recommended Posts
Archived
This topic is now archived and is closed to further replies.