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

#   Who bought a product?

##

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 645
- Thank you received: 26
-
-
-

9 years 1 month ago -  9 years 1 month ago [\#279681](#279681) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  *[Who bought a product?](/forum/44-mass-actions/892204-who-bought-a-product#279681 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7  Hi Hikashop team,  I have set up a mass action to find out who bought a product (in this case a workshop).  But I think the Filter &quot; User total purchase / Product number&quot; doesn't work.  See my configuration:  First the product which is bought several times.  The product numer (ID) from this product.  The Mass action configuration who doesn't work.  The mass action configuration with product amount works fine but give a lot of unnecessary results.  The strange thing is that this last configuration gave 1 result but when you Process the mass action you see more then one results.")* was created by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")*

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.7.5
-- PHP version -- : 7

Hi Hikashop team,

I have set up a mass action to find out who bought a product (in this case a workshop).

But I think the Filter " User total purchase / Product number" doesn't work.

See my configuration:

First the product which is bought several times.

[ ![step-1a.png](/forum/attachment/40687) ](/forum/attachment/40687 "step-1a.png")

The product numer (ID) from this product.

[ ![stap-2.png](/forum/attachment/40684) ](/forum/attachment/40684 "stap-2.png")

The Mass action configuration who doesn't work.

[ ![stap-3.png](/forum/attachment/40685) ](/forum/attachment/40685 "stap-3.png")

The mass action configuration with product amount works fine but give a lot of unnecessary results.

[ ![stap-4a.png](/forum/attachment/40688) ](/forum/attachment/40688 "stap-4a.png")

The strange thing is that this last configuration gave 1 result but when you Process the mass action you see more then one results.

---

Kind regards,
Lumiga

- [ ![stap-2.png](/forum/attachment/40684) ](/forum/attachment/40684 "stap-2.png") [ ](/forum/attachment/40684?download=1 "stap-2.png")
- [ ![stap-3.png](/forum/attachment/40685) ](/forum/attachment/40685 "stap-3.png") [ ](/forum/attachment/40685?download=1 "stap-3.png")
- [ ![step-1a.png](/forum/attachment/40687) ](/forum/attachment/40687 "step-1a.png") [ ](/forum/attachment/40687?download=1 "step-1a.png")
- [ ![stap-4a.png](/forum/attachment/40688) ](/forum/attachment/40688 "stap-4a.png") [ ](/forum/attachment/40688?download=1 "stap-4a.png")

Last edit: 9 years 1 month ago by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84OTIyMDQtd2hvLWJvdWdodC1hLXByb2R1Y3Q/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
-
-

9 years 1 month ago [\#279700](#279700) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Who bought a product?](/forum/44-mass-actions/892204-who-bought-a-product#279700 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7  Hi Hikashop team,  I have set up a mass action to find out who bought a product (in this case a workshop).  But I think the Filter &quot; User total purchase / Product number&quot; doesn't work.  See my configuration:  First the product which is bought several times.  The product numer (ID) from this product.  The Mass action configuration who doesn't work.  The mass action configuration with product amount works fine but give a lot of unnecessary results.  The strange thing is that this last configuration gave 1 result but when you Process the mass action you see more then one results.")*

Hi,

The product number is the amount of products purchased by the user (basically, you're asking to filter and keep only the users with 648 products purchased on your website precisely).
You want instead to use a filter order product column, on the column order_product_id and there you can use that 648 id.
Or rather, you want to use the product_id or the product_code column and enter the id of the product or its code, since the order_product_id is the id of that product for that specific order and thus will return only one result.

The following user(s) said Thank You: [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")

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

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 645
- Thank you received: 26
-
-
-

9 years 1 month ago [\#279736](#279736) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  Replied by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")* on topic *[Who bought a product?](/forum/44-mass-actions/892204-who-bought-a-product#279736 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7  Hi Hikashop team,  I have set up a mass action to find out who bought a product (in this case a workshop).  But I think the Filter &quot; User total purchase / Product number&quot; doesn't work.  See my configuration:  First the product which is bought several times.  The product numer (ID) from this product.  The Mass action configuration who doesn't work.  The mass action configuration with product amount works fine but give a lot of unnecessary results.  The strange thing is that this last configuration gave 1 result but when you Process the mass action you see more then one results.")*

Oké haha... yes in that case I know why I don't get any results ![;-)](/media/kunena/emoticons/24.png ";-)")

Thanks "Order product colomns / product_id" did the trick!

---

Kind regards,
Lumiga

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

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