fix kashkool

This commit is contained in:
2026-06-30 22:17:09 +03:30
parent fedde47221
commit aeeb3bd3ed
4 changed files with 27 additions and 16 deletions
+2 -7
View File
@@ -163,9 +163,8 @@ class ConfigService
*
* اولویت:
* 1) price_provider (یا price_primary_source قدیمی) — فقط مقادیر معتبر
* 2) montzar_price=true → montzar (ابشده خانگی و پروژه‌های فعلی)
* 3) main_product_price=true → main_product (legacy)
* 4) پیش‌فرض فایل: montzar
* 2) main_product_price=true → main_product (legacy)
* 3) پیش‌فرض فایل: montzar
*/
public function priceProvider(): string
{
@@ -176,10 +175,6 @@ class ConfigService
}
}
if ($this->getBool('montzar_price', false)) {
return 'montzar';
}
if ($this->getBool('main_product_price', false)) {
return 'main_product';
}