Site maintenance: Tuesday 17 Nov, from 10: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 / General Questions / Show Item is FREE shipping in the CART.

Show Item is FREE shipping in the CART.

Started by gloerick on 12 Mar 2011, 4:52 PM · Views: 3,781

Results 41 to 43 of 43
14 Mar 2011, 4:01 AM
#41
ajeh avatar

ajeh

Oba-san

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

Show Item is FREE shipping in the CART.

You need to customize the FREE SHIPPING! freeshipper shiping module ...

      if (zen_get_shipping_enabled($this->code)) {
        $this->enabled = ((MODULE_SHIPPING_FREESHIPPER_STATUS == 'True') ? true : false);
      }

// bof: disallow for Canada, Alaska, Hawaii
if ($order->delivery['country']['id'] == 38 || ($order->delivery['country']['id'] == 223 && $order->delivery['state'] == 'Alaska') || ($order->delivery['country']['id'] == 223 && $order->delivery['state'] == 'Hawaii')) {
  $this->enabled = false;
}
// eof: disallow for Canada, Alaska, Hawaii

      if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_FREESHIPPER_ZONE > 0) ) {

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!

14 Mar 2011, 5:21 AM
#42
gloerick avatar

gloerick

Zen Follower

Join Date:
Feb 2006
Location:
Boise, ID
Posts:
330
Plugin Contributions:
0

Re: Show Item is FREE shipping in the CART.

That was it AGAIN, how do you know so much ? very impressive.
I cannot thank you enough, and again I hope this can help others as it is all here..

I will make my donation, the help in INVALUABLE !!

Thank you
Erick

14 Mar 2011, 1:25 PM
#43
ajeh avatar

ajeh

Oba-san

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

Re: Show Item is FREE shipping in the CART.

You are most welcome ... thanks for the update that all is working now and thanks for the support ... :smile:

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!