Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Feb 2007
    Location
    Prague
    Posts
    53
    Plugin Contributions
    0

    help question Copy/clone of TABLE shipping module 1.3.7

    Hi, I would like to make a copy of shipping module TABLE e.g. TABLE1 and TABLE2.
    How can I do it ? I think to make a copy of:
    \includes\languages\MY LANGUAGE\modules\shipping\table.php
    \includes\modules\shipping\table.php

    rename these files and make some changes in \includes\modules\shipping\table1.php

    but I still can not find, what I have to change in this file.

    Can anybody help me, please ?

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

    Default Re: Copy/clone of TABLE shipping module 1.3.7

    You are cloning the 2 files:
    /includes/modules/shipping/table.php
    /includes/languages/english/modules/shipping/table.php

    to the files:
    /includes/modules/shipping/table1.php
    /includes/languages/english/modules/shipping/table1.php


    Change all words:
    table to table1

    TABLE to TABLE1

    NOTE: These are case sensative ...

    WARNING: Do NOT change anything that starts with the word TABLE_ as this is a physical table in the database ...


    Test ... table1 ... does it work?

    If so, now clone table1.php files to table2.php files looking for the words:
    table1
    TABLE1

    as those will help skip the database TABLE_ references ...

    Let us know how it goes ...
    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: v1.5.5]
    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!

  3. #3
    Join Date
    Feb 2007
    Location
    Prague
    Posts
    53
    Plugin Contributions
    0

    Default Re: Copy/clone of TABLE shipping module 1.3.7

    Thank yuo very much. I tried the TABLE1 module and it looks it works OK,.
    Only one small mistake - you can see it in the picture (sorry it is in czech). It is not possible to see the sort order by "Česká pošta 2 -table1", but in the detail of "Česka pošta 2 -table1" you can see it. Also, in the shop the sort order does not work, because the "Česka pošta 2" is in tle last possition and has to be the second one.

    I also do not understand why it is RED and "Česka pošta - table" and Store pickup is YELLOW.
    Attached Images Attached Images  

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

    Default Re: Copy/clone of TABLE shipping module 1.3.7

    Red is not installed ...

    Yellow is installed with either:
    1 Zones
    2 Not configured correctly (this only tests obvious things)

    Green is installed ...
    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: v1.5.5]
    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!

  5. #5
    Join Date
    Feb 2007
    Location
    Prague
    Posts
    53
    Plugin Contributions
    0

    Default Re: Copy/clone of TABLE shipping module 1.3.7

    OK, and do you know what to do with the SORT ORDER PROBLEM ?

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

    Default Re: Copy/clone of TABLE shipping module 1.3.7

    Install the other module and set the sort order?
    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: v1.5.5]
    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!

  7. #7
    Join Date
    Feb 2007
    Location
    Prague
    Posts
    53
    Plugin Contributions
    0

    Default Re: Copy/clone of TABLE shipping module 1.3.7

    Thanks a lot, it is OK now. I reinstalled all shipping modules and it is OK.

    Now, I have just one question. It is possible to have two different prices for cash on delivery fee ?

    e.g.

    CZECH POST (shipping module TABLE)
    1kg pack e.g. 100 CZK + cash on delivery fee 30 CZK

    or

    DHL (shipping module TABLE1
    1kg pack e.g. 120 CZK + cash on delivery fee 50 CZK

    SO, what I would like to se up is:
    If customer select CZECH POST with cash on delivery the price will be plus 30CZK
    or If the customer select DHL with cash on delivery then the price will be +50 CZK.

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

    Default Re: Copy/clone of TABLE shipping module 1.3.7

    This is built into the Modules ... Order Totals ... COD Fee ot_cod

    You will need to look at how this file handles this and recode to include the new tables and uninstall and reinstall and reconfigure ...
    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: v1.5.5]
    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!

  9. #9
    Join Date
    Feb 2007
    Location
    Prague
    Posts
    53
    Plugin Contributions
    0

    Default Re: Copy/clone of TABLE shipping module 1.3.7

    So, I try to use ship2pay modul. It looks fine. I have the shipping&payments combination I need:

    Czech post pack - pay: czech post COD, money order
    Czech post business pack - pay: czech post COD, money order
    PPL pack - pay: PPL COD, money order
    store pickup - pay: cash, money order

    but I have problem with the COD fee, because it is not add to total price for shipping:

    I use this configuration:

    Shipping modules

    Modul TABLE - Czech post pack
    Modul TABLE1 - Czech post business pack
    Modul TABLE2 - PPL pack

    Payments
    Modul COD - czech post COD
    Modul COD1- PPL COD
    Modul COD2- cash payment

    Order total
    Modul ot_cod_fee - COD fee

    I am not sure if I have to make copy of ot_cod_fee and create from this module ot_cod1_fee for PPL COD fee ???

    May be I have some mistake in COD1 and COD2 modules copied from COD module, but the fee for COD module also does not work ?

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

    Default Re: Copy/clone of TABLE shipping module 1.3.7

    I would have to sit down and write the code for looking into adding the additional shipping modules ...

    The best I can tell you in order to do this yourself is to look at how table is added and clone its settings for your new one ... if it is hard to follow, trace how flat is done to follow the code for this ...
    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: v1.5.5]
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Shipping - Table Rate Clone
    By Nick1973 in forum General Questions
    Replies: 5
    Last Post: 2 Feb 2011, 04:23 PM
  2. Zones Table Rate Shipping Module clone
    By maclean in forum Addon Shipping Modules
    Replies: 2
    Last Post: 24 Jul 2009, 04:59 PM
  3. Clone of table shipping module problem
    By Sushigal in forum General Questions
    Replies: 9
    Last Post: 21 Apr 2009, 12:59 PM
  4. Unable to clone Table Module
    By gtowle in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 5 Jul 2008, 07:23 PM
  5. Clone a shipping module or define a new shipping attribute under table rate module?
    By meeven in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 4 Sep 2007, 04:56 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