Community Forums

[RELEASED] Export/Import tool for OpenCart 1.5.0.x

Free Extensions (Modules, Payments, Shipping, Order Totals, Feeds) can be contributed here.

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby Lao » Wed Dec 07, 2011 6:12 am

The files are slightly different from one version to another. Check the file headers carefuly and you'll see them.
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
User avatar
Lao
 
Posts: 219
Joined: Tue Nov 23, 2010 7:31 am
Location: Craiova, Romania

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby JNeuhoff » Wed Dec 07, 2011 10:17 am

The spreadsheet columns are slightly different between the 1.4.9.x and 1.5.1.x versions of the Export/Import tool. You'llhave to copy and paste the columns from the old to the corresponding new spreadsheet. Also, use XLS, not XLSX file format.
J.Neuhoff - MHC Web Design

OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
User avatar
JNeuhoff
 
Posts: 2134
Joined: Tue Dec 04, 2007 7:38 pm

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby ccM » Wed Dec 07, 2011 10:03 pm

Is anyone else having trouble importing options? I am using 1.5.1.1 and as far as I can tell the export is fine but on import the options change.

Exported:
Option - Size/Colour. Type - select. Value - 12/14 Blue
Imported:
Option - Size. Type - select. Value - SML

This seems very random. Mostly it knocks out an entire option which then affects every product that option applies to, and it replaces it with one other option value all the way through. The replacing value is not usually from the same option group either.

Any help or advice would be appreciated thanks!!
ccM
 
Posts: 25
Joined: Thu Aug 18, 2011 10:51 pm
Location: QLD, Australia

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby JNeuhoff » Wed Dec 07, 2011 10:24 pm

ccM wrote:Is anyone else having trouble importing options? I am using 1.5.1.1 and as far as I can tell the export is fine but on import the options change.

Exported:
Option - Size/Colour. Type - select. Value - 12/14 Blue
Imported:
Option - Size. Type - select. Value - SML

This seems very random. Mostly it knocks out an entire option which then affects every product that option applies to, and it replaces it with one other option value all the way through. The replacing value is not usually from the same option group either.

Any help or advice would be appreciated thanks!!


Try the latest Export/Import tool from http://www.mhccorp.com/opencart/export-import-tool
J.Neuhoff - MHC Web Design

OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
User avatar
JNeuhoff
 
Posts: 2134
Joined: Tue Dec 04, 2007 7:38 pm

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby chadius » Thu Dec 08, 2011 4:07 am

Thanks for the suggestions guys. Upon investigating I found the difference between the two versions of the files and copied and pasted my info into the proper locations in the new version of the export file. I re-ran the import and it worked fine.
chadius
 
Posts: 2
Joined: Wed Dec 07, 2011 3:44 am

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby greg2802 » Thu Dec 15, 2011 3:13 pm

Hi,

I'm currently changing from a zencart site to a OpenCart Site.

I've found and installed this module ok and can get it working up to around 2000 products ive tired changing the php.ini and .htaccess file.

So i thought id split my 5000 products down and do them in 3 batches.

However when i upload the second batch it deletes the 3rd, is their anyway to stop this module deleting all the data before it runs?

Thanks.
greg2802
 
Posts: 2
Joined: Thu Dec 15, 2011 3:05 pm

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby misscaprice » Fri Dec 16, 2011 8:12 am

ccM wrote:Is anyone else having trouble importing options?

Yes, mine is acting weird, too.
Everything imports and exports correctly, options are listed and can be changed in the admin section, but they do not appear in the front-end.
Only the drop-down "Please select" menu appears without the available options.
I downloaded and installed the latest version of Import/Export, using OC 1.5.1.3.

JNeuhoff, what might be the problem?
misscaprice
 
Posts: 36
Joined: Sat Jan 22, 2011 10:47 am

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby JNeuhoff » Fri Dec 16, 2011 10:38 am

