Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Addon Shipping Modules / add another shipping estimator on another page?

add another shipping estimator on another page?

Locked

Started by xcipher on 29 Nov 2010, 6:12 AM · Views: 989

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
29 Nov 2010, 6:12 AM
#1
xcipher avatar

xcipher

New Zenner

Join Date:
Nov 2010
Posts:
2
Plugin Contributions:
0

add another shipping estimator on another page?

Hello everybody, i got a problem. Could anybody please help me. I want to add a shipping estimator on the other page, I have two POST fields: quanity and country ,I want to estimator shipping by this.
i have added some code in the XXX/header_php.php,

  require(DIR_WS_CLASSES . 'shipping.php');
  $shipping_modules = new shipping;
  $quotes = $shipping_modules->quote();

but how to query based on the data sent by POST?

30 Nov 2010, 1:38 AM
#2
xcipher avatar

xcipher

New Zenner

Join Date:
Nov 2010
Posts:
2
Plugin Contributions:
0

Re: add another shipping estimator on another page?

Hello everybody , I am having a problem .
this code in the function quote() on includes/classes/shipping.php:

 $quotes = $GLOBALS[$include_quotes[$i]]->quote($method);

where the globals value in here is loaded? I use the MZMT module, but i can not find where to load it,and how to load it?

thanks.
Eliza

30 Nov 2010, 4:51 AM
#3
ajeh avatar

ajeh

Oba-san

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

Re: add another shipping estimator on another page?

What page are you trying to add the Shipping Estimator button to? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!