Re: Free Delivery for Some Products
Code:
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:
Code:
// 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
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.
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 ...
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.
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 ...
Re: Free Delivery for Some Products
Quote:
Originally Posted by
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?
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 ...
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.
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?
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.