All weight caluclated as 0.10 for free shippers who want expidited?
I am running 1.5.4 with free shipping enabled and fedex web services
I have a product that weighs 30lbs and is set to free shipping. Some customers need the product expedited to overnight delivery.
The free shipping option shows just fine and so does the overnight but the issue is, the weight is set to 0.10 which offers a very low overnight fee that is inaccurate as the method only sees 0.10 as a weight rather than 30lbs.
Any ideas appreciated.
Re: All weight caluclated as 0.10 for free shippers who want expidited?
If you want to offer both the FREE SHIPPING! freeshipper and the FedEx at the same time, then you will need to do some customization ...
The Product that you want for Always Free Shipping and the FedEx, this is marked as Always Free Shipping, correct?
Does this Product get the Always Free Shipping to *everyone* or just a specific Zone?
Re: All weight caluclated as 0.10 for free shippers who want expidited?
Hi Ajey, thanks.
It gets free shipping for everyone. I have about 20 products in the same boat. All free ship to everyone but for those that need it in expressed in any way should be charged the full weight for their express method.
Re: All weight caluclated as 0.10 for free shippers who want expidited?
Let me go test this fix on a v1.5.4 and I will post it when I am done ... :smile:
Re: All weight caluclated as 0.10 for free shippers who want expidited?
Thanks Ajeh - I am very, very grateful
Re: All weight caluclated as 0.10 for free shippers who want expidited?
Okay ... pretty sure just these two changes to:
/includes/classes/shipping.php
Code:
function calculate_boxes_weight_and_tare() {
global $total_weight, $shipping_weight, $shipping_quoted, $shipping_num_boxes;
$total_weight += $_SESSION['cart']->free_shipping_weight;
$this->abort_legacy_calculations = FALSE;
and to the file:
/includes/modules/shipping/fedexwebservices.php
Code:
if (MODULE_SHIPPING_FEDEX_WEB_SERVICES_FREE_SHIPPING == 'true' || true || zen_get_shipping_enabled($this->code)) {
if (extension_loaded('soap')) {
$this->enabled = ((MODULE_SHIPPING_FEDEX_WEB_SERVICES_STATUS == 'true') ? true : false);
}
}
And now your shipping code should always show FedEx with the right weight and the FREE SHIPPING! freeshipper when there are just the Products marked as Always Free Shipping and the Products have weight on them ...
Re: All weight caluclated as 0.10 for free shippers who want expidited?
Awesome Ajeh!
Thank you a million! I'll let you know how it goes.
:)
Re: All weight caluclated as 0.10 for free shippers who want expidited?
Thanks for the update that this is now working for you ... remember the Zen Cart Team when you are rich and famous! :cool:
Re: All weight caluclated as 0.10 for free shippers who want expidited?
Re: All weight caluclated as 0.10 for free shippers who want expidited?
Awesome - worked 100%
Your the best (again :))
(Sorry for delay)