Zen Cart Logo
Forums / General Questions / Free shipping + Royal Mail Special Delivery

Free shipping + Royal Mail Special Delivery

Views: 1,278

Results 1 to 12 of 12
14 Jun 2011, 9:30 PM
#1
iwantone avatar

iwantone

New Zenner

Join Date:
Mar 2009
Posts:
31
Plugin Contributions:
0

Free shipping + Royal Mail Special Delivery

I have Free shipping using freeshipper setup and working well, but I also offer optional shipping upgrades.

The problem is that when I specify free shipping in the item description, this sets all weights to 0, so when a customer upgrades to Royal Mail Special Delivery, the pricing does not take into account the Royal Mail Special Delivery pricing structure relavent to the weight.

Is there any way round this that will allow me to offer free shipping and for the Special Delivery price to be calculated correctly from the price by weight?

14 Jun 2011, 11:12 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping + Royal Mail Special Delivery

Free Shipping freeshipper is for Products marked as Always Free Shipping or 0 weight where 0 weight is defined to be Free Shipping ...

This method makes everything Free Shipping and disables other shipping methods ...

You will need to do some customization to make this function in another way to have both Always Free Shipping and weight work together ...

Are all of your Products available with Free Shipping or a choice for another shipping method?

15 Jun 2011, 7:19 AM
#3
iwantone avatar

iwantone

New Zenner

Join Date:
Mar 2009
Posts:
31
Plugin Contributions:
0

Re: Free shipping + Royal Mail Special Delivery

Yes.

Basically for orders to the UK I offer 2nd class (free shipping) or a set fee for first class recorded and a set fee for Special Delivery.

I have set the non free shipping just as a set fee as I could not get it to work with the weights.

The Royal Mail Special Delivery gets very expensive for heavy orders, but I do not want to put off customers that buy a regular amount (low in weight) of using the Special Deilivery by having this service too expensive because of the possible price of a heavy order.

15 Jun 2011, 1:55 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping + Royal Mail Special Delivery

If ALL Products are Free Shipping and you want both Free Shipping and other shipping methods, turn off the Always Free Shipping then use the Free Shipping Options freeoptions ... and set the Total >= 0.00 ...

If you want to limit the Free Shipping Options freeoptions to only the UK then add a Zone for the UK to the Free Shipping Options freeoptions ...

Free Shipping freeshipper is for when Free shipping is the only choice based on Always Free Shipping or 0 weight when 0 weight is defined as Free Shipping ...

15 Jun 2011, 6:13 PM
#5
iwantone avatar

iwantone

New Zenner

Join Date:
Mar 2009
Posts:
31
Plugin Contributions:
0

Re: Free shipping + Royal Mail Special Delivery

Thanks for the insight.

All understood and working with test item correctly.

The only slight side effect is that I can not have the free shipping image.

I had found an increase in sales with this image against the products. Is there any way to get the freeshipper image to dispaly when using the free shipper option?

15 Jun 2011, 6:16 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping + Royal Mail Special Delivery

You would have to either customize the code to show the Free Shipping icon regardless of the setting ... using your templates and overrides ...

Or, you would have to customize all of the shipping modules and shipping class to allow for Always Free Shipping to allow other shipping methods to show correctly and calculate shipping weight for the regular shipping methods ...

15 Jun 2011, 6:35 PM
#7
iwantone avatar

iwantone

New Zenner

Join Date:
Mar 2009
Posts:
31
Plugin Contributions:
0

Re: Free shipping + Royal Mail Special Delivery

My shipping image is an amended image showing free uk deilivery, so to have the image showed on all products would be ok.

What would i need to do to have the image to display on all products?

The current amended image uses the same details from freeshipper, I had just copied a new image file of the same name to be used as my image file.

I am not a programmer, so any assistance would be much appreciated.

15 Jun 2011, 6:41 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping + Royal Mail Special Delivery

Using your templates and overrides you would need to change the display of the Free shipping icon:

