Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    33
    Plugin Contributions
    0

    Default Flat rate module help

    Does anyone have a shipping module that is basically a copy of flat rate, that I can add to my site and rename it? Or anyone have any advice on how to copy a shipping module and make it work?

  2. #2
    Join Date
    Aug 2007
    Posts
    33
    Plugin Contributions
    0

    help question Re: Flat rate module help

    I found the thread on cloning shipping modules and I did so. When I go to modules/shipping under admin and try to install the new cloned module, I get this error

    Warning: reset(): Passed variable is not an array or object in /home/content/c/i/r/circlegt/html/shop/admin/modules.php on line 279

    Warning: Variable passed to each() is not an array or object in /home/content/c/i/r/circlegt/html/shop/admin/modules.php on line 280

    I went to this file and went to line 279 and 280 and they look like this

    reset($mInfo->keys);
    while (list($key, $value) = each($mInfo->keys)) {


    Is there anybody out there that is familiar with cloning that can help?

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Flat rate module help

    flat.php ===> flatsomething.php
    flat ===> flatsomething
    FLAT ===> FLATSOMETHING

    Two files to clone:
    /includes/modules/shipping/flat.php ===>
    /includes/modules/shipping/flatsomething.php

    /includes/languages/english/modules/shipping/flat.php ===>
    /includes/languages/english/modules/shipping/flatsomething.php

    That's about all there is to it ...

    Sounds like you have errors somewhere, missing or mixed up files, typos, etc. etc. etc.
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Aug 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: Flat rate module help

    I will give it a try thanks

  5. #5
    Join Date
    Jul 2008
    Posts
    19
    Plugin Contributions
    0

    Default Flat rate module help

    I am having a flat rate shipping error.

    I have it configured to charge 8.50 per unit, It seems to be working properly, but there is the orange/yellow indicator that tells me it isnt.

    I have it set-up as follows:

    Flat Rate

    Enable Flat Shipping
    True

    Shipping Cost
    8.50

    Tax Class
    Taxable Goods

    Tax Basis
    Billing

    Shipping Zone
    New York ( New York )

    Sort Order
    1

    I'm thinking it has to do with the Shipping Zone or sort order. I never have been able to figure exactly what the sort order is.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Flat rate module help

    The Zone is triggering the orange dot to let you know that there is a "filter" or condition on the shipping module ...

    The Sort Order is for the display order of the Shipping Modules when you have more than one ...

    NOTE: Always be sure to set a Sort Order on ALL of the Modules, if you intend to set one of them ... otherwise, leaving the Sort Order at 0 will be okay on Shipping or Payment Modules ...

    NOTE: Order Total Modules always need to have Sort Orders and usually the default Sort Orders are correct ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. HELP! flat rate module issue
    By ExtremeRC in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 10 Jan 2010, 03:40 PM
  2. Flat rate in US but flat rate + $1 for ea additional item - International?
    By bakdoor in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 19 Oct 2008, 12:07 AM
  3. Flat rate, then another flat rate for certain heavy products?
    By JohneeMac in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 27 Mar 2007, 07:37 PM
  4. need to add to flat rate module
    By MB1 in forum Addon Shipping Modules
    Replies: 0
    Last Post: 2 Feb 2007, 06:01 PM
  5. Flat rate shipping module
    By tammy_kenny in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 25 Jul 2006, 01:07 AM

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