Zen Cart Logo

Shipping Estimator

Locked

Views: 1,868

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
22 Aug 2007, 5:39 PM
#1
cjcom2001 avatar

cjcom2001

New Zenner

Join Date:
Aug 2007
Posts:
2
Plugin Contributions:
0

Shipping Estimator

Does a visitor have to login to get an estimate on shipping with this estimateor? If so, is there anyway around that? We want anyone to be able to get an estimate for the items in their cart without loggin in.
http://www.eutoypiaonline.com/index.php
Thank you so much!

26 Aug 2007, 7:30 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Shipping Estimator

The Shipping Estimator does NOT require a login ...

The Shipping Estimator DOES require an address for it to calculate the Shipping costs ...

Once an address is supplied, it will remember it for the current session ...

2 Dec 2007, 3:45 PM
#3
vik007 avatar

vik007

Zen Follower

Join Date:
Feb 2007
Posts:
201
Plugin Contributions:
0

Re: Shipping Estimator

Hi,

I see the problem you mentioned.

How do i / where do i add the following line:

**Please Log In to display your personal shipping costs
**
Thanks mate

Vik
https://www.splay.co.uk

2 Dec 2007, 4:26 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Shipping Estimator

I'd peek at the tpl_modules_shipping_estimator.php and copy to your templates and overrides directory and make appropriate changes to that to display additional information ... :smile:

8 Jan 2008, 7:24 PM
#5
keylesslocks avatar

keylesslocks

Zen Follower

Join Date:
May 2007
Posts:
267
Plugin Contributions:
0

Re: Shipping Estimator

I added a picture and link to the shipping estimator in a sidebox, I want the shipping estimator to open in a popup like on the checkout page, but when I add this code to the sidebox file for the address when the image is clicked on,

 <a href="javascript:popupWindow('http://midwestapplianceparts.com/popup_shipping_estimator.html')">
```the page dies loading after the header....

so... I changed the code to something like this: 
```html
 <a href="'https://midwestapplianceparts.com/popup_shipping_estimator.html" target="_blank">
```this works fine, but opens a whole new big window....

I want the popup to work... so what can I change in this code to get the popup to work

```php
<?php
/**
* tpl_authorizenet.php
*
* Loaded automatically by index.php?main_page=account_edit.<br />
* Displays information related to a single specific order
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* $Id: tpl_godaddy.php v 1.2 2006-09-06
* Zen Cart Mod For 1.3xxxx by knuckle-101
*/

$content .= '
<a target="_blank" href="https://www.scanalert.com/RatingVerify?ref=www.midwestapplianceparts.com">
<img width="94" height="54" border="0" src="//images.scanalert.com/meter/www.midwestapplianceparts.com/13.gif" alt="HACKER SAFE certified sites prevent over 99.9% of hacker crime." /></a><br>
<br><img src="images/authorize/secure_payments_seal.gif"><br><br><img src="images/cc-paypal.jpg"><br>
<a href="https://midwestapplianceparts.com/popup_shipping_estimator.html" target="_blank" ><img src="images/shipest.jpg" /></a>';
?>
9 Jan 2008, 7:53 PM
#6
keylesslocks avatar

keylesslocks

Zen Follower

Join Date:
May 2007
Posts:
267
Plugin Contributions:
0

Re: Shipping Estimator

any ideas? I want to get this working asap

9 Jan 2008, 9:38 PM
#7
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Shipping Estimator

Popup Windows require the use JS coding.

Perhaps this older thread or this newer thread on the Subject will help.

2 Feb 2008, 6:22 PM
#8
keylesslocks avatar

keylesslocks

Zen Follower

Join Date:
May 2007
Posts:
267
Plugin Contributions:
0

Re: Shipping Estimator

So I went through those post and tried everything...

this:

<form> <input type="button" value=" View Template " onclick="window.open(\'popup_shipping_estimator.html\',\'mywindow\',\scrollbar s=yes,menubar=0,resizable=1,toolbar=no,width=780,height=590')" /> </form>

Remember this is in a sidebox....

whenever I put this code, the page stops loading at the side box... also, I don't want it to be a button, I want it to be a clickable image. I can figure that out later, if only I could get this form working... any ideas?

2 Feb 2008, 6:59 PM
#9
keylesslocks avatar

keylesslocks

Zen Follower

Join Date:
May 2007
Posts:
267
Plugin Contributions:
0

Re: Shipping Estimator

Ok, making some progress...

when I use this code:

<form> <input type="button" value=" View Template "onclick="window.open(\'https://midwestapplianceparts.com/midtest/index.php?main_page=popup_shipping_estimator\',\'mywindow\',\'scrollbars=yes,menubar=0,resizable=1,toolbar=no,width=780,height=590\')"> </form>

it works, but it is a form button

so then I try to change it to an image submit and I use this:

<form> <input type="image" src="images/shipest.jpg" name="submit" value=" View Template "onclick="window.open(\'https://midwestapplianceparts.com/midtest/index.php?main_page=popup_shipping_estimator\',\'mywindow\',\'scrollbars=yes,menubar=0,resizable=1,toolbar=no,width=780,height=590\')"> </form>

it works too... pops the window like I want... but...
when you roll over the image it shows the url of the page it is on and then goes there after you click...

so it pops the window and then changes the current window too...

very strange... any ideas?