Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

Fix product ordering bug (#408)

Dave Earleycfcc06ffe0c0
diff --git a/backend/app/Services/Application/Handlers/Product/EditProductHandler.php b/backend/app/Services/Application/Handlers/Product/EditProductHandler.php
index ae02ebe30..5044685ed 100644
--- a/backend/app/Services/Application/Handlers/Product/EditProductHandler.php
+++ b/backend/app/Services/Application/Handlers/Product/EditProductHandler.php
@@ -94,10 +94,6 @@ class EditProductHandler
attributes: [
'title' => $productsData->title,
'type' => $productsData->type->name,
- 'order' => $this->productOrderingService->getOrderForNewProduct(
- eventId: $productsData->event_id,
- productCategoryId: $productCategory->getId(),
- ),
'sale_start_date' => $productsData->sale_start_date
? DateHelper::convertToUTC($productsData->sale_start_date, $event->getTimezone())
: null,