SELECT SQL_CALC_FOUND_ROWS p.del_flg AS new_arrival_content, p.product_id, p.main_image, p.main_list_comment, p.comment2, p.update_date, p.sub_title6, MAX(price02), MAX(price03), MAX(stock), pc.point_rate, p.sales_datetime, p.sales_end_datetime, IF(p.tweet=p.tweet, 1, 0) AS tweet, p.name, p.movie_s, GROUP_CONCAT(cc.name separator ' ') AS classlist, GROUP_CONCAT(pc.stock separator ' ') AS stocklist
FROM (
SELECT product_id, category_id
FROM dtb_product_categories
WHERE category_id =1
)AS pcat
LEFT JOIN dtb_products AS p ON p.product_id = pcat.product_id
LEFT JOIN dtb_products_class AS pc ON p.product_id = pc.product_id
LEFT JOIN dtb_classcategory AS cc ON pc.classcategory_id1 = cc.classcategory_id
WHERE p.product_id IS NOT NULL
AND p.del_flg !=1
AND p.status =1
AND (p.sales_end_datetime IS NULL OR p.sales_end_datetime >= '2024-04-28 09:00:55')
AND p.product_id IN (SELECT product_id FROM dtb_product_categories WHERE category_id = 518)
AND pc.del_flg = 0
GROUP BY p.product_id
ORDER BY MAX(price02)
LIMIT 0, 120
59293 GoneR GR29CTW001 GoneR × PICTURE MOUSE Collavoration T-Shirts White/Red
59296 GoneR GR29CTW001 GoneR × PICTURE MOUSE Collavoration T-Shirts Stone Blue
57980 GoneR GR28CT001 Rose Hand T-Shirts White
58695 GoneR GR29CT001 Mexican Round Design T-Shirts Black
57987 GoneR GR28CT002 Tie-dye Line T-Shirts Light Pink
63311 GoneR (ゴナー) GR33CT004 Mexican Pattern T-Sirts White
54158 GoneR Thunderbird T-Shirts Black
57983 GoneR GR28CT001 Rose Hand T-Shirts Dark Chocolate
58716 GoneR -La Neta- GRL04CT001 Mexican Flag T-Shirts White
58721 GoneR -La Neta- GRL04CT001 Mexican Flag T-Shirts Black
58722 GoneR -La Neta- GRL04CT002 LUZ Y SOL T-Shirts White
63304 GoneR (ゴナー) GR33CT001 Rose Maria T-Sirts Black
57985 GoneR GR28CT002 Tie-dye Line T-Shirts White
57988 GoneR GR28CT002 Tie-dye Line T-Shirts Dark Chocolate
58700 GoneR GR29CT003 Rose Messege T-Shirts White
58701 GoneR GR29CT003 Rose Messege T-Shirts Stone
23323 GoneR Logo T-Shirts Ver.1 - White
23324 GoneR Logo T-Shirts Ver.1 - Grey
23325 GoneR Logo T-Shirts Ver.1 - Black
23330 GoneR Logo T-Shirts Ver.3 - Grey
23331 GoneR Logo T-Shirts Ver.3 - Black
24863 GoneR Logo T-Shirts Ver.2 Black
24864 GoneR Logo T-Shirts Ver.2 White
24865 GoneR Logo T-Shirts Ver.2 Grey
24867 GoneR Logo T-Shirts Ver.3 White
24868 GoneR Logo T-Shirts Ver.3 Grey
63303 GoneR (ゴナー) GR33CT001 Rose Maria T-Sirts White
63306 GoneR (ゴナー) GR33CT002 Panther Tiger T-Sirts Black
23305 GoneR Mexican Skull T-Shirts - White
23306 GoneR Mexican Skull T-Shirts - Grey
23307 GoneR Mexican Skull T-Shirts - Black
23308 GoneR Flower Star T-Shirts - White
23309 GoneR Flower Star T-Shirts - Grey
23310 GoneR Flower Star T-Shirts - Black
23311 GoneR Message T-Shirts - White
23312 GoneR Message T-Shirts - Grey
23313 GoneR Message T-Shirts - Black
24842 GoneR Photo Logo T-Shirts Black
24843 GoneR Photo Logo T-Shirts White
24844 GoneR Box Rip T-Shirts Black
24846 GoneR Box Rip T-Shirts White
33547 GoneR (ゴナー) Candle Mexican Skull T-Shirts White
33549 GoneR (ゴナー) Candle Mexican Skull T-Shirts Black
33551 GoneR (ゴナー) Pineapple Skull T-Shirts White
33553 GoneR (ゴナー) Pineapple Skull T-Shirts Black
36461 GoneR Mexican Heart T-Shirts White
36462 GoneR Mexican Heart T-Shirts Orange
36463 GoneR Mexican Heart T-Shirts Black/White
36464 GoneR Mexican Heart T-Shirts Black/Red
36465 GoneR Rose『X』 T-Shirts Orange
36466 GoneR Rose『X』 T-Shirts White
36467 GoneR Rose『X』 T-Shirts Black/White
36468 GoneR Rose『X』 T-Shirts Black/Red
36521 GoneR Dread Skull T-Shirts WHITE
36522 GoneR Dread Skull T-Shirts BLACK
40390 GoneR GR17CT001 Back Peace T-Shirts Sand
23355 GoneR Mexican Skull T-One Piece - Navy
40389 GoneR GR17CT001 Back Peace T-Shirts White
40391 GoneR GR17CT001 Back Peace T-Shirts Light Blue
40392 GoneR GR17CT002 Proverb T-Shirts Black × White
40393 GoneR GR17CT002 Proverb T-Shirts Grey × Black
40394 GoneR GR17CT002 Proverb T-Shirts Navy × Grey
40395 GoneR GR17CT002 Proverb T-Shirts White × Navy
40397 GoneR GR17CT003 Mexican Skull T-Shirts Grey × Black
40399 GoneR GR17CT003 Mexican Skull T-Shirts White × Navy
40400 GoneR GR17CT004 Rose Mexican Skull T-Shirts White
40401 GoneR GR17CT004 Rose Mexican Skull T-Shirts Black
42728 GoneR (ゴナー) GR18CT001 Hibiscus 57 T-Shirts Light Blue
42729 GoneR (ゴナー) GR18CT001 Hibiscus 57 T-Shirts Light Yellow
42730 GoneR (ゴナー) GR18CT001 Hibiscus 57 T-Shirts Black
48518 GoneR GR21CT002 Grave Rose T-Shirts White
48519 GoneR GR21CT002 Grave Rose T-Shirts Lime
48520 GoneR GR21CT002 Grave Rose T-Shirts Red
48521 GoneR GR21CT002 Grave Rose T-Shirts Purple
48522 GoneR GR21CT002 Grave Rose T-Shirts Black
59294 GoneR GR29CTW001 GoneR × PICTURE MOUSE Collavoration T-Shirts White/Green
59295 GoneR GR29CTW001 GoneR × PICTURE MOUSE Collavoration T-Shirts Pistachio
59297 GoneR GR29CTW001 GoneR × PICTURE MOUSE Collavoration T-Shirts Gardenal Red
59298 GoneR GR29CTW001 GoneR × PICTURE MOUSE Collavoration T-Shirts Black
23314 GoneR Paint T-Shirts - White
23315 GoneR Paint T-Shirts - Grey
23316 GoneR Paint T-Shirts - Black
23321 GoneR Long T-Shirts - Grey
23322 GoneR Long T-Shirts - Black
24848 GoneR Gradation Mexican Skull T-Shirts White
24849 GoneR Gradation Mexican Skull T-Shirts Black
24852 GoneR Dot T-Shirts White
24853 GoneR Dot T-Shirts Black
37421 GoneR GR15LD001 Fire Mexican Skull Ringer T-Shirts White
40403 GoneR GR17LD001 Back Peace T One-Piece White
40404 GoneR GR17LD001 Back Peace T One-Piece Grey
52621 GoneR GR24CT001 Dried Rose T-Shirts White
52622 GoneR GR24CT001 Dried Rose T-Shirts Purple
52623 GoneR GR24CT001 Dried Rose T-Shirts Black
54147 GoneR Ernesto Skull T-Shirts White
54150 GoneR Ernesto Skull T-Shirts Prairie Black
54151 GoneR Rose Logo T-Shirts White
54153 GoneR Rose Logo T-Shirts Prairie Dust
54154 GoneR Rose Logo T-Shirts Black
54155 GoneR Thunderbird T-Shirts White
54159 GoneR Day of the Dead T-Shirts White
54162 GoneR Day of the Dead T-Shirts Prairie Black
55850 GoneR × MODERNPIRATES Collaboration T-Shirts White
55851 GoneR × MODERNPIRATES Collaboration T-Shirts Black
57984 GoneR GR28CT001 Rose Hand T-Shirts Black
58692 GoneR GR29CT001 Mexican Round Design T-Shirts White
58696 GoneR GR29CT002 Square Mexican Skull T-Shirts White
58698 GoneR GR29CT002 Square Mexican Skull T-Shirts Stone Blue
58699 GoneR GR29CT002 Square Mexican Skull T-Shirts Black
42731 GoneR (ゴナー) GR18CT002 Rose Paint T-Shirts White
42732 GoneR (ゴナー) GR18CT002 Rose Paint T-Shirts Black
40406 GoneR GR17LD002 Mexican Skull T One-Piece Grey × Black
40408 GoneR GR17LD002 Mexican Skull T One-Piece White × Navy
48477 GoneR GR21LD001 Bat Rose T One-Piece White
48478 GoneR GR21LD001 Bat Rose T One-Piece Black
48479 GoneR GR21LD002 Rose Earth Skull T One-Piece White
48480 GoneR GR21LD002 Rose Earth Skull T One-Piece Black
58719 GoneR -La Neta- GRL04CT001 Mexican Flag T-Shirts Light Purple
58724 GoneR -La Neta- GRL04CT002 LUZ Y SOL T-Shirts Light Purple
58726 GoneR -La Neta- GRL04CT002 LUZ Y SOL T-Shirts Black