Page 1 of 3 123 LastLast
Results 1 to 15 of 35

Thread: CSV Import Script

  1. #1
    Join Date
    Nov 2009
    Posts
    14

    Exclamation CSV Import Script

    I'm making right now a CSV import script using the WHMCS API:

    Currently is working ok for the addclient Function and i will continue with the addorder function for domains and hostings.

    But 'm having a problem, the csv have the hosting plans with names not with product ids like the api function needs, it would not be a problem with a GetProducts function in the API but it doesnt exist.

    Any way to get the product id by name something like:

    getProductDetails($product_name);

    Regards

    http://www.imaginacolombia.com

  2. #2
    Join Date
    Sep 2010
    Location
    Europe
    Posts
    2

    Default

    Did you figured out how to fix that ?

  3. #3
    Join Date
    May 2010
    Posts
    1

    Default

    Will be interested too as we'll be importing from an old custom billing system to WHMCS soon. Thanks.

  4. #4
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    95

    Default

    wwwcad: you can get the product id of a product name w/ a quick SSL query:

    ie:
    <?php
    include("configuration.php");
    include("includes/functions.php");

    $SQL = "SELECT `id`,`name` FROM `tblproducts` WHERE `name` like '%vps-1%'";
    $res = mysql_query($SQL);
    $row = mysql_fetch_assoc($res)

    $productid = $row['id'];

    Hope this helps you at all?

  5. #5
    Join Date
    Nov 2009
    Posts
    14

    Lightbulb Module Ready in Beta

    The module is ready.

    I have been using it to import sucessfully from Nicline, Directi and WSP.

    People who wants to get it PM me.

    Regards

    --
    www.imaginacolombia.com

  6. #6
    Join Date
    Nov 2010
    Posts
    13

    Default

    wwwcad, not sure why but i cannot PM anyone on the forum.

    Could you PM me anbout the nicline mod?

    Gracias

  7. #7
    Join Date
    Dec 2010
    Location
    Home
    Posts
    4

    Default

    great...........

    I want this information too, but can't PM anyone !

    ---
    Last edited by austinflowers; 12-07-10 at 11:10 PM.

  8. #8
    Join Date
    Jan 2009
    Location
    Spokane, WA
    Posts
    538

    Default

    PM doesn't work for new people here -- I think you need to have posted 10 times or something like that.

  9. #9
    Join Date
    Jul 2008
    Posts
    11

    Default

    I too am after a CSV import script, my data is in a FileMaker database so I can manipulate it's export to suit virtually any CSV import script as long as I know the field format/order that is required.

  10. #10
    Join Date
    Jul 2008
    Posts
    140

    Default

    I am also after a CSV import script. I sent a PM, but have not heard back.

  11. #11
    Join Date
    Jan 2011
    Posts
    4

    Default

    Same here. I'm unable to PM. This script would be a great help to me. Any chance I could get it as well?

    Thanks

  12. #12
    Join Date
    Nov 2009
    Posts
    14

    Default

    Sorry about my late response. I didn't receive any notification of the post.

    Here is a Link to the Blog Post where you can download the module for free: http://dev.imaginacolombia.com/home/...ript-for-whmcs

    More info and add-ons: http://dev.imaginacolombia.com

    --
    http://www.imaginacolombia.com

  13. #13
    Join Date
    Aug 2010
    Posts
    13

    Default

    Hi, I'm having trouble getting this module to work, I've copied it into billing/modules/admin and I have also changed the API username and password in the importcsv.php file. When I go into Addon Modules and then importcsv it just gives me a blank screen with no settings to configure.
    Maybe I'm doing something wrong, any help would be appreciated.
    Thanks
    Tinus

  14. #14
    Join Date
    Dec 2010
    Posts
    3

    Default

    i am getting a blank page as well no place to enter info. anyone else get this figured out?

  15. #15
    Join Date
    Nov 2009
    Posts
    14

    Exclamation

    I just solved some problems with a blank page in the first Step of the Wizard.

    Download: http://dev.imaginacolombia.com/home/...ript-for-whmcs

    Let me know if it's working on your end.

    Regards

Page 1 of 3 123 LastLast

Similar Threads

  1. Import script for csv
    By netbone in forum Feature Requests
    Replies: 0
    Last Post: 05-03-12, 08:00 AM
  2. Import from CSV?
    By atjeu in forum Import Scripts
    Replies: 2
    Last Post: 05-27-11, 05:08 PM
  3. CSV Import
    By UK Host Direct in forum Import Scripts
    Replies: 2
    Last Post: 01-30-08, 02:54 PM
  4. Generic import module (e.g. csv import)
    By ozzie in forum Feature Requests
    Replies: 2
    Last Post: 12-27-06, 10:42 AM