Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Customer Export issue

This is a discussion on Customer Export issue within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I've been trying to install this Contribution Name: Customer Export Contribution Version: 1.0 it all seems to go well until ...

      
  1. #1
    Member
    Join Date
    Oct 2007
    Posts
    51
    Rep Power
    6


    Red face Customer Export issue

    I've been trying to install this Contribution Name: Customer Export
    Contribution Version: 1.0

    it all seems to go well until I get to the last line I need to insert, it says to insert this line :

    ‘<a href=”‘ . tep_href_link(FILENAME_CUSTOMERS_EXPORT, ”, ‘NONSSL’) . ‘” class=”menuBoxContentLink”>’ . BOX_CUSTOMERS_EXPORT . ‘</a><br>’ .

    right after this line:

    ‘<a href=”‘ . tep_href_link(FILENAME_CUSTOMERS, ”, ‘NONSSL’) . ‘” class=”menuBoxContentLink”>’ . BOX_CUSTOMERS_CUSTOMERS . ‘</a><br>’ .

    but what I have in my /admin/includes/boxes/customers.php
    script is this:


    //old-$contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_CUSTOMERS . '</a><br>' .

    //old- '<a href="' . tep_href_link(FILENAME_ORDERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_ORDERS . '</a>');

    and no matter where I try to put it it gives me errors does anyone know where the last line goes? Please help me,
    Thank you to all for your time and consideration, any help or direction would be greatly appreciated

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,126
    Rep Power
    55


    Thumbs up Re: Customer Export issue

    You need to convert the code ...

    find: (it should be the first line of $content array)
    $contents[] = array('text' => tep_admin_files_boxes(FILENAME_CUSTOMERS, BOX_CUSTOMERS_CUSTOMERS) .
    and add after it: (on a new line)
    tep_admin_files_boxes(FILENAME_CUSTOMERS_EXPORT, BOX_CUSTOMERS_EXPORT) .
    and don't forget the fullstop at the end "." as this links the content together.

    Hope this helps,

    pgmarshall


  3. #3
    Member
    Join Date
    Oct 2007
    Posts
    51
    Rep Power
    6


    Default Re: Customer Export issue

    I can't begin to thank you enough, Thank you for your time and your code it worked GREAT!!! THANKS SO MUCH!!!!!!!

  4. #4
    Member
    Join Date
    Oct 2007
    Posts
    51
    Rep Power
    6


    Default Re: Customer Export issue

    I thought it was working fine but I noticed that I cannot export the states, can you please help me, your other code worked great, Thank you so much but I don't know why I can't see the states, is there anything you can help me with I really do appreciate your time

  5. #5
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,126
    Rep Power
    55


    Default Re: Customer Export issue

    Can you post a link to the contribution you have installed and I will see if I can have a look at the code since I have not installed this mod on my site.

    Thanks,

    pgmarshall

  6. #6
    Member
    Join Date
    Oct 2007
    Posts
    51
    Rep Power
    6


    Default Re: Customer Export issue

    I also used you bit of code since I think this is for os commerce shopping cart and not oscmax which is what I have , Thank you so much for your quick response and takin the time I really appreciate it here is the link
    it's the 1.5 latest version here
    osCommerce Community Add-Ons

  7. #7
    Member
    Join Date
    Oct 2007
    Posts
    51
    Rep Power
    6


    Default Re: Customer Export issue

    also looking back at the code you had given me I didn't know where to put the full stop at the end "." could that be causing the problem?

  8. #8
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,126
    Rep Power
    55


    Smile Re: Customer Export issue

    The full stop (or period) must have been put in since the link works! So ignore that bit ...

    I have had a quick look at the code and it does look like the state is included in the download.

    Does the page you can see show the state as per the screenshot?

    If it does, do you have state included on your account sign up page? ie. have you got it set to be include in your admin section? (Admin --> Customer Configuration --> Customer Details)

    Check these two first ... if neither of these help I will have another look - unless there is someone else out there who has installed this and had similar problems - have you checked the forum for this mod?

    pgmarshall

  9. #9
    Member
    Join Date
    Oct 2007
    Posts
    51
    Rep Power
    6


    Default Re: Customer Export issue

    Yes I can see all the states there but when I export it it doesn't show in the file when I open it in excel, strange huh? I also noticed at the bottom there next to the export button there's a little box that says separator and there is /t for it could be doing anything? it must be something with the export.php maybe since I can see them, thank you so much for your time I really do appreciate all your help

  10. #10
    Member
    Join Date
    Oct 2007
    Posts
    51
    Rep Power
    6


    Default Re: Customer Export issue

    No correction I don't see the states I was looking at the cities, strange cause all the customers have included their states when they signed up

Page 1 of 2 12 LastLast

Similar Threads

  1. Customer Export 1.0
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-03-2009, 06:51 AM
  2. Customer Export
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-09-2007, 02:12 PM
  3. Customer Export
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-15-2007, 06:22 PM
  4. Customer Export
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 07-26-2007, 12:26 PM
  5. Customer Export
    By michael_s in forum New osCommerce Contributions
    Replies: 2
    Last Post: 05-10-2007, 06:22 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
  •