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

#   Getting user info

##

- **[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")**
- [![khashiz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/61259-khashiz "View khashiz's Profile") Topic Author
- [ Offline](/forum/user/61259-khashiz)

Less More

- Posts: 240
- Thank you received: 13
-
-

3 years 10 months ago [\#347897](#347897) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  *[Getting user info](/forum/44-mass-actions/905622-getting-user-info#347897 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi. when creating a mass action for orders, i can get all properties and info of the order with this code :  $orderClass = hikashop&#95;get('class.order'); $order = $orderClass-&gt;loadFullOrder({order&#95;id}, true, false);  -----  how can I do the same for the user ? i want to create a mass action to trigger when user is created, and I need to get all properties of the user")* was created by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")*

-- HikaShop version -- : 4.7
-- Joomla version -- : 4.2.6
-- PHP version -- : 8.1

Hi.
when creating a mass action for orders, i can get all properties and info of the order with this code :

$orderClass = hikashop_get('class.order');
$order = $orderClass-&gt;loadFullOrder({order_id}, true, false);

---

how can I do the same for the user ?
i want to create a mass action to trigger when user is created, and I need to get all properties of the user

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

Less More

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

3 years 10 months ago [\#347900](#347900) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Getting user info](/forum/44-mass-actions/905622-getting-user-info#347900 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi. when creating a mass action for orders, i can get all properties and info of the order with this code :  $orderClass = hikashop&#95;get('class.order'); $order = $orderClass-&gt;loadFullOrder({order&#95;id}, true, false);  -----  how can I do the same for the user ? i want to create a mass action to trigger when user is created, and I need to get all properties of the user")*

Hi,

You can do like that: Code:

$userClass = hikashop_get('class.user'); $user = $userClass-&gt;get({user_id});

The following user(s) said Thank You: [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")

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

- **[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")**
- [![khashiz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/61259-khashiz "View khashiz's Profile") Topic Author
- [ Offline](/forum/user/61259-khashiz)

Less More

- Posts: 240
- Thank you received: 13
-
-

3 years 10 months ago [\#347906](#347906) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  Replied by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")* on topic *[Getting user info](/forum/44-mass-actions/905622-getting-user-info#347906 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi. when creating a mass action for orders, i can get all properties and info of the order with this code :  $orderClass = hikashop&#95;get('class.order'); $order = $orderClass-&gt;loadFullOrder({order&#95;id}, true, false);  -----  how can I do the same for the user ? i want to create a mass action to trigger when user is created, and I need to get all properties of the user")*

Thank you Nicolas

you are brilliant

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

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