<!--bof free ship icon  -->
<?php if(zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon  -->

To make it always show you could customize that code to:

<!--bof free ship icon  -->
<?php if(true || zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon  -->
15 Jun 2011, 7:31 PM
#9
iwantone avatar

iwantone

New Zenner

Join Date:
Mar 2009
Posts:
31
Plugin Contributions:
0

Re: Free shipping + Royal Mail Special Delivery

Do you have a list of all files that need amending:
Here are the files I found using the deveoper kit:

/home/iwantone/public_html/includes/templates/template_default/templates/tpl_document_general_info_display.php

/home/iwantone/public_html/includes/templates/template_default/templates/tpl_document_product_info_display.php

/home/iwantone/public_html/includes/templates/template_default/templates/tpl_product_free_shipping_info_display.php

/home/iwantone/public_html/includes/templates/template_default/templates/tpl_product_info_display.php

/home/iwantone/public_html/includes/templates/template_default/templates/tpl_product_music_info_display.php

The detailed description shows the free shipping option, but when browsing by category, not shown on page.

I have been playing with one product listing - Anti-Parasite Tincture 500ml

Here is a link to my category page showing the problem
http://www.newhealthandfitnessdvds.co.uk/health-supplements/fluid-extracts-tinctures

15 Jun 2011, 10:40 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping + Royal Mail Special Delivery

You would want to customize the file:
/includes/modules/product_listing.php

again, using your templates and overrides ...

Where you see the code:

        $lc_text .= '<br />' . (zen_get_show_product_switch($listing->fields['products_id'], 'ALWAYS_FREE_SHIPPING_IMAGE_SWITCH') ? (zen_get_product_is_always_free_shipping($listing->fields['products_id']) ? TEXT_PRODUCT_FREE_SHIPPING_ICON . '<br />' : '') : '');
//        $lc_text .= '<br />' . (zen_get_show_product_switch($listing->fields['products_id'], 'ALWAYS_FREE_SHIPPING_IMAGE_SWITCH') ? (zen_get_product_is_always_free_shipping($listing->fields['products_id']) ? TEXT_PRODUCT_FREE_SHIPPING_ICON . '<br />' : '') : '');
        $lc_text .= '<br />' . TEXT_PRODUCT_FREE_SHIPPING_ICON;

16 Jun 2011, 2:39 AM
#11
ducatimondo avatar

ducatimondo

New Zenner

Join Date:
Dec 2009
Location:
Halifax, UK
Posts:
12
Plugin Contributions:
0

Re: Free shipping + Royal Mail Special Delivery

iwantone:

Yes.

Basically for orders to the UK I offer 2nd class (free shipping) or a set fee for first class recorded and a set fee for Special Delivery.

I have set the non free shipping just as a set fee as I could not get it to work with the weights.

The Royal Mail Special Delivery gets very expensive for heavy orders, but I do not want to put off customers that buy a regular amount (low in weight) of using the Special Deilivery by having this service too expensive because of the possible price of a heavy order.
Would it not be easier to just set all of the tariffs in the 2nd class postage module to 0.00 shipping cost.

Then only enable the modules if they were true/available for that cart contents.
This would mean that the free 2nd class option would disappear when the cart exceeds the 2nd class postage weight limit.
It would also mean that you could also use the cart weights normally. The other modules, like Special Delivery would then work as they should and allow you to specify accurate costs for each as they normally would work based on a weight only shipping calculations.
Then of course you wouldn't need any custom coding for the shipping modules... maybe :unsure:

For the products with free shipping as an option, you could add that as a splash image on each product image. Otherwise add some custom coding to add just that part :unsure:

17 Jun 2011, 1:17 PM
#12
iwantone avatar

iwantone

New Zenner

Join Date:
Mar 2009
Posts:
31
Plugin Contributions:
0

Re: Free shipping + Royal Mail Special Delivery

Works perfectly.

Many thanks.