[Skip to main content](#vessel-content)

#   General question about import/export capabilities

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

10 years 10 months ago [\#227083](#227083) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[General question about import/export capabilities](/forum/37-import-export-csv-xls/881669-general-question-about-import-export-capabilities#227083 "-- HikaShop version -- : 2.6.0  I'm interested in linking two different HikaShop powered sites, one already existing, the other will be new custom made for this project, for which in the new site I would create my products and then they would be automatically exported to my hikaShop site or other clients sites also powered with HikaShop who want to share my products.  My question is about export / import capabilities in Mass Actions.  Can I do a fully export of my products from SITE A to another SITE B folder with a Mass Action and then in the SITE B have run a Mass Action that under a CRON trigger makes regularly imports of those exported products?  I understand that maybe automatic ID would not be compatible and maybe images cannot be transfered, but, waht would be the limits?  I have a vague understanding from some posts that Mass Action import/export is very powerful and could do this easily, but I am not sure I am right understanding this.  And is so, should this be made via CSV, Databases,... other method?")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- HikaShop version -- : 2.6.0

I'm interested in linking two different HikaShop powered sites, one already existing, the other will be new custom made for this project, for which in the new site I would create my products and then they would be automatically exported to my hikaShop site or other clients sites also powered with HikaShop who want to share my products.

My question is about export / import capabilities in Mass Actions.

Can I do a fully export of my products from SITE A to another SITE B folder with a Mass Action and then in the SITE B have run a Mass Action that under a CRON trigger makes regularly imports of those exported products?

I understand that maybe automatic ID would not be compatible and maybe images cannot be transfered, but, waht would be the limits?

I have a vague understanding from some posts that Mass Action import/export is very powerful and could do this easily, but I am not sure I am right understanding this.

And is so, should this be made via CSV, Databases,... other method?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODE2NjktZ2VuZXJhbC1xdWVzdGlvbi1hYm91dC1pbXBvcnQtZXhwb3J0LWNhcGFiaWxpdGllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 10 months ago [\#227162](#227162) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[General question about import/export capabilities](/forum/37-import-export-csv-xls/881669-general-question-about-import-export-capabilities#227162 "-- HikaShop version -- : 2.6.0  I'm interested in linking two different HikaShop powered sites, one already existing, the other will be new custom made for this project, for which in the new site I would create my products and then they would be automatically exported to my hikaShop site or other clients sites also powered with HikaShop who want to share my products.  My question is about export / import capabilities in Mass Actions.  Can I do a fully export of my products from SITE A to another SITE B folder with a Mass Action and then in the SITE B have run a Mass Action that under a CRON trigger makes regularly imports of those exported products?  I understand that maybe automatic ID would not be compatible and maybe images cannot be transfered, but, waht would be the limits?  I have a vague understanding from some posts that Mass Action import/export is very powerful and could do this easily, but I am not sure I am right understanding this.  And is so, should this be made via CSV, Databases,... other method?")*

Hi,

If your two websites are hosted on the same server, so the mass actions could be enough for this task.
It will allow to export a csv file with all the product datas on the server from SITE A, and then via another mass action on SITE B you can get this file content and import/update the product data directly.

The mass action on SITE B can indeed have a daily or hourly trigger to update the product informations regularly.
Regarding the images, this is not possible via the mass actions, we can update the paths but not the files themselves.

So this part will require a custom script.

And if your two sites are not on the same server, so the csv file will need to be transferred, potentially via SFTP protocol.

The actions needed would be like that:
SITE A = [ take.ms/1kjk2](http://take.ms/1kjk2)
SITE B = [ take.ms/kcxV1](http://take.ms/kcxV1)

ps: another action on the categories will maybe be required too.

The following user(s) said Thank You: [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODE2NjktZ2VuZXJhbC1xdWVzdGlvbi1hYm91dC1pbXBvcnQtZXhwb3J0LWNhcGFiaWxpdGllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

10 years 10 months ago [\#227195](#227195) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[General question about import/export capabilities](/forum/37-import-export-csv-xls/881669-general-question-about-import-export-capabilities#227195 "-- HikaShop version -- : 2.6.0  I'm interested in linking two different HikaShop powered sites, one already existing, the other will be new custom made for this project, for which in the new site I would create my products and then they would be automatically exported to my hikaShop site or other clients sites also powered with HikaShop who want to share my products.  My question is about export / import capabilities in Mass Actions.  Can I do a fully export of my products from SITE A to another SITE B folder with a Mass Action and then in the SITE B have run a Mass Action that under a CRON trigger makes regularly imports of those exported products?  I understand that maybe automatic ID would not be compatible and maybe images cannot be transfered, but, waht would be the limits?  I have a vague understanding from some posts that Mass Action import/export is very powerful and could do this easily, but I am not sure I am right understanding this.  And is so, should this be made via CSV, Databases,... other method?")*

Great explanation. Thank you very much.

So mostly the limits are in image transfer in case I work with different servers, something I could fix with some non related script or by tweaking paths in the code.

Good that Mass actions are so powerful

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODE2NjktZ2VuZXJhbC1xdWVzdGlvbi1hYm91dC1pbXBvcnQtZXhwb3J0LWNhcGFiaWxpdGllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

10 years 10 months ago [\#228457](#228457) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[General question about import/export capabilities](/forum/37-import-export-csv-xls/881669-general-question-about-import-export-capabilities#228457 "-- HikaShop version -- : 2.6.0  I'm interested in linking two different HikaShop powered sites, one already existing, the other will be new custom made for this project, for which in the new site I would create my products and then they would be automatically exported to my hikaShop site or other clients sites also powered with HikaShop who want to share my products.  My question is about export / import capabilities in Mass Actions.  Can I do a fully export of my products from SITE A to another SITE B folder with a Mass Action and then in the SITE B have run a Mass Action that under a CRON trigger makes regularly imports of those exported products?  I understand that maybe automatic ID would not be compatible and maybe images cannot be transfered, but, waht would be the limits?  I have a vague understanding from some posts that Mass Action import/export is very powerful and could do this easily, but I am not sure I am right understanding this.  And is so, should this be made via CSV, Databases,... other method?")*

> Xavier wrote: Hi,
>
> It will allow to export a csv file with all the product datas on the server from SITE A, and then via another mass action on SITE B you can get this file content and import/update the product data directly.

To complement this explanation I have a couple more questions:

Can this be setup in a way that only the updated products (obeying an update True/False field, a date, or some other) are exported to CSV?

In the import side, wil the mass action be able to delete the CSV file once it has been imported?

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODE2NjktZ2VuZXJhbC1xdWVzdGlvbi1hYm91dC1pbXBvcnQtZXhwb3J0LWNhcGFiaWxpdGllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 10 months ago [\#228530](#228530) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[General question about import/export capabilities](/forum/37-import-export-csv-xls/881669-general-question-about-import-export-capabilities#228530 "-- HikaShop version -- : 2.6.0  I'm interested in linking two different HikaShop powered sites, one already existing, the other will be new custom made for this project, for which in the new site I would create my products and then they would be automatically exported to my hikaShop site or other clients sites also powered with HikaShop who want to share my products.  My question is about export / import capabilities in Mass Actions.  Can I do a fully export of my products from SITE A to another SITE B folder with a Mass Action and then in the SITE B have run a Mass Action that under a CRON trigger makes regularly imports of those exported products?  I understand that maybe automatic ID would not be compatible and maybe images cannot be transfered, but, waht would be the limits?  I have a vague understanding from some posts that Mass Action import/export is very powerful and could do this easily, but I am not sure I am right understanding this.  And is so, should this be made via CSV, Databases,... other method?")*

Hi,

1. If you create a custom product field to set the "update" status, so when editing a product you set that field value to true, yes.
In the mass actions, you can add a filter on that custom field in order to export only products with that field set to "true", and more than that you can add another action after the export one to set back automatically the value of that field to false for all these products.

2. The mass actions don't have the possibility to delete csv files. But if you let the same naming, the current file will be overridden every time the mass action is processed.

The following user(s) said Thank You: [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODE2NjktZ2VuZXJhbC1xdWVzdGlvbi1hYm91dC1pbXBvcnQtZXhwb3J0LWNhcGFiaWxpdGllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.064 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
