Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Altering Product Option Import / Export function

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-29-2010, 10:36 AM
 
Meredith Martin Davis Meredith Martin Davis is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 70
 

Default Altering Product Option Import / Export function

I recently, through some trial and error, was able to add a new field to my Product Options database, and have added that field to the Product Options editing page in Admin. All that works fine - shows up in my Product Options chart on my product page, but now I'm wondering:

What files do I alter so that I can have this new field show up in my import/export CSV files? I'd like to be able to export all my product options, incluing this new field, fill in all the new data, and them import it back into my database.

Thanks everyone.
__________________
4.1.8
Reply With Quote
  #2  
Old 09-29-2010, 10:42 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Altering Product Option Import / Export function

Loo in include directory for product import/export php files
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 09-29-2010, 11:41 AM
 
Meredith Martin Davis Meredith Martin Davis is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 70
 

Default Re: Altering Product Option Import / Export function

Hmm... I found that I could change things in modules/product options/import.php and modules/product options/config.php - and now the new field shows up in my export file, but the info I add to that file is not imported.

I looked in the include directory but couldn't find anything that was previously altered (I'm trying to replicate an action that was done previously when someone added a new field for us - I do a search for that field name and replicate the code with the new field name - which is how I've gotten as far as I have). Any other suggestions of where to look to get the exported data imported back into the database?

Thanks.
__________________
4.1.8
Reply With Quote
  #4  
Old 09-29-2010, 01:51 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Altering Product Option Import / Export function

Then it should be in the same file modules/product options/import.php - see the different import steps
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:21 AM.

   

 
X-Cart forums © 2001-2020