Andy
Sent from my HTC Desire using Tapatalk 2
JNeuhoff wrote:In the uploadProducts, put the 2 lines
immediately after the lineCode: Select all
$cptitle = $this->getCell($data,$i,$j++); $cptitle = htmlentities( $cptitle, ENT_QUOTES, $this->detect_encoding($cptitle) );
The same is true for the uploadCategories.Code: Select all
$name = $this->getCell($data,$i,$j++); $name = htmlentities( $name, ENT_QUOTES, $this->detect_encoding($name) );
Where is the file in which to make changes?
admin/model/tool/export.phpdjura wrote: Where is the file in which to make changes?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
For example, lets say that I have 10.000 products.
Can I import 5.000 of these at first, then make a new spreadsheet and import the next 5.000 products?
Without the first 5.000 products beeing removed?
I tried to import all of my products (13.000), but that failed due to memory_limit wasn't high enough.
Can I get around this by importing 5.000 at a time?
Because uploading this amount of products didn't cause any issues.
Using OC 1.5.3.1
jipsa78 wrote:Hi,
First of all: great job on this extension!
I am now trying to get it to work with the Custom Page Titles extension (url: http://www.opencart.com/index.php?route ... on_id=7867), which I want to use for SEO purposes.
The Custom Page Titles extension adds these new fields to the database:
ALTER TABLE art1_category_description ADD column cptitle VARCHAR(255) NOT NULL;
ALTER TABLE art1_information_description ADD column cptitle VARCHAR(255) NOT NULL;
ALTER TABLE art1_product_description ADD column cptitle VARCHAR(255) NOT NULL;
It also contains a vQmod file that adds the custom page title fields to admin.
Because the export/import tool doesn't know these new database fields, any custom page title I make is deleted on import of an xls file. To solve this I've tried to add the new fields to your admin/model/tool/export.php file.
As a result I am now able to export the xls file with the new fields and correct content.
However when I import the xls file again it empties the database and doesn't populate it with new data.
I have tried hard to find the cause of this, but with my limited php knowledge I haven't succeeded.
Could you take a look at the attached php file?
You can find my entries with a search for 'cptitle'.
Would be very much appreciated :-)
I am running OpenCart 1.5.3.1 with opencart-1-5-2-x-export-import-10
Works fine without the custom page titles alteration.
My OpenCart error log shows no errors.
I assume you have this working well, could you possibly upload an example of the modified php, so i can check i have done it correct?
For a long time trying to import items such category and I export a few months ago.
I'll write what I did, so correct me if I'm wrong somewhere.
-I installed OpenCart v1.5.2.1
-I installed the extension "OpenCart-1-5-2-x-export-import-11.zip v1.5.2, v1.5.2.1" exactly according to the instructions in the README file
-exported items and categories
-I got the file "backup_categories_products" in which I copied the data from the old file (what code I export a few months ago)
I have carefully copied the column by column and save in the same file.
-Import the file and got a message that the import completed successfully
I was hoping that after I finished work on the site I got all the categories and items from the imported file in the admin panel, but nothing has changed, everything else is the same as before the import.
website screenshot
http://www.webpagescreenshot.info/img/1 ... 01233750PM
screenshot of the admin panel
page 1
http://www.webpagescreenshot.info/img/9 ... 01233955PM
Page 2
http://www.webpagescreenshot.info/img/2 ... 01234044PM
screenshot Error Log
http://www.webpagescreenshot.info/img/1 ... 01234133PM
Sure, you can use the attached file :-)crispylettuce wrote:jipsa78 wrote:Hi,
First of all: great job on this extension!
I am now trying to get it to work with the Custom Page Titles extension (url: http://www.opencart.com/index.php?route ... on_id=7867), which I want to use for SEO purposes.
The Custom Page Titles extension adds these new fields to the database:
ALTER TABLE art1_category_description ADD column cptitle VARCHAR(255) NOT NULL;
ALTER TABLE art1_information_description ADD column cptitle VARCHAR(255) NOT NULL;
ALTER TABLE art1_product_description ADD column cptitle VARCHAR(255) NOT NULL;
It also contains a vQmod file that adds the custom page title fields to admin.
Because the export/import tool doesn't know these new database fields, any custom page title I make is deleted on import of an xls file. To solve this I've tried to add the new fields to your admin/model/tool/export.php file.
As a result I am now able to export the xls file with the new fields and correct content.
However when I import the xls file again it empties the database and doesn't populate it with new data.
I have tried hard to find the cause of this, but with my limited php knowledge I haven't succeeded.
Could you take a look at the attached php file?
You can find my entries with a search for 'cptitle'.
Would be very much appreciated :-)
I am running OpenCart 1.5.3.1 with opencart-1-5-2-x-export-import-10
Works fine without the custom page titles alteration.
My OpenCart error log shows no errors.
I assume you have this working well, could you possibly upload an example of the modified php, so i can check i have done it correct?
Should work on 1.5.3.1
Attachments
admin/model/tool/export.php
I have a problem with importing Excel files. I get this message "Uploaded file is not a valid spreadsheet file or its values are not in the expected formats!" in the error logs "2012-09-09 17:17:12 - Export / Import: Invalid header in the Options worksheet."
I searched the forum but could not find a solution to my problem.
I use Version 1.5.2.1
Please help
I have a problem with importing Excel files. I get this message "Uploaded file is not a valid spreadsheet file or its values are not in the expected formats!" in the error logs "2012-09-09 17:17:12 - Export / Import: Invalid header in the Options worksheet."
I searched the forum but could not find a solution to my problem.
I use Version 1.5.2.1
Please help
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
but the language_id , and the meta_description,meta_keywords don't support the mulit- language. it can import to the new website and the data is the same, but if you want to change them in the csv. some contents didn't display and you can't change it.
thank you
- i think it would be perfect when supporting multilanguage -
djura wrote:I have a serious problem.
For a long time trying to import items such category and I export a few months ago.
I'll write what I did, so correct me if I'm wrong somewhere.
-I installed OpenCart v1.5.2.1
-I installed the extension "OpenCart-1-5-2-x-export-import-11.zip v1.5.2, v1.5.2.1" exactly according to the instructions in the README file
-exported items and categories
-I got the file "backup_categories_products" in which I copied the data from the old file (what code I export a few months ago)
I have carefully copied the column by column and save in the same file.
-Import the file and got a message that the import completed successfully
I was hoping that after I finished work on the site I got all the categories and items from the imported file in the admin panel, but nothing has changed, everything else is the same as before the import.
website screenshot
http://www.webpagescreenshot.info/img/1 ... 01233750PM
screenshot of the admin panel
page 1
http://www.webpagescreenshot.info/img/9 ... 01233955PM
Page 2
http://www.webpagescreenshot.info/img/2 ... 01234044PM
screenshot Error Log
http://www.webpagescreenshot.info/img/1 ... 01234133PM
Is there a solution to this problem?
I installed the plugin for 1.5.3.1 and it worked perfect, I later upgraded to 1.5.4 and it disappeared from system menu so I installed the 1.5.4 plugin however it was still not in system menu but was ticked in admin user group. I then restored a backup of my site and it was still not in the system menu.
Can you please let me know if you know what could be wrong?
Thank you
You also need to install VQmod.chadhp wrote:HI,
I installed the plugin for 1.5.3.1 and it worked perfect, I later upgraded to 1.5.4 and it disappeared from system menu so I installed the 1.5.4 plugin however it was still not in system menu but was ticked in admin user group. I then restored a backup of my site and it was still not in the system menu.
Can you please let me know if you know what could be wrong?
Thank you
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Just do an Export, and use the resulting XLS file which you can overwrite with your values.remixer wrote:Do you have a blank template that we can use to start. im not sure of the format needed to upload
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
JNeuhoff wrote:You also need to install VQmod.chadhp wrote:HI,
I installed the plugin for 1.5.3.1 and it worked perfect, I later upgraded to 1.5.4 and it disappeared from system menu so I installed the 1.5.4 plugin however it was still not in system menu but was ticked in admin user group. I then restored a backup of my site and it was still not in the system menu.
Can you please let me know if you know what could be wrong?
Thank you
Thanks, I have tried that but it just says Vqmod already installed.
I ended up doing the manual changes and now the option is there.
Appreciate your getting back to me so quickly
if i were to import products if i were to be able to have all the info for each product on a single line include options etc etc would be simpler.
another question.. if im importing products who assigns product ids?
You do. Make sure each product has a unique product_id.another question.. if im importing products who assigns product ids?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Users browsing this forum: No registered users and 129 guests