Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Cloning the freeshipper module

    I have a client that wants to have certain products with free shipping in the US only and add a handling charge for international shipments. I attempted to clone the freeshipper module and discovered that it's not like the other shipping modules. I was able to get it to work by modifying the zen_get_shipping_enabled function in functions_general.php in addition to modifying the language and modules files. This unfortunately caused problems on the admin side giving me the following error:

    [21-May-2012 18:13:10] PHP Fatal error: Call to a member function in_cart_check() on a non-object in E:\wamp\www\shipping\includes\modules\shipping\freeshipper.php on line 25

    [21-May-2012 18:13:10] PHP Stack trace:

    [21-May-2012 18:13:10] PHP 1. {main}() E:\wamp\www\shipping\admin1\modules.php:0

    [21-May-2012 18:13:10] PHP 2. freeshipper->freeshipper() E:\wamp\www\shipping\admin1\modules.php:191

    I fear I'm headed down a real rat hole and wonder if someone could point me int the right direction. This if a fresh install on my local machine with the demo products loaded. No mods at all.

  2. #2
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Cloning the freeshipper module

    DOH! I fixed it. It helps when you remove the module and then install it again.

 

 

Similar Threads

  1. v154 Cloning the PayPal Express Checkout module - is it even an option?
    By dysfunctional in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 18 Jan 2015, 07:04 AM
  2. freeshipper module?
    By thebeveragegourmet in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 23 Jun 2010, 02:37 PM
  3. Cloning the Zone Based Rates Shipping Module?
    By pe7er in forum Addon Shipping Modules
    Replies: 15
    Last Post: 11 Mar 2010, 01:23 PM
  4. Cloning the Flat Rate Shipping Module
    By jo_h1971 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 16 Oct 2009, 12:11 PM
  5. cloning the shipping module - table
    By drmad in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 20 Oct 2006, 08:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR