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

#   Statistics how much sold per brand

##

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

Less More

- Posts: 45
- Thank you received: 3
-
-

7 years 2 months ago [\#310538](#310538) by [bytekultur](/forum/user/4243-bytekultur "View bytekultur's Profile")  *[Statistics how much sold per brand](/forum/36-reports-statistics/898220-statistics-how-much-sold-per-brand#310538 "-- HikaShop version -- : HikaShop Business: 4.2.1 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.2.22  Good day  We want to build a music shop. Now our question - is there any possibility that HikaShop automatically recognizes how many CD's were sold per artist? We thought we deposited the artists as a brand so we could have a &quot;simple&quot; bill of how many products were sold per brand. We use the HikaShop Business.  Thankful for every tip!  Kind regards, Maya")* was created by *[bytekultur](/forum/user/4243-bytekultur "View bytekultur's Profile")*

-- HikaShop version -- : HikaShop Business: 4.2.1
-- Joomla version -- : 3.9.11
-- PHP version -- : 7.2.22

Good day

We want to build a music shop.
Now our question - is there any possibility that HikaShop automatically recognizes how many CD's were sold per artist?
We thought we deposited the artists as a brand so we could have a "simple" bill of how many products were sold per brand. We use the HikaShop Business.

Thankful for every tip!

Kind regards,
Maya

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

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

Less More

- Posts: 45
- Thank you received: 3
-
-

7 years 2 months ago [\#310540](#310540) by [bytekultur](/forum/user/4243-bytekultur "View bytekultur's Profile")  Replied by *[bytekultur](/forum/user/4243-bytekultur "View bytekultur's Profile")* on topic *[Statistics how much sold per brand](/forum/36-reports-statistics/898220-statistics-how-much-sold-per-brand#310540 "-- HikaShop version -- : HikaShop Business: 4.2.1 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.2.22  Good day  We want to build a music shop. Now our question - is there any possibility that HikaShop automatically recognizes how many CD's were sold per artist? We thought we deposited the artists as a brand so we could have a &quot;simple&quot; bill of how many products were sold per brand. We use the HikaShop Business.  Thankful for every tip!  Kind regards, Maya")*

I did some more research - I'm I right that i need [ www.hikashop.com/hikamarket-multi-vendor.html](https://www.hikashop.com/hikamarket-multi-vendor.html) for this kind of product commisions?

Kind regards,
Maya

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTgyMjAtc3RhdGlzdGljcy1ob3ctbXVjaC1zb2xkLXBlci1icmFuZD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

7 years 2 months ago -  7 years 2 months ago [\#310539](#310539) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Statistics how much sold per brand](/forum/36-reports-statistics/898220-statistics-how-much-sold-per-brand#310539 "-- HikaShop version -- : HikaShop Business: 4.2.1 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.2.22  Good day  We want to build a music shop. Now our question - is there any possibility that HikaShop automatically recognizes how many CD's were sold per artist? We thought we deposited the artists as a brand so we could have a &quot;simple&quot; bill of how many products were sold per brand. We use the HikaShop Business.  Thankful for every tip!  Kind regards, Maya")*

There is no system to generate that as far as I can see.
Would you have used HikaMarket Multivendor with each artist being a vendor, then yes, it would be easy to generate such statistics.
Using brands, I'm afraid you'll have to generate the stats yourself.
Now, you can do that with just a MySQL query in your PHPMyAdmin.
Something like that: Code:

SELECT c.category_name AS artist, SUM((op.order_product_price+op.order_product_tax)*op.order_product_quantity) AS sales FROM #__hikashop_product AS p LEFT JOIN #_hikashop_order_product AS op ON p.product_id = op.product_id LEFT JOIN #__hikashop_order AS o ON op.order_id = o.order_id LEFT JOIN #__hikashop_category AS c ON p.product_manufacturer_id = c.category_id WHERE o.order_status = 'confirmed' GROUP BY p.product_manufacturer_id

Now this is not tested, and it won't work if you have variants as you need one more JOIN, but that's a basic example of the MySQL you need to do to get the results.

Last edit: 7 years 2 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

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

Less More

- Posts: 45
- Thank you received: 3
-
-

7 years 2 months ago [\#310563](#310563) by [bytekultur](/forum/user/4243-bytekultur "View bytekultur's Profile")  Replied by *[bytekultur](/forum/user/4243-bytekultur "View bytekultur's Profile")* on topic *[Statistics how much sold per brand](/forum/36-reports-statistics/898220-statistics-how-much-sold-per-brand#310563 "-- HikaShop version -- : HikaShop Business: 4.2.1 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.2.22  Good day  We want to build a music shop. Now our question - is there any possibility that HikaShop automatically recognizes how many CD's were sold per artist? We thought we deposited the artists as a brand so we could have a &quot;simple&quot; bill of how many products were sold per brand. We use the HikaShop Business.  Thankful for every tip!  Kind regards, Maya")*

Dear Nicolas
Thanks a lot for this input!
Fortunately I was able to convince the customer to buy the vendor plugin.

Kind regards,
Maya

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

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