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

#   Update and use old massaction\_order.php

##

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

Less More

- Posts: 75
- Thank you received: 1
-
-
-

11 years 5 months ago -  11 years 5 months ago [\#200632](#200632) by [wilfried](/forum/user/35613-wilfried "View wilfried's Profile")  *[Update and use old massaction\_order.php](/forum/25-install-update/876759-update-and-use-old-massaction-order-php#200632 "-- url of the page with the problem -- :   www.light-swing.com  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4 -- Error-message(debug-mod must be tuned on) -- : No error update question  I want to upgrade to the latest (2.4) Hikashop version but the adjustments I made to massaction&#95;order.php and massaction.php and importing those into the new scripts are holding me back to do that. I have a massaction rule that exports orders to a csv and have every product of the order on 1 line.  I have now installed hikashop 2.4 in my test environment and I have copied the 2.3.5. (adjusted) php files to the directories and it works fine.  Is this a safe way to do? Can it safely work independent of the Hikashop version?  The files I mean: plugins/hikashop/massaction&#95;order massaction&#95;order.php massaction&#95;order.xml  administrator/components/com&#95;hikashop/classes massaction.php  Thanks, Wilfried")* was created by *[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")*

-- url of the page with the problem -- : [ www.light-swing.com](http://www.light-swing.com)
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4
-- Error-message(debug-mod must be tuned on) -- : No error update question

I want to upgrade to the latest (2.4) Hikashop version but the adjustments I made to massaction_order.php and massaction.php and importing those into the new scripts are holding me back to do that. I have a massaction rule that exports orders to a csv and have every product of the order on 1 line.

I have now installed hikashop 2.4 in my test environment and I have copied the 2.3.5. (adjusted) php files to the directories and it works fine.

Is this a safe way to do? Can it safely work independent of the Hikashop version?

The files I mean:
plugins/hikashop/massaction_order
massaction_order.php
massaction_order.xml

administrator/components/com_hikashop/classes
massaction.php

Thanks, Wilfried

Last edit: 11 years 5 months ago by [wilfried](/forum/user/35613-wilfried "View wilfried's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3Njc1OS11cGRhdGUtYW5kLXVzZS1vbGQtbWFzc2FjdGlvbi1vcmRlci1waHA/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

11 years 5 months ago [\#200636](#200636) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Update and use old massaction\_order.php](/forum/25-install-update/876759-update-and-use-old-massaction-order-php#200636 "-- url of the page with the problem -- :   www.light-swing.com  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4 -- Error-message(debug-mod must be tuned on) -- : No error update question  I want to upgrade to the latest (2.4) Hikashop version but the adjustments I made to massaction&#95;order.php and massaction.php and importing those into the new scripts are holding me back to do that. I have a massaction rule that exports orders to a csv and have every product of the order on 1 line.  I have now installed hikashop 2.4 in my test environment and I have copied the 2.3.5. (adjusted) php files to the directories and it works fine.  Is this a safe way to do? Can it safely work independent of the Hikashop version?  The files I mean: plugins/hikashop/massaction&#95;order massaction&#95;order.php massaction&#95;order.xml  administrator/components/com&#95;hikashop/classes massaction.php  Thanks, Wilfried")*

Hi,

The best would be I guess to create your own hikashop plugin and add your own filters/actions so that you could use them in your mass actions. That way, you would have nothing to do during updates and you wouldn't loose anything.
That however will require a lot of work compared to just update the files where you made your modifications and test that it still work fine.
So it's up to you but I would say that even if the method is not the best (cleanest), it's the most time effective.

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

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

Less More

- Posts: 75
- Thank you received: 1
-
-
-

11 years 5 months ago [\#200710](#200710) by [wilfried](/forum/user/35613-wilfried "View wilfried's Profile")  Replied by *[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")* on topic *[Update and use old massaction\_order.php](/forum/25-install-update/876759-update-and-use-old-massaction-order-php#200710 "-- url of the page with the problem -- :   www.light-swing.com  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4 -- Error-message(debug-mod must be tuned on) -- : No error update question  I want to upgrade to the latest (2.4) Hikashop version but the adjustments I made to massaction&#95;order.php and massaction.php and importing those into the new scripts are holding me back to do that. I have a massaction rule that exports orders to a csv and have every product of the order on 1 line.  I have now installed hikashop 2.4 in my test environment and I have copied the 2.3.5. (adjusted) php files to the directories and it works fine.  Is this a safe way to do? Can it safely work independent of the Hikashop version?  The files I mean: plugins/hikashop/massaction&#95;order massaction&#95;order.php massaction&#95;order.xml  administrator/components/com&#95;hikashop/classes massaction.php  Thanks, Wilfried")*

Hello Nicolas,

Creating a copy plugin would be the best way I presume but I don't have a clue where to start.
What would be the steps to create an "own" plugin with the files of the old plugin.

Now it is called "Mass action" but it could be something like "LS-Mass action"
And will the cron also handle actions of this copy plugin?

I have looked at the example.zip but that is way out of my league. I am not a programmer....

Kind regards,
Wilfried

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3Njc1OS11cGRhdGUtYW5kLXVzZS1vbGQtbWFzc2FjdGlvbi1vcmRlci1waHA/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

11 years 5 months ago [\#200719](#200719) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Update and use old massaction\_order.php](/forum/25-install-update/876759-update-and-use-old-massaction-order-php#200719 "-- url of the page with the problem -- :   www.light-swing.com  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4 -- Error-message(debug-mod must be tuned on) -- : No error update question  I want to upgrade to the latest (2.4) Hikashop version but the adjustments I made to massaction&#95;order.php and massaction.php and importing those into the new scripts are holding me back to do that. I have a massaction rule that exports orders to a csv and have every product of the order on 1 line.  I have now installed hikashop 2.4 in my test environment and I have copied the 2.3.5. (adjusted) php files to the directories and it works fine.  Is this a safe way to do? Can it safely work independent of the Hikashop version?  The files I mean: plugins/hikashop/massaction&#95;order massaction&#95;order.php massaction&#95;order.xml  administrator/components/com&#95;hikashop/classes massaction.php  Thanks, Wilfried")*

Hi,

As I don't know what exact modification you did to those files I wouldn't know what to do.
But you would need to be a programmer to develop such plugin. It's not just about copy/paste.
As I said, even for a programmer it would require a lot of work, so if you're not one, besides hiring one to do it for you I don't see that as a possiblity.

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

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

[](#top)
