Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] UK Special Delivery Shipping Module


tobz

Recommended Posts

This is a simple module tested on the post-Nov 02 checkout and is basically a clone of the standard zones.php module.

 

It is for UK based shops shipping to UK based customers only.

 

All it requires you to do is copy the files to your server and turn on the module in Admin.

 

:arrow: Get it here: http://www.oscommerce.com/community/contributions,919

tobz

 

osCommerce Links

osCommerce Templates

osCommerce UK <-- This site is for sale!

Link to comment
Share on other sites

Nice one, we need more UK stuff. :wink:

 

For those who get the tep_free_ship error, you need to remove Linda's free ship function from the code. Thats if you dont run her free ship mod.

But if you get the error it means u dont. :)

 

Easy to spot tho.

 

CC.

Link to comment
Share on other sites

Nice one, we need more UK stuff.

 

Would definitely agree with you there :) My PHP skills aren't really up to writting new modules but I am confident to make fairly simple mods like this so I will contribute where I can.

 

For those who get the tep_free_ship error, you need to remove Linda's free ship function from the code. Thats if you dont run her free ship mod.

 

Completely forgot about that :oops: Thanks CC! I will add an update with this code removed when I get a chance this afternoon/evening.

tobz

 

osCommerce Links

osCommerce Templates

osCommerce UK <-- This site is for sale!

Link to comment
Share on other sites

Nice one, we need more UK stuff. :wink:

 

For those who get the tep_free_ship error, you need to remove Linda's free ship function from the code. Thats if you dont run her free ship mod.

But if you get the error it means u dont. :)

 

Easy to spot tho.

 

CC.

 

You couldnt post the url to lindas contrib could you please??

 

I cant seem to locate it!

Link to comment
Share on other sites

Do I need to remoce Lindas Free shipping section and if so where is it ?

 

Fatal error: Call to undefined function: tep_get_free_shipper() in /xx/xxxxx/xxxxxx/catalog/includes/modules/shipping/uksd.php on line 107

 

Thanx in advance

 

Ray

Link to comment
Share on other sites

Sorry about this, I'm just about to post an update to this contribution but in the meantime, simply replace:

 

// BOF: WebMakers.com Added: Free Payments and Shipping

if ( tep_get_free_shipper($this->code) ) {

     $this->enabled = MODULE_SHIPPING_UKSD_STATUS;

}

// EOF: WebMakers.com Added: Free Payments and Shipping

with

      $this->enabled = MODULE_SHIPPING_UKSD_STATUS;

in the file catalog/includes/modules/shipping/uksd.php

tobz

 

osCommerce Links

osCommerce Templates

osCommerce UK <-- This site is for sale!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...