Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Preview template in popup


Ronny

Recommended Posts

Hello.

I´m currantly working on a web-template shop. As it is the costumer can view the template in a popup image (the way osCommerce is set up by default)

 

I would like the costumer to be able to view the template site in a popup instead of just an image of it.

 

Anyone know if there exists a contrib for this?

 

I could probably figure out a way but suspect this will require a lot of editing and creation of new files.

 

Here´s a link to the site:

Eterya Design

May life be good to you...

Sincerely, Ronny

Link to comment
Share on other sites

By the way.

Do you know what I can add to the product_info.php to make the window appear without navigation, meny, address bar ect. ?

May life be good to you...

Sincerely, Ronny

Link to comment
Share on other sites

By the way.

Do you know what I can add to the product_info.php to make the window appear without navigation, meny, address bar ect. ?

 

Here´s the line that opens the window:

define('TEXT_MORE_INFORMATION', 'For å se siden, <a href="%s" target="blank"><b>Trykk her</b></a>.');

May life be good to you...

Sincerely, Ronny

Link to comment
Share on other sites

Been trying out different things and ended up with the following:

 

Can someone tell me whats wrong here?

 

<?php

echo" 
<script Language=\"JavaScript\"> 
function load() { 
var load = window.open('','','scrollbars=yes,menubar=no,height=550,width=760,resizable=no,toolbar=n  o,location=no,status=no'); 
} 
</Script> 
";

define('TEXT_PRODUCT_NOT_FOUND', 'Produktet finnes ikke!');
define('TEXT_CURRENT_REVIEWS', 'Omtaler:');

define('TEXT_MORE_INFORMATION','For å se siden, <a href="java script:load()", <b>Trykk her.</b></a>');

define('TEXT_DATE_ADDED', 'Dette produktet ble lagt inn i vår katalog %s.');
define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">Ventet inn %s.</font>');
define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Kunder som kjøpte dette produktet, kjøpte også');
define('TEXT_PRODUCT_OPTIONS', 'Alternativer:');
define('TEXT_CLICK_TO_ENLARGE', 'Trykk for</br>større bilde');

?>

 

 

 

The window opens the way it should but with a blank page with "error code 400, bad Request".

May life be good to you...

Sincerely, Ronny

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...