you said and i did
1.- Enter your source database and click on Export at the top.
2.- On the next page, you need to check "Custom - display all possible options", you'll see a lot of options:
2a.- Table(s): Select only t_category and t_category_description
2b.- Format-specific options:
Disable foreign key checks -> Checked (This to avoid error messages regarding foreign keys constraints.)
Check "Add DROP TABLE statement"
2c.- Go and save to disk.
3.- Enter your destination database and click on Import.
I did that i can import only t_category_description but when I imported only t_category it gave me a error and it got deleted
and I again install the whole website and this time I deleted all category from admin panel and again I imported t_category again it gave me a error and got deleted
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Solved
Thanks to teseo
Steps
1 download the plugin and install it
2 now we need to make changes in the plugins
In xml_import_export_category/functions.php look for all lines containing this segment:
Quote
file=xml_import_export_category/functions.php?func=
and replace it with:
Quote
file=xml_import_export_category/functions.php&func=
That should be all.
plugin will exports resultant XML to /oc-admin/outCategory.xml, not directly to your computer. Download from there to your computer, go to your destination installation Admin Dashboard and Import.
you must make changes to plug-in on both the website