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

#  Profile for SrKant

##

[![SrKant's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44242-srkant "View SrKant's Profile")

**[ Offline](/forum/user/44242-srkant)**

- **User Type:** User

- **Register Date:** 23 Jul 2016
- **Last login:** 10 years 2 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 05:34

- **Posts:** 1
- **Profile views:** 51

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  SrKant's recent posts  (1 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/2-general-talk-about-hikashop/885709-hikashop-new-row-in-a-table-after-payment#246155) | [Hikashop (New row in a table after payment)](/forum/2-general-talk-about-hikashop/885709-hikashop-new-row-in-a-table-after-payment#246155 "Hi all. I need just one specific thing. When a costumer has finished the payment of the item, I want to add a new row in the table user&#95;usergroup&#95;map automatically. So i need to do an insert into this...")        Category: [General Talk about HikaShop](/forum/2-general-talk-about-hikashop "Suggest your feature requests and ideas for HikaShop")     Topic started 10 years 3 months ago, by [SrKant](/forum/user/44242-srkant "View SrKant's Profile")       [Last Post](/forum/2-general-talk-about-hikashop/885709-hikashop-new-row-in-a-table-after-payment#246170 "Hi,  So what you're saying is that you want to add a user group to the user after the purhcase of a product. If you want to do it for a specific product, you can use the &quot;user group after purchase&quot; setting of the product edition page in the Business edition to configure that. If you want to do it regardless of what is bought, then a simple mass action via the menu System&gt;Mass action with a trigger &quot;when an order is updated&quot;, a filter for confirmed orders, and an action to add a user group will also allow you to do it without any code modification.  And if you really want to do it with code, I recommend not hacking directly in the core files of HikaShop, but instead, create a custom plugin of the group &quot;hikashop&quot; implementing the &quot;onAfterOrderUpdate&quot; trigger so that you can add your PHP code in there. That way, you won't loose your modification each time you update HikaShop. You can read more about that in our developer documentation:   www.hikashop.com/support/documentation/6...r-documentation.html") 10 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1144 | [Last Post](/forum/2-general-talk-about-hikashop/885709-hikashop-new-row-in-a-table-after-payment#246170 "Hi,  So what you're saying is that you want to add a user group to the user after the purhcase of a product. If you want to do it for a specific product, you can use the &quot;user group after purchase&quot; setting of the product edition page in the Business edition to configure that. If you want to do it regardless of what is bought, then a simple mass action via the menu System&gt;Mass action with a trigger &quot;when an order is updated&quot;, a filter for confirmed orders, and an action to add a user group will also allow you to do it without any code modification.  And if you really want to do it with code, I recommend not hacking directly in the core files of HikaShop, but instead, create a custom plugin of the group &quot;hikashop&quot; implementing the &quot;onAfterOrderUpdate&quot; trigger so that you can add your PHP code in there. That way, you won't loose your modification each time you update HikaShop. You can read more about that in our developer documentation:   www.hikashop.com/support/documentation/6...r-documentation.html") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      10 years 3 months ago |

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

Time to create page: 0.159 seconds

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

[](#top)
