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

#   Cal PHP script from massaction

##

- **[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 9 months ago [\#229760](#229760) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Cal PHP script from massaction](/forum/44-mass-actions/882265-cal-php-script-from-massaction#229760 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  How can I call a PHP script inside a massaction?  I want my massaction to do several Actions and when finished to call my own coded procedure which would be in a PHP file inside the same site server.")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8

How can I call a PHP script inside a massaction?

I want my massaction to do several Actions and when finished to call my own coded procedure which would be in a PHP file inside the same site server.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODIyNjUtY2FsLXBocC1zY3JpcHQtZnJvbS1tYXNzYWN0aW9uP3RtcGw9bWFya2Rvd24=) 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 9 months ago [\#229780](#229780) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Cal PHP script from massaction](/forum/44-mass-actions/882265-cal-php-script-from-massaction#229780 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  How can I call a PHP script inside a massaction?  I want my massaction to do several Actions and when finished to call my own coded procedure which would be in a PHP file inside the same site server.")*

Hi,

The best would be to put your coded procedure inside a mass action plugin, and add an action in the mass action to execute your code directly.

Here is the mass action doc for developers:
[ www.hikashop.com/support/documentation/1...s-action-plugin.html](http://www.hikashop.com/support/documentation/168-create-you-own-mass-action-plugin.html)

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

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

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