Support the ongoing development of Laravel.io →
posted 7 years ago

I have a problem on grouping the record based on its name of the color. Here I would like to explain with example. E.g: I have ‘BLUE JEAN(3)’ with the quantity 3 & ‘BLUE JEANS MET(7)’ with the quantity 7, can we grouped together ? I want the output BLUE JEAN(10).

Note: These are already distributed in database with different ID. I have lots of colors so I need to grouped only those similar colors and need to populated for searching.

Laravel Version 5.4.

Please help, Thanks in advance

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

narayan narayan naran Joined 9 Aug 2017

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.