Forums / Managing Customers and Orders / Free Delivery for Some Products

Free Delivery for Some Products

Views: 7,747

Results 21 to 33 of 33
28 Apr 2012, 11:58 PM
#21
ajeh avatar

ajeh

Oba-san

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

Free Delivery for Some Products

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


// bof: turn off for manufacturers_id 3
if (!IS_ADMIN_FLAG) {
  $chk_man = $_SESSION['cart']->in_cart_check('manufacturers_id','3');
  if ($chk_man > 0) {
    $this->enabled = false;
  }
}
// eof: turn off for manufacturers_id 3

If using UPS you need to customize the file:
/includes/modules/shipping/ups.php

in a similar manner:

    // disable only when entire cart is free shipping
    if (zen_get_shipping_enabled($this->code)) {
      $this->enabled = ((MODULE_SHIPPING_UPS_STATUS == 'True') ? true : false);
    }

// bof: turn off for manufacturers_id 3
if (!IS_ADMIN_FLAG) {
  $chk_man = $_SESSION['cart']->in_cart_check('manufacturers_id','3');
  if ($chk_man > 0) {
    $this->enabled = false;
  }
}
// eof: turn off for manufacturers_id 3

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!

28 Apr 2012, 11:59 PM
#22
srlaird avatar

srlaird

New Zenner

Join Date:
May 2010
Posts:
74
Plugin Contributions:
0

Re: Free Delivery for Some Products

We currently have these shipping modules installed: freeshipper, storepickup & ups.

Yes, if only the manufacturers_id 3 product (our non-ship watch), then only Store Pickup shows. That is correct.

29 Apr 2012, 12:03 AM
#23
ajeh avatar

ajeh

Oba-san

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

Re: Free Delivery for Some Products

You will need a note as the Store Pickup is only available when the Shipping Address is Texas due to the Zone definition that you have set on this shipping module ...

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!

29 Apr 2012, 12:22 AM
#24
srlaird avatar

srlaird

New Zenner

Join Date:
May 2010
Posts:
74
Plugin Contributions:
0

Re: Free Delivery for Some Products

We have modified the freeshipper.php file with this new code, and modified ups.php as you have specified.

Thank you so very much. This gives Store Pickup only when there is a no-ship product in the cart with a regular product. :bigups:

Now, if we could just get the choice of Store Pickup or Free Delivery for our binoculars. They are a just a regular product. We would also be happy with the choice of Store Pickup, Free Delivery or UPS. That would be ok too.

29 Apr 2012, 12:24 AM
#25
ajeh avatar

ajeh

Oba-san

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

Re: Free Delivery for Some Products

Mark them as Always Free Shipping and you will see the Free Shipper and the Store Pickup ...

NOTE: you have the Store Pick up only for TEXAS so it will only show when the shipping address is TEXAS ...

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!

29 Apr 2012, 12:25 AM
#26
srlaird avatar

srlaird

New Zenner

Join Date:
May 2010
Posts:
74
Plugin Contributions:
0

Re: Free Delivery for Some Products

Ajeh:

You will need a note as the Store Pickup is only available when the Shipping Address is Texas due to the Zone definition that you have set on this shipping module ...

Sorry, I don't understand about needing a note. Do you mean adding information to the product description, or in the code for future reference?

29 Apr 2012, 12:26 AM
#27
ajeh avatar

ajeh

Oba-san

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

Re: Free Delivery for Some Products

If I add a Product that is manufactuers_id 3 to the cart, and I have an Ohio shipping Address I will not see the Store Pickup as you have a Zone set on it for TEXAS ...

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!

29 Apr 2012, 12:37 AM
#28
srlaird avatar

srlaird

New Zenner

Join Date:
May 2010
Posts:
74
Plugin Contributions:
0

Re: Free Delivery for Some Products

Oh, I understand. We will not be able to sell that product to Ohio, since it cannot be shipped. It displays as:

Not Available At This Time
Sorry, we are not shipping to your region at this time.
Please contact us for alternate arrangements.

That is just fine, but you are correct that we should put a note on any product with Manufacturer ID 3, saying it is store pick-up only, and will not be available outside Texas. If someone wanted to drive from Ohio to pick it up, they could certainly contact the store to make alternate arrangements.

29 Apr 2012, 12:39 AM
#29
ajeh avatar

ajeh

Oba-san

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

Re: Free Delivery for Some Products

Why do you need the Zone on Store Pick up ... Store Pick up means I have to come to your Store ... if I have an Ohio shipping address but happen to be in Texas that day, why can't I order this product and come to the store to get it?

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!

29 Apr 2012, 12:49 AM
#30
srlaird avatar

srlaird

New Zenner

Join Date:
May 2010
Posts:
74
Plugin Contributions:
0

Re: Free Delivery for Some Products

I hope this is not just semantics, but when I say Free Shipping, I am thinking UPS. When I say Free Delivery, we put the customer's product in a van and drive it to their school. They are two different things, since Free Delivery is only available for a group of students. Those who order outside the group will choose from the same products, but they will be set up for shipping to be Store Pickup or UPS.

29 Apr 2012, 12:52 AM
#31
srlaird avatar

srlaird

New Zenner

Join Date:
May 2010
Posts:
74
Plugin Contributions:
0

Re: Free Delivery for Some Products

Nothing against the great folks in Ohio, but people could make a mistake when they see a shipping type that is free, and they might choose it, then be disappointed when they realize that we have no store in Ohio.

29 Apr 2012, 12:54 AM
#32
ajeh avatar

ajeh

Oba-san

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

Re: Free Delivery for Some Products

A Product that is marked as Always Free Shipping means $0.00 shipping for everyone ...

There is not a setting for a few people to be Always Free Shipping ... you would have to write custom code for this ...

When you mark a Product as Always Free Shipping, do you mean everyone in the world gets Free Shipping with this Product?

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!

29 Apr 2012, 12:59 AM
#33
srlaird avatar

srlaird

New Zenner

Join Date:
May 2010
Posts:
74
Plugin Contributions:
0

Re: Free Delivery for Some Products

Free Delivery would be special products set up just for school groups. We could even put them in a category for Group Orders. Everyone who gets their order in before the deadline can have it delivered free with the group to their school.

After the deadline, we turn off that product, but students can still buy the individual items to be picked up at the store or shipped ups. Most will pick up from the store, as they are local schools.