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

#   Export on order created (RO CSVI)

##

- **[Joomill](/forum/user/33738-joomill "View Joomill's Profile")**
- [![Joomill's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33738.jpg)](/forum/user/33738-joomill "View Joomill's Profile") Topic Author
- [ Offline](/forum/user/33738-joomill)

Less More

- Posts: 224
- Thank you received: 10
-
-
- [](http://www.joomill.nl)
-

3 years 6 months ago [\#351401](#351401) by [Joomill](/forum/user/33738-joomill "View Joomill's Profile")  *[Export on order created (RO CSVI)](/forum/44-mass-actions/906332-export-on-order-created-ro-csvi#351401 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11  Hi,  I'm using RO CSVi from Rolandd.com when an order is created. This works fine with Hikashop but when a subsale is created in HikasMarket everything export twice.  Contact with Roland about this issue:  Jeroen: When i look at the massaction i see the order shouldn't be exported when the order&#95;type is subsale.  But this option is ignored. I don't know if it is the problem of your plugin or hikashop itself.  Rolandd: So as I suspected, HikaShop triggers the RO CSVI export based on order ID. I would say that the mass action should not be executed if it is a subsale as per your setting. That is something the good people at HikaShop should look into. Now RO CSVI simply runs the export because the order ID is given.  Is there another setting or way to only export Sales and not subsales? Thakns in advance.")* was created by *[Joomill](/forum/user/33738-joomill "View Joomill's Profile")*

-- HikaShop version -- : 4.7.2
-- Joomla version -- : 3.10.11

Hi,

I'm using RO CSVi from Rolandd.com when an order is created.
This works fine with Hikashop but when a subsale is created in HikasMarket everything export twice.

Contact with Roland about this issue:

Jeroen:
When i look at the massaction i see the order shouldn't be exported when the order_type is subsale.

####  Attachment not found

But this option is ignored. I don't know if it is the problem of your plugin or hikashop itself.

Rolandd:
So as I suspected, HikaShop triggers the RO CSVI export based on order ID. I would say that the mass action should not be executed if it is a subsale as per your setting. That is something the good people at HikaShop should look into. Now RO CSVI simply runs the export because the order ID is given.

Is there another setting or way to only export Sales and not subsales?
Thakns in advance.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

3 years 6 months ago [\#351404](#351404) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Export on order created (RO CSVI)](/forum/44-mass-actions/906332-export-on-order-created-ro-csvi#351404 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11  Hi,  I'm using RO CSVi from Rolandd.com when an order is created. This works fine with Hikashop but when a subsale is created in HikasMarket everything export twice.  Contact with Roland about this issue:  Jeroen: When i look at the massaction i see the order shouldn't be exported when the order&#95;type is subsale.  But this option is ignored. I don't know if it is the problem of your plugin or hikashop itself.  Rolandd: So as I suspected, HikaShop triggers the RO CSVI export based on order ID. I would say that the mass action should not be executed if it is a subsale as per your setting. That is something the good people at HikaShop should look into. Now RO CSVI simply runs the export because the order ID is given.  Is there another setting or way to only export Sales and not subsales? Thakns in advance.")*

Hi,

I created a massaction with a trigger "after an order is updated", the exact same filter as on your screenshot, and an action "run PHP code with the code: Code:

var_dump('main order'); exit;

Then, I changed the status of a main order, and I got the text "main order" displayed.
Finally, I changed the status of a subsale, and it worked normally, without the "main order" text being displayed.

This indicates that the filter / massaction is working as expected on my end and that an action won't be processed for subsales with that filter.

So maybe you're in a special case. Or maybe there is an interference of RO CSVI in some way. It's hard to say. I guess we'll need to look deep into the situation. We would need a backend access, a FTP access and precise instructions to reproduce the problem so that we could understand what's going on to be able to say what needs to be done.
Could you provide that via our contact form ?
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

- **[Joomill](/forum/user/33738-joomill "View Joomill's Profile")**
- [![Joomill's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33738.jpg)](/forum/user/33738-joomill "View Joomill's Profile") Topic Author
- [ Offline](/forum/user/33738-joomill)

Less More

- Posts: 224
- Thank you received: 10
-
-
- [](http://www.joomill.nl)
-

3 years 6 months ago [\#351408](#351408) by [Joomill](/forum/user/33738-joomill "View Joomill's Profile")  Replied by *[Joomill](/forum/user/33738-joomill "View Joomill's Profile")* on topic *[Export on order created (RO CSVI)](/forum/44-mass-actions/906332-export-on-order-created-ro-csvi#351408 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11  Hi,  I'm using RO CSVi from Rolandd.com when an order is created. This works fine with Hikashop but when a subsale is created in HikasMarket everything export twice.  Contact with Roland about this issue:  Jeroen: When i look at the massaction i see the order shouldn't be exported when the order&#95;type is subsale.  But this option is ignored. I don't know if it is the problem of your plugin or hikashop itself.  Rolandd: So as I suspected, HikaShop triggers the RO CSVI export based on order ID. I would say that the mass action should not be executed if it is a subsale as per your setting. That is something the good people at HikaShop should look into. Now RO CSVI simply runs the export because the order ID is given.  Is there another setting or way to only export Sales and not subsales? Thakns in advance.")*

Hi,

The CSVi plugin uses "after an order is created" instead of updated.
Do you think this makes any difference?

Else i will setup a staging environment so you can have a look.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

3 years 6 months ago [\#351417](#351417) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Export on order created (RO CSVI)](/forum/44-mass-actions/906332-export-on-order-created-ro-csvi#351417 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11  Hi,  I'm using RO CSVi from Rolandd.com when an order is created. This works fine with Hikashop but when a subsale is created in HikasMarket everything export twice.  Contact with Roland about this issue:  Jeroen: When i look at the massaction i see the order shouldn't be exported when the order&#95;type is subsale.  But this option is ignored. I don't know if it is the problem of your plugin or hikashop itself.  Rolandd: So as I suspected, HikaShop triggers the RO CSVI export based on order ID. I would say that the mass action should not be executed if it is a subsale as per your setting. That is something the good people at HikaShop should look into. Now RO CSVI simply runs the export because the order ID is given.  Is there another setting or way to only export Sales and not subsales? Thakns in advance.")*

Hi,

I don't think it makes any difference. Let us know when you have the staging env ready.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

3 years 6 months ago [\#351445](#351445) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Export on order created (RO CSVI)](/forum/44-mass-actions/906332-export-on-order-created-ro-csvi#351445 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11  Hi,  I'm using RO CSVi from Rolandd.com when an order is created. This works fine with Hikashop but when a subsale is created in HikasMarket everything export twice.  Contact with Roland about this issue:  Jeroen: When i look at the massaction i see the order shouldn't be exported when the order&#95;type is subsale.  But this option is ignored. I don't know if it is the problem of your plugin or hikashop itself.  Rolandd: So as I suspected, HikaShop triggers the RO CSVI export based on order ID. I would say that the mass action should not be executed if it is a subsale as per your setting. That is something the good people at HikaShop should look into. Now RO CSVI simply runs the export because the order ID is given.  Is there another setting or way to only export Sales and not subsales? Thakns in advance.")*

Hi,

There are no actions configured in your mass action.
Without an action configured, the mass action won't do anything.

I can see you've configured a template in RO CSVI. However, I don't see how you configured it to be triggered when an order is created (I'm not familiar with the interface of RO CSVI so I'm not even sure if that's possible). Could you tell me how you did that ?
Also, I don't see any setting to restrict the export based on the order_type. I see it on other things ( [ i.imgur.com/4tCEAog.png](https://i.imgur.com/4tCEAog.png) ) but not the order_type.
So if I read between the lines and make some assumptions, I think that the issue is completely on RO CSVI's side and what you want is actually to ask Roland to either:
- integrate with the HikaShop mass action system to add a mass action to trigger a RO CSVI export from a massaction (I think it could be cool, and I actually thought that this is what you had configured when you contacted us)
- add an extra option on the order_type with the choices "main" and "subsale" in templates to be able to only export main orders and not vendor sub sales or vice versa.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDYzMzItZXhwb3J0LW9uLW9yZGVyLWNyZWF0ZWQtcm8tY3N2aT90bXBsPW1hcmtkb3du) 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.071 seconds

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