🔍 DEBUG PANEL - Custom Quantity v2.9
📡 Request Info
Package Slug: instagram-cekilisle-500-turk-takipci-satin-al
Custom Quantity (URL): NULL
Preferred Type (URL):
⚡ STANDART (Default)
Allowed Range:
50
→
10,000
URL: /paket/instagram-cekilisle-500-turk-takipci-satin-al/
✅ Final Values
Final Quantity: 500
Final Amount: 400.95 ₺
Unit Price: 3.0109 ₺
🎯 Service Response
⚠️ Service response yok!
ℹ️ ns_filter Data
Package Name: NULL
Quantity: 500
Amount: 400.95 ₺
Category ID: 16
📄 Current Page Title
Instagram Çekilişle 500 Türk Takipçi Satın Al
🎁 UPSELL FEATURE DEBUG - Hibrit Sistem
v2.0.0 (Manuel + Auto)
🎯 Upsell Status
Source:
👨💼 PAKET BAZINDA (Admin)
Enabled: Initializing...
Packages Loaded: 0
Current Package Type: Standart (User Selected)
Original Package Type: Standart
📦 Türk Takipçi
Category ID: -
Min Quantity: -
Max Quantity: -
Unit Price: -
Selected Qty: 0
❤️ Türk Beğeni
Category ID: -
Min Quantity: -
Max Quantity: -
Unit Price: -
Selected Qty: 0
🌍 Yabancı Takipçi
Category ID: -
Min Quantity: -
Max Quantity: -
Unit Price: -
Selected Qty: 0
💬 Türk Yorum
Category ID: -
Min Quantity: -
Max Quantity: -
Unit Price: -
Selected Qty: 0
🔍 SQL Query & Parameters (Nereden Geliyor?)
📊 Veritabanı Tablosu:
ns_product_package
🔑 SQL WHERE Koşulu:
WHERE slug = 'instagram-cekilisle-500-turk-takipci-satin-al' AND statu = 'active'
📦 Çekilen Kolon:
content (JSON field)
⚙️ İşlem Adımları:
1. ns_filter("package", "slug") → Package slug'ı al
2. ns_filter("package", "content") → JSON content'i çek
3. $package_content["related"] → "related" array'ini bul
4. $package_content["related_type"] → "related_type" değerini bul
5. IF (related_type != "close" && related boş değil):
→ MANUEL SİSTEM KULLAN
ELSE:
→ OTOMATİK SİSTEM KULLAN
🎯 Çağrılan Fonksiyon:
ns_filter("package", "content")
Bu fonksiyon packages modelinden paket verilerini çeker.
Content alanı JSON formatında saklanır: { "name": "...", "related": [...], "related_type": "..." }
Content alanı JSON formatında saklanır: { "name": "...", "related": [...], "related_type": "..." }
⚠️ ALTERNATİF YÖNTEMLER:
1. ns_filter("package", "content")
→ Tüm paket array'inden content çıkar
2. Alternatif: Direkt DB sorgusu
SELECT content FROM ns_product_package
WHERE slug = '...' LIMIT 1
3. Alternatif: ns_filter("package")
→ Tüm paket verisini al, sonra content'e eriş
🔬 TÜM ns_filter() Sonuçları (Debug)
{
"ns_filter_package_FULL": {
"id": 111,
"slug": "instagram-cekilisle-500-turk-takipci-satin-al",
"category": 16,
"type": 1,
"reseller": 0,
"service": 0,
"quantity": 500,
"amount": "400.95",
"_orderby": 0,
"statu": "active",
"name": "Çekilişle 500 Türk Takipçi",
"features": [
{
"head": "%100 Türk Kullanıcılar",
"icon": "fa fa-check"
},
{
"head": "Aktif ve Gerçek Profiller",
"icon": "fa fa-check"
},
{
"head": "Tamamlanma süresi uzayabilir!",
"icon": "fa fa-check"
},
{
"head": "2-3 Çekiliş Hesabı Takip Eder",
"icon": "fa fa-check"
},
{
"head": "3D Güvenilir Ödeme",
"icon": "fa fa-check"
},
{
"head": "7\/24 Canlı Destek",
"icon": "fa fa-check"
}
],
"special": {
"statu": "active",
"head": "Çok Satan",
"icon": "fas fa-meteor",
"color": "#ff0000",
"colorRgb": "255, 0, 0",
"old_price": "250"
},
"related": [
{
"id": "79",
"name": "Instagram 250 Türk Otomatik Beğeni",
"rate": "90"
},
{
"id": "83",
"name": "Instagram 2.000 Türk Otomatik Beğeni",
"rate": "90"
},
{
"id": "80",
"name": "Instagram 500 Türk Otomatik Beğeni",
"rate": "90"
}
],
"related_type": "multi",
"gift": "0",
"quarentine": {
"statu": "pasive",
"day": "0"
},
"real_quantity": 500,
"category_detail": {
"id": 16,
"slug": "instagram-cekilisle-turk-takipci-satin-al",
"platform": 1,
"_orderby": 10,
"statu": "active",
"name": "Çekilişle Türk Takipçi",
"title": "Instagram Çekilişle Türk Takipçi Satın Al",
"seo_title": "Instagram Çekilişle Takipçi Satın Al",
"seo_description": "Instagram'da profilinizin takipçilerini organik yolla arttırmak için hemen şimdi instagram çekilişle takipçi satın al paketlerimizi inceleyin!",
"article": "Instagram Çekilişle Türk Takipçi Satın Al Hizmeti<\/h2>\r\n\r\n
📋 Manuel Related Data (JSON İçinden Extraction)
{
"step_1_ns_filter_package_slug": "instagram-cekilisle-500-turk-takipci-satin-al",
"step_2_ns_filter_package_content": {
"id": 111,
"slug": "instagram-cekilisle-500-turk-takipci-satin-al",
"category": 16,
"type": 1,
"reseller": 0,
"service": 0,
"quantity": 500,
"amount": "400.95",
"_orderby": 0,
"statu": "active",
"name": "Çekilişle 500 Türk Takipçi",
"features": [
{
"head": "%100 Türk Kullanıcılar",
"icon": "fa fa-check"
},
{
"head": "Aktif ve Gerçek Profiller",
"icon": "fa fa-check"
},
{
"head": "Tamamlanma süresi uzayabilir!",
"icon": "fa fa-check"
},
{
"head": "2-3 Çekiliş Hesabı Takip Eder",
"icon": "fa fa-check"
},
{
"head": "3D Güvenilir Ödeme",
"icon": "fa fa-check"
},
{
"head": "7\/24 Canlı Destek",
"icon": "fa fa-check"
}
],
"special": {
"statu": "active",
"head": "Çok Satan",
"icon": "fas fa-meteor",
"color": "#ff0000",
"colorRgb": "255, 0, 0",
"old_price": "250"
},
"related": [
{
"id": "79",
"name": "Instagram 250 Türk Otomatik Beğeni",
"rate": "90"
},
{
"id": "83",
"name": "Instagram 2.000 Türk Otomatik Beğeni",
"rate": "90"
},
{
"id": "80",
"name": "Instagram 500 Türk Otomatik Beğeni",
"rate": "90"
}
],
"related_type": "multi",
"gift": "0",
"quarentine": {
"statu": "pasive",
"day": "0"
},
"real_quantity": 500,
"category_detail": {
"id": 16,
"slug": "instagram-cekilisle-turk-takipci-satin-al",
"platform": 1,
"_orderby": 10,
"statu": "active",
"name": "Çekilişle Türk Takipçi",
"title": "Instagram Çekilişle Türk Takipçi Satın Al",
"seo_title": "Instagram Çekilişle Takipçi Satın Al",
"seo_description": "Instagram'da profilinizin takipçilerini organik yolla arttırmak için hemen şimdi instagram çekilişle takipçi satın al paketlerimizi inceleyin!",
"article": "Instagram Çekilişle Türk Takipçi Satın Al Hizmeti<\/h2>\r\n\r\n
📄 Full Package Content JSON (DB'deki Tüm Data)
{
"id": 111,
"slug": "instagram-cekilisle-500-turk-takipci-satin-al",
"category": 16,
"type": 1,
"reseller": 0,
"service": 0,
"quantity": 500,
"amount": "400.95",
"_orderby": 0,
"statu": "active",
"name": "Çekilişle 500 Türk Takipçi",
"features": [
{
"head": "%100 Türk Kullanıcılar",
"icon": "fa fa-check"
},
{
"head": "Aktif ve Gerçek Profiller",
"icon": "fa fa-check"
},
{
"head": "Tamamlanma süresi uzayabilir!",
"icon": "fa fa-check"
},
{
"head": "2-3 Çekiliş Hesabı Takip Eder",
"icon": "fa fa-check"
},
{
"head": "3D Güvenilir Ödeme",
"icon": "fa fa-check"
},
{
"head": "7\/24 Canlı Destek",
"icon": "fa fa-check"
}
],
"special": {
"statu": "active",
"head": "Çok Satan",
"icon": "fas fa-meteor",
"color": "#ff0000",
"colorRgb": "255, 0, 0",
"old_price": "250"
},
"related": [
{
"id": "79",
"name": "Instagram 250 Türk Otomatik Beğeni",
"rate": "90"
},
{
"id": "83",
"name": "Instagram 2.000 Türk Otomatik Beğeni",
"rate": "90"
},
{
"id": "80",
"name": "Instagram 500 Türk Otomatik Beğeni",
"rate": "90"
}
],
"related_type": "multi",
"gift": "0",
"quarentine": {
"statu": "pasive",
"day": "0"
},
"real_quantity": 500,
"category_detail": {
"id": 16,
"slug": "instagram-cekilisle-turk-takipci-satin-al",
"platform": 1,
"_orderby": 10,
"statu": "active",
"name": "Çekilişle Türk Takipçi",
"title": "Instagram Çekilişle Türk Takipçi Satın Al",
"seo_title": "Instagram Çekilişle Takipçi Satın Al",
"seo_description": "Instagram'da profilinizin takipçilerini organik yolla arttırmak için hemen şimdi instagram çekilişle takipçi satın al paketlerimizi inceleyin!",
"article": "Instagram Çekilişle Türk Takipçi Satın Al Hizmeti<\/h2>\r\n\r\n
🎁 View Upsell Packages Data (Final Output JSON)
{
"current_type": "standart",
"standart": {
"success": true,
"source": "manual",
"related_type": "multi",
"main_package": {
"id": 111,
"slug": "instagram-cekilisle-500-turk-takipci-satin-al",
"category": 16,
"quantity": 500,
"amount": "400.95",
"type": "1"
},
"platform": {
"id": 1,
"slug": "",
"name": "Instagram"
},
"upsell_packages": [
{
"category_id": 12,
"category_name": "Otomatik Beğeni",
"category_slug": "",
"slug": "instagram-250-turk-otomatik-begeni-satin-al",
"min_quantity": 50,
"max_quantity": 10000,
"unit_price": 3.193343999999999738292899564839899539947509765625,
"original_unit_price": 3.548159999999999758557578388717956840991973876953125,
"recommended_quantity": 250,
"type": "1",
"rate": 90,
"discount_percentage": 10,
"manual_source": true
},
{
"category_id": 12,
"category_name": "Otomatik Beğeni",
"category_slug": "",
"slug": "instagram-2000-turk-otomatik-begeni-satin-al",
"min_quantity": 50,
"max_quantity": 10000,
"unit_price": 2.246746499999999979735321176121942698955535888671875,
"original_unit_price": 2.496385000000000076170181273482739925384521484375,
"recommended_quantity": 250,
"type": "1",
"rate": 90,
"discount_percentage": 10,
"manual_source": true
},
{
"category_id": 12,
"category_name": "Otomatik Beğeni",
"category_slug": "",
"slug": "instagram-500-turk-otomatik-begeni-satin-al",
"min_quantity": 50,
"max_quantity": 10000,
"unit_price": 3.01086000000000009180212146020494401454925537109375,
"original_unit_price": 3.345400000000000151345602716901339590549468994140625,
"recommended_quantity": 250,
"type": "1",
"rate": 90,
"discount_percentage": 10,
"manual_source": true
}
]
},
"premium": {
"success": true,
"main_package": {
"id": 111,
"slug": "instagram-cekilisle-500-turk-takipci-satin-al",
"category": 16,
"quantity": 500,
"amount": "400.95",
"type": 2
},
"platform": {
"id": 1,
"slug": "instagram",
"name": "Instagram"
},
"upsell_packages": [
{
"category_id": 3,
"category_name": "Türk Beğeni",
"category_slug": "instagram-turk-begeni-satin-al",
"slug": "instagram-2500-premium-turk-begeni",
"min_quantity": 25,
"max_quantity": 2500,
"unit_price": 0.2800000000000000266453525910037569701671600341796875,
"recommended_quantity": 250,
"type": 2,
"category_based": true,
"discount_percentage": 72,
"original_unit_price": 1
},
{
"category_id": 28,
"category_name": "Türk Yorum",
"category_slug": "instagram-turk-yorum-satin-al",
"slug": "instagram-45-turk-kadin-yorum",
"min_quantity": 5,
"max_quantity": 100,
"unit_price": 2.77777777777777767909128669998608529567718505859375,
"recommended_quantity": 100,
"type": 2,
"category_based": true,
"discount_percentage": 50,
"original_unit_price": 5.5999999999999996447286321199499070644378662109375
},
{
"category_id": 14,
"category_name": "İzlenme",
"category_slug": "instagram-izlenme-satin-al",
"slug": "instagram-250000-turk-izlenme",
"min_quantity": 500,
"max_quantity": 500000,
"unit_price": 0.0051999999999999997613020497055913438089191913604736328125,
"recommended_quantity": 500,
"type": 2,
"category_based": true,
"discount_percentage": 87,
"original_unit_price": 0.040000000000000000832667268468867405317723751068115234375
},
{
"category_id": 46,
"category_name": "Kaydetme",
"category_slug": "instagram-kaydetme-satin-al",
"slug": "instagram-50000-premium-kaydetme-satin-al",
"min_quantity": 100,
"max_quantity": 50000,
"unit_price": 0.021999999999999998723243521681069978512823581695556640625,
"recommended_quantity": 250,
"type": 2,
"category_based": true,
"discount_percentage": 82,
"original_unit_price": 0.11999999999999999555910790149937383830547332763671875
}
],
"source": "auto"
}
}
🧾 Last Cart Submit Debug
Step 3 • Upsell Checkout
No cart submission yet.
🐛 PHP Debug Info
Package Slug: instagram-cekilisle-500-turk-takipci-satin-al
Package Type: 1
Category ID: 16
Upsell Source:
MANUAL
📋 Manuel Related Type:
☑️ MULTI (Çoklu Seçim)
📦 Manuel Packages in DB: 3
✅ Use Manuel: TRUE
💡 Çoklu Seçim: Kullanıcı birden fazla upsell paketi seçebilir (checkbox)
📦 Manuel Packages in DB: 3
✅ Use Manuel: TRUE
Upsell Data Exists: YES