Hello,
I tried to installed on my webshop the contrib
MVS Shipping Cost Estimator v1.1b
I would like this estimator to be in an infobox, not during the checkout. The box appears normally but no pop-up when I click on it, even if my pop-up blocker is switched off.
Here is the file for the infobox includes/boxes/estimate_shipping.php:
Quote:
<?php
/*
$Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions osCommerce, Open Source Online Shop E-Commerce Solutions
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
?>
<!-- information //-->
<tr>
<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => 'Estimate Shipping');
new infoBoxHeading($info_box_contents, false, false);
$info_box_contents = array();
$info_box_contents[] = array('text' =>
'<center><a href="javascript:estimatorpopupWindow(\''. tep_href_link('ship_estimator.php', '', 'SSL') .'\')"><img src="/shop/includes/languages/english/images/buttons/button_estimate_shipping.gif" border="0"></a></center>'
);
new infoBox($info_box_contents);
?>
</td>
</tr>
<!-- information_eof //-->
|
It looks that this piece of code has to added but I don't know where:
Quote:
<!-- added for pop-up ship estimator //-->
<SCRIPT LANGUAGE="JavaScript">
function estimatorpopupWindow(URL) {window.open(URL,'shippingestimator','toolbar=0,sc rollbars=1,location=0,statusbar=0,menubar=0,resiza ble=1,width=800,height=600')}
</script>
<!-- added for pop-up ship estimator end //-->
|
Thank you for your help!