misscaprice wrote:
ccM wrote:Everything imports and exports correctly, options are listed and can be changed in the admin section, but they do not appear in the front-end.
Only the drop-down "Please select" menu appears without the available options.
I downloaded and installed the latest version of Import/Export, using OC 1.5.1.3.

JNeuhoff, what might be the problem?


Send me a PM with copy of your XLS file you tried to import, and I take a look at it.

I assume you are using the latest Export/Import release? Because I did a fix with for the options just a few weeks ago.
J.Neuhoff - MHC Web Design

OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
User avatar
JNeuhoff
 
Posts: 2134
Joined: Tue Dec 04, 2007 7:38 pm

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby JNeuhoff » Fri Dec 16, 2011 12:15 pm

I just looked at it, and it imports just fine.

I think the reason why you don't see the options on the frontend is because you have them set to 'subtract'=true while the 'quantity'=0. If you don't need stocklevel tracking for your options, use 'subtract'=false, and the options will show up just fine on the frontend.
J.Neuhoff - MHC Web Design

OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
User avatar
JNeuhoff
 
Posts: 2134
Joined: Tue Dec 04, 2007 7:38 pm

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby misscaprice » Fri Dec 16, 2011 2:19 pm

Yes, there was the issue. Everything works just fine now.
The spreadsheet used to work very well with previous version of OC. If it weren't you, I would never have thought this may be the reason.
misscaprice
 
Posts: 36
Joined: Sat Jan 22, 2011 10:47 am

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby t556 » Fri Dec 16, 2011 10:03 pm

My Mistake, problem fixed

I'm having problems with options. I'm running a fresh install of ocart 1.5.1.3 and a copy of the import/export tool that was downloaded today (12/16/12). I added about a hundred products via the spreadsheet and imported them into the install, everything seems correct except the options. When I go to edit a product that was added via the tool there are no options applied to it at all. When I export, they are still now shown.

What am I doing wrong?

Thanks,
Clay
Last edited by t556 on Fri Dec 16, 2011 10:10 pm, edited 1 time in total.
t556
 
Posts: 58
Joined: Thu Sep 08, 2011 10:10 am

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby t556 » Fri Dec 16, 2011 10:09 pm

Just kidding, looks like it was a stupid mistake on my part.

I love this tool!
t556
 
Posts: 58
Joined: Thu Sep 08, 2011 10:10 am

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby PaulD123 » Mon Jan 02, 2012 1:58 pm

Thanks to teratyke for this post

viewtopic.php?p=185778#p185778

It fixed my export problem which suddenly just appeared. Must be a size thing.

Thankyou again.

Paul.

PS I don't know what I would do without this tool. It is fantastic.
PaulD123
 
Posts: 5
Joined: Tue Jul 05, 2011 3:58 pm

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby Xciso » Wed Jan 04, 2012 8:18 pm

I have a question about this great tool.
In products tab there is a column that is for the number a products i visit.
How can i do to not reset this. Can i set this to blank?

And one more question.
I have bought a modul "spec tab", how can i insert this to my import/export tool?
It would be so great to insert all the spec in the csv file.

Thanks!
Xciso
 
Posts: 136
Joined: Thu Jul 14, 2011 9:20 pm

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby JNeuhoff » Wed Jan 04, 2012 10:52 pm

Xciso wrote:I have a question about this great tool.
In products tab there is a column that is for the number a products i visit.
How can i do to not reset this. Can i set this to blank?

And one more question.
I have bought a modul "spec tab", how can i insert this to my import/export tool?
It would be so great to insert all the spec in the csv file.

Thanks!


As regards the 'viewed' column: I think this should indeed be preserved in the DB, will change that in a coming release of the Export/Import tool.

As regards the spec tab: I assume you are talking about additional field in the 'product' table and the corresponding 'Products' worksheet. Take a look at the admin/model/tool/export.php,especially the functions populateProductsWorksheet, uploadProducts and storeProductsIntoDatabase, these are the functions that need to be expanded to support additional product fields.
J.Neuhoff - MHC Web Design

OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
User avatar
JNeuhoff
 
Posts: 2134
Joined: Tue Dec 04, 2007 7:38 pm

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby Lao » Thu Jan 05, 2012 1:14 am

Is there any chance I can use categories name instead of categories IDs in the import file?
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
User avatar
Lao
 
Posts: 219
Joined: Tue Nov 23, 2010 7:31 am
Location: Craiova, Romania

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby JNeuhoff » Thu Jan 05, 2012 12:56 pm

Lao wrote:Is there any chance I can use categories name instead of categories IDs in the import file?


Unforunately, no. Category IDs are needed.
J.Neuhoff - MHC Web Design

OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
User avatar
JNeuhoff
 
Posts: 2134
Joined: Tue Dec 04, 2007 7:38 pm

Re: [RELEASED] Export/Import tool for OpenCart 1.5.0.x

Postby Lao » Thu Jan 05, 2012 1:56 pm

Thank you for quick replying.
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
User avatar
Lao
 
Posts: 219
Joined: Tue Nov 23, 2010 7:31 am
Location: Craiova, Romania

Re: Error

Postby rendered » Thu Jan 05, 2012 2:55 pm

Hi,

I'm using OC 1.5.1.3. Exporting seems to be working fine but I keep getting an error when I try and import:

Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0,0,0,'1','1','0','1')' at line 1
Error No: 1064
INSERT INTO `product` (`product_id`,`quantity`,`sku`,`upc`,`location`,`stock_status_id`,`model`,`manufacturer_id`,`image`,`shipping`,`price`,`points`,`date_added`,`date_modified`,`date_available`,`weight`,`weight_class_id`,`status`,`tax_class_id`,`viewed`,`length`,`width`,`height`,`length_class_id`,`sort_order`,`subtract`,`minimum`) VALUES (214,1,'','','',5,'282',12,'data/products/214.jpg',1,433.55,0,'2007-09-20','2012-01-05 16:18:32','2012-01-01',0,1,1,9,,0,0,0,'1','1','0','1'); in /var/www/opencart/system/database/mysql.php on line 49

Can you help please?
rendered
 
Posts: 2
Joined: Mon Nov 28, 2011 9:19 am

Re: Error

Postby JNeuhoff » Thu Jan 05, 2012 4:29 pm

rendered wrote:Hi,

I'm using OC 1.5.1.3. Exporting seems to be working fine but I keep getting an error when I try and import:

Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0,0,0,'1','1','0','1')' at line 1
Error No: 1064
INSERT INTO `product` (`product_id`,`quantity`,`sku`,`upc`,`location`,`stock_status_id`,`model`,`manufacturer_id`,`image`,`shipping`,`price`,`points`,`date_added`,`date_modified`,`date_available`,`weight`,`weight_class_id`,`status`,`tax_class_id`,`viewed`,`length`,`width`,`height`,`length_class_id`,`sort_order`,`subtract`,`minimum`) VALUES (214,1,'','','',5,'282',12,'data/products/214.jpg',1,433.55,0,'2007-09-20','2012-01-05 16:18:32','2012-01-01',0,1,1,9,,0,0,0,'1','1','0','1'); in /var/www/opencart/system/database/mysql.php on line 49

Can you help please?


Looks like the field 'viewed'hasn't been filled in in your spreadsheet.

As I said, the next version will remove this column from the worksheet,as it shouldn't be overwritten i the database by the Import.
J.Neuhoff - MHC Web Design

OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
User avatar
JNeuhoff
 
Posts: 2134
Joined: Tue Dec 04, 2007 7:38 pm

PreviousNext

Return to Extensions

Who is online

Users browsing this forum: JNeuhoff and 3 guests

Hosted by Arvixe Web Hosting