Под заказ: 1

Терминал доступный
При оплате картой взимается комиссия 1%
| Ширина: | 245 | 
| Высота: | 70 | 
| Диаметр: | 17 | 
| Индекс скорости: | 114T | 
| Сезонность: | Летняя | 
| Шипы: | Не шипованная | 
 
    
    
    
        Maxxis MT-762 Bighorn 245/70 R17 114/110Q
 
    
    
    
        Ecovision VI-286 HT 245/70 R17 110T
 
    
    
    
        Yokohama Geolandar A/T G015 245/70 R17 119R
 
                    
                                
                    
                                        
                         
                    
                
            Введите свой номер и мы перезвоним Вам
Товар был добавлен в корзину. Вы можете продолжить покупки или перейти к оформлению заказа
Вы нашли этот товар дешевле? Расскажите об этом
Условия акции:
Необходимо предоставить ссылку на сайт с данным товаром и конкурент должен быть из
            Волгограда.

Чтобы избежать томительного ожидания в очереди около шиномонтажа Вы можете предварительно записаться у нас. Менеджер свяжется с Вами и уточнит все детали.
| 1 x Application (98.52%) | 886.39ms | 
| 1 x Booting (1.47%) | 13.19ms | 
| Params | |
|---|---|
| 0 |  | 
| Params | |
|---|---|
| 0 |  | 
| 1 |  | 
| 2 |  | 
| 3 |  | 
| 4 |  | 
| 5 |  | 
| 6 |  | 
| 7 |  | 
| 8 |  | 
| 9 |  | 
| 10 |  | 
| 11 |  | 
| Params | |
|---|---|
| 0 |  | 
| 1 |  | 
| 2 |  | 
| 3 |  | 
| 4 |  | 
| 5 |  | 
| 6 |  | 
| 7 |  | 
| 8 |  | 
| 9 |  | 
| 10 |  | 
| 11 |  | 
| Params | |
|---|---|
| 0 |  | 
| 1 |  | 
| 2 |  | 
| 3 |  | 
| 4 |  | 
| 5 |  | 
| 6 |  | 
| 7 |  | 
| 8 |  | 
| 9 |  | 
| 10 |  | 
| 11 |  | 
select * from `categories` where (`parent` = 1 and `tmp` = '0' and `visible` = 1) order by `categories`.`order` asc630μs/app/Models/Product/Category.php:158avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `car_manufacturers` order by `name` asc560μsmiddleware::client:22avtoshina_beta| Metadata | |
|---|---|
| Hints | 
 | 
| Backtrace | 
 | 
select * from `seo_redirects` where `page_from` = 'catalog/getPromoBlock' limit 1310μs/app/Models/Redirect.php:33avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `title`, `h1`, `description`, `keywords` from `seo` where `page_url` = 'catalog/getPromoBlock' limit 1230μs/app/Models/Seo.php:36avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `id` from `suppliers` where `type` = 'store'220μs/app/Models/Product/Product.php:1323avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `products` where `id` = '95364' limit 1740μs/app/Models/Product/Product.php:1240avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `tyres` where `product_id` = '95364' limit 1660μs/app/Models/Product/Product.php:1246avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product`.`id` as `product_id`, `product`.`alias` as `product_alias`, `product`.`manufacturer_id`, `product`.`card_name` as `product_name`, `product`.`product_type`, `category`.`alias` as `category_alias`, `category`.`name` as `category_name`, `product`.`category_id`, `category`.`parent` as `category_parent`, `manufacturer`.`name` as `manufacturer_name`, `manufacturer`.`alias` as `manufacturer_alias`, `store`.`store_sum`,
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id = 13
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id = 13
)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id IN (12,13)
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id IN (12,13)
LIMIT 1)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
)
THEN
FLOOR((store.price * (100 - (SELECT discount
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
LIMIT 1)) / 100) / 10) * 10
ELSE
store.store_min_price
END
END
END AS main_price
, `suppliers`.`type` from `products` as `product` left join `manufacturers` as `manufacturer` on `product`.`manufacturer_id` = `manufacturer`.`id` inner join `categories` as `category` on `product`.`category_id` = `category`.`id` left join (
SELECT
product_id,
supplier_id,
price, discount_price,
sum(product_store.quantity) as store_sum,
min(product_store.price) as store_min_price
FROM product_store
WHERE quantity > 0 AND price > 0
GROUP BY product_id, supplier_id, price, discount_price) AS store on `product`.`id` = `store`.`product_id` and `product`.`min_price_supplier_id` = `store`.`supplier_id` left join `suppliers` on `supplier_id` = `suppliers`.`id` inner join `tyres` on `product`.`id` = `tyres`.`product_id` where (`product`.`visible` = 1 and `product`.`tmp` = 0) and (`category`.`tmp` = 0 and `category`.`visible` = 1) and `product`.`manufacturer_id` is not null and (manufacturer.visible IS NULL OR manufacturer.visible = 1) and (store_sum IS NOT NULL AND store_sum > 0) and `tyres`.`diameter` = 17 and `tyres`.`width` = 245 and `tyres`.`height` = 70 and `tyres`.`season` = 0710μs/app/Models/Product/Product.php:1256avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product`.`id` as `product_id`, `product`.`alias` as `product_alias`, `product`.`manufacturer_id`, `product`.`card_name` as `product_name`, `product`.`product_type`, `category`.`alias` as `category_alias`, `category`.`name` as `category_name`, `product`.`category_id`, `category`.`parent` as `category_parent`, `manufacturer`.`name` as `manufacturer_name`, `manufacturer`.`alias` as `manufacturer_alias`, `store`.`store_sum`,
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id = 13
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id = 13
)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id IN (12,13)
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id IN (12,13)
LIMIT 1)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
)
THEN
FLOOR((store.price * (100 - (SELECT discount
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
LIMIT 1)) / 100) / 10) * 10
ELSE
store.store_min_price
END
END
END AS main_price
, `suppliers`.`type` from `products` as `product` left join `manufacturers` as `manufacturer` on `product`.`manufacturer_id` = `manufacturer`.`id` inner join `categories` as `category` on `product`.`category_id` = `category`.`id` left join (
SELECT
product_id,
supplier_id,
price, discount_price,
sum(product_store.quantity) as store_sum,
min(product_store.price) as store_min_price
FROM product_store
WHERE quantity > 0 AND price > 0
GROUP BY product_id, supplier_id, price, discount_price) AS store on `product`.`id` = `store`.`product_id` and `product`.`min_price_supplier_id` = `store`.`supplier_id` left join `suppliers` on `supplier_id` = `suppliers`.`id` inner join `tyres` on `product`.`id` = `tyres`.`product_id` where (`product`.`visible` = 1 and `product`.`tmp` = 0) and (`category`.`tmp` = 0 and `category`.`visible` = 1) and `product`.`manufacturer_id` is not null and (manufacturer.visible IS NULL OR manufacturer.visible = 1) and (store_sum IS NOT NULL AND store_sum > 0) and `tyres`.`diameter` = 17 and `tyres`.`width` = 245 and `tyres`.`height` = 70 and `tyres`.`season` = 0 and `product`.`id` <> '95364' limit 5647ms/app/Models/Product/Product.php:1295avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `product_images` where `product_id` in (32431, 33286, 97269, 99405, 406315)1.64ms/app/Libraries/ProductHelper.php:30avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `season` from `tyres` where `product_id` in (32431, 33286, 97269, 99405, 406315)290μs/app/Libraries/ProductHelper.php:33avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `product_id`, `model`, `width`, `height`, `diameter`, `speed_index`, `is_spike` from `tyres` where `product_id` in (32431, 33286, 97269, 99405, 406315)300μs/app/Libraries/ProductHelper.php:36avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 32431) limit 1290μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (32431)350μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)380μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'240μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'220μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 33286) limit 1200μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (33286)240μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (35, 39, 42)800μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3, 7, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'240μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'220μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 97269) limit 1200μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (97269)200μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)220μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'210μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'2.41ms/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 99405) limit 1310μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (99405)280μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)300μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'170μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'310μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 406315) limit 1230μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (406315)190μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)250μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'160μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'180μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`product_id`, `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`days` as `days`, CASE
WHEN product_redprice.discount IS NOT NULL
THEN
FLOOR((product_store.price * (100 - product_redprice.discount) / 100) / 10) * 10
ELSE
product_store.price
END AS minprice from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` left join `product_redprice` on `product_store`.`product_id` = `product_redprice`.`product_id` and `product_store`.`supplier_id` = `product_redprice`.`supplier_id` where `product_store`.`product_id` in (32431, 33286, 97269, 99405, 406315) and `product_store`.`quantity` > 0 and `product_store`.`price` > 0 order by `minprice` asc340μs/app/Libraries/ProductHelper.php:93avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 32431 order by `suppliers`.`type` desc250μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '985267' and `supplier_id` = 10) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '73736' and `supplier_id` = 2) and `quantity` > 0 limit 1180μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 32431 and `supplier_id` = 2)140μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 33286 order by `suppliers`.`type` desc200μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '16989' and `supplier_id` = 1) and `quantity` > 0 limit 1130μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 33286 and `supplier_id` = 1)150μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 97269 order by `suppliers`.`type` desc160μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'E4521' and `supplier_id` = 11) and `quantity` > 0 limit 1240μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00003840' and `supplier_id` = 4) and `quantity` > 0 limit 1230μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 97269 and `supplier_id` = 4)140μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'E4521' and `supplier_id` = 5) and `quantity` > 0 limit 1180μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 99405 order by `suppliers`.`type` desc190μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '2184723' and `supplier_id` = 11) and `quantity` > 0 limit 1130μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '2184723' and `supplier_id` = 5) and `quantity` > 0 limit 1130μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 99405 and `supplier_id` = 5)140μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 406315 order by `suppliers`.`type` desc200μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'BR018349' and `supplier_id` = 11) and `quantity` > 0 limit 1230μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'BR018349' and `supplier_id` = 5) and `quantity` > 0 limit 1250μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 406315 and `supplier_id` = 5)250μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (89, 144, 67, 69, 70)250μs/app/Libraries/ProductHelper.php:117avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `id` from `suppliers` where `type` = 'store'290μs/app/Models/Product/Product.php:1323avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select distinct `product`.`id` as `product_id`, `product`.`alias` as `product_alias`, `product`.`manufacturer_id`, `product`.`card_name` as `product_name`, `product`.`product_type`, `category`.`alias` as `category_alias`, `category`.`name` as `category_name`, `product`.`category_id`, `category`.`parent` as `category_parent`, `manufacturer`.`name` as `manufacturer_name`, `manufacturer`.`alias` as `manufacturer_alias`, `store`.`store_sum`,
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id = 13
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id = 13
)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id IN (12,13)
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id IN (12,13)
LIMIT 1)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
)
THEN
FLOOR((store.price * (100 - (SELECT discount
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
LIMIT 1)) / 100) / 10) * 10
ELSE
store.store_min_price
END
END
END AS main_price
, `suppliers`.`type` from `products` as `product` left join `manufacturers` as `manufacturer` on `product`.`manufacturer_id` = `manufacturer`.`id` inner join `categories` as `category` on `product`.`category_id` = `category`.`id` left join (
SELECT
product_id,
supplier_id,
price, discount_price,
sum(product_store.quantity) as store_sum,
min(product_store.price) as store_min_price
FROM product_store
WHERE quantity > 0 AND price > 0
GROUP BY product_id, supplier_id, price, discount_price) AS store on `product`.`id` = `store`.`product_id` and `product`.`min_price_supplier_id` = `store`.`supplier_id` left join `suppliers` on `supplier_id` = `suppliers`.`id` left join `product_images` on `product`.`id` = `product_images`.`product_id` left join `product_redprice` on `product`.`id` = `product_redprice`.`product_id` left join `product_store` on `product`.`id` = `product_store`.`product_id` where (`product`.`visible` = 1 and `product`.`tmp` = 0) and (`category`.`tmp` = 0 and `category`.`visible` = 1) and `product`.`manufacturer_id` is not null and (manufacturer.visible IS NULL OR manufacturer.visible = 1) and (store_sum IS NOT NULL AND store_sum > 0) and (`product_store`.`discount_price` > 0 and `product_store`.`price` > `product_store`.`discount_price` or `product`.`id` = `product_redprice`.`product_id` and `store`.`supplier_id` = `product_redprice`.`supplier_id`) limit 15850μs/app/Models/Product/Product.php:1197avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `product_images` where `product_id` in (8002, 8120, 356988, 357335, 422430, 422442, 422786, 422881, 490215, 490216, 522537, 522597, 522598, 522910, 522921)230μs/app/Libraries/ProductHelper.php:30avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 8002) limit 1170μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (8002)190μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (39, 42)690μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'180μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'390μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 8120) limit 1210μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (8120)280μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)320μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'200μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'180μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 356988) limit 1160μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (356988)260μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)250μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'170μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'230μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 357335) limit 1180μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (357335)180μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)240μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'300μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'170μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 422430) limit 1180μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (422430)210μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)230μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'180μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'180μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 422442) limit 1170μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (422442)170μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)260μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'190μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'190μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 422786) limit 1210μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (422786)190μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)220μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'160μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'180μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 422881) limit 1180μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (422881)290μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)230μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'260μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'180μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 490215) limit 1180μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (490215)160μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (39, 42)690μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'200μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'160μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 490216) limit 1160μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (490216)190μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)280μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'180μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'180μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 522537) limit 1160μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (522537)200μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)250μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'160μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'240μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 522597) limit 1260μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (522597)210μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)240μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'170μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'220μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 522598) limit 1170μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (522598)170μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)260μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'150μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'240μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 522910) limit 1210μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (522910)220μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)250μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'180μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'190μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 522921) limit 1170μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (522921)150μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (42)260μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'150μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'190μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`product_id`, `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`days` as `days`, CASE
WHEN product_redprice.discount IS NOT NULL
THEN
FLOOR((product_store.price * (100 - product_redprice.discount) / 100) / 10) * 10
ELSE
product_store.price
END AS minprice from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` left join `product_redprice` on `product_store`.`product_id` = `product_redprice`.`product_id` and `product_store`.`supplier_id` = `product_redprice`.`supplier_id` where `product_store`.`product_id` in (8002, 8120, 356988, 357335, 422430, 422442, 422786, 422881, 490215, 490216, 522537, 522597, 522598, 522910, 522921) and `product_store`.`quantity` > 0 and `product_store`.`price` > 0 order by `minprice` asc380μs/app/Libraries/ProductHelper.php:93avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 8002 order by `suppliers`.`type` desc230μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'tz-2030' and `supplier_id` = 13) and `quantity` > 0 limit 1180μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 8002 and `supplier_id` = 13)140μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 8120 order by `suppliers`.`type` desc180μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'tr-0435' and `supplier_id` = 13) and `quantity` > 0 limit 1160μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 8120 and `supplier_id` = 13)140μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 356988 order by `suppliers`.`type` desc210μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS158817' and `supplier_id` = 5) and `quantity` > 0 limit 1180μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS158817' and `supplier_id` = 11) and `quantity` > 0 limit 1140μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 356988 and `supplier_id` = 11)150μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 357335 order by `suppliers`.`type` desc310μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'tr-40020' and `supplier_id` = 13) and `quantity` > 0 limit 1170μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'tr-40020' and `supplier_id` = 12) and `quantity` > 0 limit 1160μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 357335 and `supplier_id` = 12)150μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS209646' and `supplier_id` = 5) and `quantity` > 0 limit 1140μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS209646' and `supplier_id` = 11) and `quantity` > 0 limit 1130μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 422430 order by `suppliers`.`type` desc190μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221916' and `supplier_id` = 5) and `quantity` > 0 limit 1170μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 5)140μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221916' and `supplier_id` = 11) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 11)130μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '000000571' and `supplier_id` = 4) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 4)160μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 422442 order by `suppliers`.`type` desc210μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221899' and `supplier_id` = 5) and `quantity` > 0 limit 1170μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '980860' and `supplier_id` = 10) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221899' and `supplier_id` = 11) and `quantity` > 0 limit 1170μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 422442 and `supplier_id` = 11)170μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '137556' and `supplier_id` = 9) and `quantity` > 0 limit 1190μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 422786 order by `suppliers`.`type` desc220μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221893' and `supplier_id` = 5) and `quantity` > 0 limit 1160μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 422786 and `supplier_id` = 5)130μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221893' and `supplier_id` = 11) and `quantity` > 0 limit 1230μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 422786 and `supplier_id` = 11)180μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 422881 order by `suppliers`.`type` desc200μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221898' and `supplier_id` = 5) and `quantity` > 0 limit 1220μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221898' and `supplier_id` = 11) and `quantity` > 0 limit 1180μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 422881 and `supplier_id` = 11)160μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 490215 order by `suppliers`.`type` desc180μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'tr-X40927' and `supplier_id` = 13) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 490215 and `supplier_id` = 13)120μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '000088351' and `supplier_id` = 4) and `quantity` > 0 limit 1140μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 490216 order by `suppliers`.`type` desc210μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'tr-8667' and `supplier_id` = 13) and `quantity` > 0 limit 1230μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 490216 and `supplier_id` = 13)150μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 522537 order by `suppliers`.`type` desc180μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1098050' and `supplier_id` = 10) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'УТ-00009432' and `supplier_id` = 9) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '97086' and `supplier_id` = 2) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 522537 and `supplier_id` = 2)140μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '88254384560' and `supplier_id` = 8) and `quantity` > 0 limit 1140μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 522597 order by `suppliers`.`type` desc280μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS500776' and `supplier_id` = 5) and `quantity` > 0 limit 1230μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS500776' and `supplier_id` = 11) and `quantity` > 0 limit 1190μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 522597 and `supplier_id` = 11)150μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 522598 order by `suppliers`.`type` desc230μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS503030' and `supplier_id` = 5) and `quantity` > 0 limit 1210μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 5)210μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS503030' and `supplier_id` = 11) and `quantity` > 0 limit 1190μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 11)180μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00014836' and `supplier_id` = 4) and `quantity` > 0 limit 1310μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 4)280μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '81121' and `supplier_id` = 2) and `quantity` > 0 limit 1280μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 2)220μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 522910 order by `suppliers`.`type` desc460μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'tr-7368' and `supplier_id` = 13) and `quantity` > 0 limit 1360μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 522910 and `supplier_id` = 13)240μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00007200' and `supplier_id` = 4) and `quantity` > 0 limit 1310μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 522910 and `supplier_id` = 4)270μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS083584' and `supplier_id` = 5) and `quantity` > 0 limit 1240μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS083584' and `supplier_id` = 11) and `quantity` > 0 limit 1300μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 522921 order by `suppliers`.`type` desc280μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS229143' and `supplier_id` = 5) and `quantity` > 0 limit 1230μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 522921 and `supplier_id` = 5)270μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS229143' and `supplier_id` = 11) and `quantity` > 0 limit 1340μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (21, 255, 23, 23, 21, 21, 21, 21, 23, 23, 23, 21, 21, 23, 23)210μs/app/Libraries/ProductHelper.php:117avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `id` from `suppliers` where `type` = 'store'180μs/app/Models/Product/Product.php:1323avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product`.`id` as `product_id`, `product`.`alias` as `product_alias`, `product`.`manufacturer_id`, `product`.`card_name` as `product_name`, `product`.`product_type`, `category`.`alias` as `category_alias`, `category`.`name` as `category_name`, `product`.`category_id`, `category`.`parent` as `category_parent`, `manufacturer`.`name` as `manufacturer_name`, `manufacturer`.`alias` as `manufacturer_alias`, `store`.`store_sum`,
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id = 13
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id = 13
)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id IN (12,13)
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id IN (12,13)
LIMIT 1)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
)
THEN
FLOOR((store.price * (100 - (SELECT discount
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
LIMIT 1)) / 100) / 10) * 10
ELSE
store.store_min_price
END
END
END AS main_price
, `suppliers`.`type` from `products` as `product` left join `manufacturers` as `manufacturer` on `product`.`manufacturer_id` = `manufacturer`.`id` inner join `categories` as `category` on `product`.`category_id` = `category`.`id` left join (
SELECT
product_id,
supplier_id,
price, discount_price,
sum(product_store.quantity) as store_sum,
min(product_store.price) as store_min_price
FROM product_store
WHERE quantity > 0 AND price > 0
GROUP BY product_id, supplier_id, price, discount_price) AS store on `product`.`id` = `store`.`product_id` and `product`.`min_price_supplier_id` = `store`.`supplier_id` left join `suppliers` on `supplier_id` = `suppliers`.`id` inner join `product_to_promo` on `product`.`id` = `product_to_promo`.`product_id` inner join `promo_tags` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where (`product`.`visible` = 1 and `product`.`tmp` = 0) and (`category`.`tmp` = 0 and `category`.`visible` = 1) and `product`.`manufacturer_id` is not null and (manufacturer.visible IS NULL OR manufacturer.visible = 1) and (store_sum IS NOT NULL AND store_sum > 0) and `promo_tags`.`code` = 'profit' order by `product`.`profit_order` desc, `product_to_promo`.`created_at` desc limit 5860μs/app/Models/Product/Product.php:1226avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `product_images` where `product_id` in (540869, 631111, 628696, 632655, 697076)220μs/app/Libraries/ProductHelper.php:30avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `season` from `tyres` where `product_id` in (540869, 631111, 628696, 632655, 697076)260μs/app/Libraries/ProductHelper.php:33avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `product_id`, `model`, `width`, `height`, `diameter`, `speed_index`, `is_spike` from `tyres` where `product_id` in (540869, 631111, 628696, 632655, 697076)210μs/app/Libraries/ProductHelper.php:36avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 540869) limit 1240μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (540869)210μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)620μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (2, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'210μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'1.95ms/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 631111) limit 1390μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (631111)300μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)630μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (2, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'230μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'260μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 628696) limit 1260μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (628696)220μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 42, 44)840μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (2, 3, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'240μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'220μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 632655) limit 1210μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (632655)400μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 42, 44)900μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (2, 3, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'220μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'190μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 697076) limit 1180μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (697076)170μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 42, 44)1.01ms/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (2, 3, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'210μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'170μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`product_id`, `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`days` as `days`, CASE
WHEN product_redprice.discount IS NOT NULL
THEN
FLOOR((product_store.price * (100 - product_redprice.discount) / 100) / 10) * 10
ELSE
product_store.price
END AS minprice from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` left join `product_redprice` on `product_store`.`product_id` = `product_redprice`.`product_id` and `product_store`.`supplier_id` = `product_redprice`.`supplier_id` where `product_store`.`product_id` in (540869, 631111, 628696, 632655, 697076) and `product_store`.`quantity` > 0 and `product_store`.`price` > 0 order by `minprice` asc280μs/app/Libraries/ProductHelper.php:93avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 540869 order by `suppliers`.`type` desc220μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00025485' and `supplier_id` = 4) and `quantity` > 0 limit 1200μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 540869 and `supplier_id` = 4)160μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 631111 order by `suppliers`.`type` desc200μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS72291' and `supplier_id` = 5) and `quantity` > 0 limit 1180μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00029916' and `supplier_id` = 4) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 631111 and `supplier_id` = 4)120μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 628696 order by `suppliers`.`type` desc230μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1659770' and `supplier_id` = 11) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1659770' and `supplier_id` = 10) and `quantity` > 0 limit 1140μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'T730566' and `supplier_id` = 5) and `quantity` > 0 limit 1130μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '113674' and `supplier_id` = 2) and `quantity` > 0 limit 1130μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'T730566' and `supplier_id` = 11) and `quantity` > 0 limit 1120μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 628696 and `supplier_id` = 11)120μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '110650585997' and `supplier_id` = 8) and `quantity` > 0 limit 1130μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 632655 order by `suppliers`.`type` desc200μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS72051' and `supplier_id` = 5) and `quantity` > 0 limit 1170μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS72051' and `supplier_id` = 11) and `quantity` > 0 limit 1160μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 632655 and `supplier_id` = 11)230μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1707523' and `supplier_id` = 10) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '112139731348' and `supplier_id` = 8) and `quantity` > 0 limit 1110μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '117380' and `supplier_id` = 2) and `quantity` > 0 limit 1140μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 632655 and `supplier_id` = 2)120μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'УТ-00024207' and `supplier_id` = 9) and `quantity` > 0 limit 1140μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 697076 order by `suppliers`.`type` desc170μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1707173' and `supplier_id` = 10) and `quantity` > 0 limit 1140μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS72201' and `supplier_id` = 11) and `quantity` > 0 limit 1160μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 697076 and `supplier_id` = 11)120μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '112138520732' and `supplier_id` = 8) and `quantity` > 0 limit 1150μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '116612' and `supplier_id` = 2) and `quantity` > 0 limit 1130μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 697076 and `supplier_id` = 2)140μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (64, 64, 64, 64, 64)160μs/app/Libraries/ProductHelper.php:117avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `id` from `suppliers` where `type` = 'store'140μs/app/Models/Product/Product.php:1323avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product`.`id` as `product_id`, `product`.`alias` as `product_alias`, `product`.`manufacturer_id`, `product`.`card_name` as `product_name`, `product`.`product_type`, `category`.`alias` as `category_alias`, `category`.`name` as `category_name`, `product`.`category_id`, `category`.`parent` as `category_parent`, `manufacturer`.`name` as `manufacturer_name`, `manufacturer`.`alias` as `manufacturer_alias`, `store`.`store_sum`,
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id = 13
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id = 13
)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id IN (12,13)
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id IN (12,13)
LIMIT 1)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
)
THEN
FLOOR((store.price * (100 - (SELECT discount
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
LIMIT 1)) / 100) / 10) * 10
ELSE
store.store_min_price
END
END
END AS main_price
, `suppliers`.`type` from `products` as `product` left join `manufacturers` as `manufacturer` on `product`.`manufacturer_id` = `manufacturer`.`id` inner join `categories` as `category` on `product`.`category_id` = `category`.`id` left join (
SELECT
product_id,
supplier_id,
price, discount_price,
sum(product_store.quantity) as store_sum,
min(product_store.price) as store_min_price
FROM product_store
WHERE quantity > 0 AND price > 0
GROUP BY product_id, supplier_id, price, discount_price) AS store on `product`.`id` = `store`.`product_id` and `product`.`min_price_supplier_id` = `store`.`supplier_id` left join `suppliers` on `supplier_id` = `suppliers`.`id` inner join `product_to_promo` on `product`.`id` = `product_to_promo`.`product_id` inner join `promo_tags` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where (`product`.`visible` = 1 and `product`.`tmp` = 0) and (`category`.`tmp` = 0 and `category`.`visible` = 1) and `product`.`manufacturer_id` is not null and (manufacturer.visible IS NULL OR manufacturer.visible = 1) and (store_sum IS NOT NULL AND store_sum > 0) and `promo_tags`.`code` = 'recommend' order by `product`.`recommend_order` desc, `product_to_promo`.`created_at` desc limit 5750μs/app/Models/Product/Product.php:1226avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `product_images` where `product_id` in (774840, 774839, 774838, 774837, 774836)190μs/app/Libraries/ProductHelper.php:30avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `categories` where `id` = 7 limit 1150μs/app/Models/Product/Category.php:203avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 774840) limit 1190μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (774840)190μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (43)290μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (1) and `images`.`imageable_type` = 'App\Models\PromoTag'150μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'170μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `categories` where `id` = 7 limit 1400μs/app/Models/Product/Category.php:203avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 774839) limit 15.35ms/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (774839)4.08ms/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (43)810μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (1) and `images`.`imageable_type` = 'App\Models\PromoTag'360μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'250μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `categories` where `id` = 7 limit 1190μs/app/Models/Product/Category.php:203avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 774838) limit 1190μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (774838)200μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (43)200μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (1) and `images`.`imageable_type` = 'App\Models\PromoTag'150μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'140μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `categories` where `id` = 7 limit 1140μs/app/Models/Product/Category.php:203avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 774837) limit 1160μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (774837)190μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (43)290μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (1) and `images`.`imageable_type` = 'App\Models\PromoTag'210μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'210μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `categories` where `id` = 7 limit 1190μs/app/Models/Product/Category.php:203avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `products` where (`id` = 774836) limit 1260μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (774836)220μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select * from `site_content` where `site_content`.`id` in (43)330μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `images` where `images`.`imageable_id` in (1) and `images`.`imageable_type` = 'App\Models\PromoTag'180μs/app/Libraries/ProductHelper.php:63avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-10-31 22:27:36' and `to` >= '2025-10-31 22:27:36'190μs/app/Models/Promocode.php:100avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `product_store`.`product_id`, `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`days` as `days`, CASE
WHEN product_redprice.discount IS NOT NULL
THEN
FLOOR((product_store.price * (100 - product_redprice.discount) / 100) / 10) * 10
ELSE
product_store.price
END AS minprice from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` left join `product_redprice` on `product_store`.`product_id` = `product_redprice`.`product_id` and `product_store`.`supplier_id` = `product_redprice`.`supplier_id` where `product_store`.`product_id` in (774840, 774839, 774838, 774837, 774836) and `product_store`.`quantity` > 0 and `product_store`.`price` > 0 order by `minprice` asc360μs/app/Libraries/ProductHelper.php:93avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 774840 order by `suppliers`.`type` desc480μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'zo-0799' and `supplier_id` = 12) and `quantity` > 0 limit 1280μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 774840 and `supplier_id` = 12)230μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 774839 order by `suppliers`.`type` desc310μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'zo-0589' and `supplier_id` = 12) and `quantity` > 0 limit 1220μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 774839 and `supplier_id` = 12)820μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 774838 order by `suppliers`.`type` desc350μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'zo-0588' and `supplier_id` = 12) and `quantity` > 0 limit 1220μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 774838 and `supplier_id` = 12)180μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 774837 order by `suppliers`.`type` desc280μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'zo-1815' and `supplier_id` = 12) and `quantity` > 0 limit 1240μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 774837 and `supplier_id` = 12)200μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 774836 order by `suppliers`.`type` desc220μs/app/Models/Product/ProductStore.php:51avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'zo-0401' and `supplier_id` = 12) and `quantity` > 0 limit 1160μs/app/Models/Product/ProductStore.php:172avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Hints | 
 | 
| Backtrace | 
 | 
select `discount` from `product_redprice` where (`product_id` = 774836 and `supplier_id` = 12)130μs/app/Models/Product/ProductStore.php:178avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (443, 443, 443, 443, 443)170μs/app/Libraries/ProductHelper.php:117avtoshina_beta| Metadata | |
|---|---|
| Bindings | 
 | 
| Backtrace | 
 | 
200
0 of 0array:1 [▶ "id" => "95364" ]
0 of 0array:1 [▶ "id" => "95364" ]
0 of 0array:19 [▶ "cookie" => array:1 [▶ 0 => "XSRF-TOKEN=eyJpdiI6IkdWMmhFSnR5U2hwWjl5UHBHK0FjNUE9PSIsInZhbHVlIjoiamFCbVhqa1Y1NFZwMnlybUdtd3NYUFdzTnFZQXRoTm9wOGtna2RLckd6RW9tSXpaWHV6WDV6aE5zXC9RYTFWWDUiLCJtYWMiOiJiN2RlZmRlMzJjOWQ0Y2M5NWFkYTA5NjgxNTJlZDA1NDc0YjZiMTQ2ZGQwZjJiYmYzZTZhZGNjYzA2ZTk1YmRlIn0%3D; laravel_session=eyJpdiI6InhCekhtSjRQejZcL1B6aVJLZGdvZ0d3PT0iLCJ2YWx1ZSI6IkFLdE9cL24yeHp6SGRNaTdOQWh4a01BOEt1bHJTT1MzMFdaVyt1UTJyWUE5cDMwMkpVQ2FaazQreUJcL01OVjVpcW93dGVCNmxKYm5abkZnZ09TZVI4WmplZUdsR3p1Y0xVTDR4d3FTZjlVZGxQYWlRVUxiZkpTQ0U3d3d5UVBOdlwvIiwibWFjIjoiY2FiMTQ4ZGNmNGQyZGQzMDRmMzU1MjNlMzc5YmIyODRiMTJiNWYyYjJhNTZiODBkMDU2YTUxMzk3OWJlMTcwOSJ9 ◀XSRF-TOKEN=eyJpdiI6IkdWMmhFSnR5U2hwWjl5UHBHK0FjNUE9PSIsInZhbHVlIjoiamFCbVhqa1Y1NFZwMnlybUdtd3NYUFdzTnFZQXRoTm9wOGtna2RLckd6RW9tSXpaWHV6WDV6aE5zXC9RYTFWWDUiLCJtY ▶" ] "accept-encoding" => array:1 [▶ 0 => "gzip, deflate, br, zstd" ] "referer" => array:1 [▶ 0 => "https://dev.avtoshina34.ru/catalog/tyres/michelin/95364?page=6" ] "sec-fetch-dest" => array:1 [▶ 0 => "empty" ] "sec-fetch-mode" => array:1 [▶ 0 => "cors" ] "sec-fetch-site" => array:1 [▶ 0 => "same-origin" ] "sec-ch-ua-mobile" => array:1 [▶ 0 => "?0" ] "sec-ch-ua" => array:1 [▶ 0 => ""Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"" ] "accept" => array:1 [▶ 0 => "text/html, */*; q=0.01" ] "user-agent" => array:1 [▶ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "x-requested-with" => array:1 [▶ 0 => "XMLHttpRequest" ] "x-csrf-token" => array:1 [▶ 0 => "zlyIEpAdQkxqRzqq2AiquZ6zH7WoSNCpxZDjf94G" ] "sec-ch-ua-platform" => array:1 [▶ 0 => ""Windows"" ] "cache-control" => array:1 [▶ 0 => "no-cache" ] "pragma" => array:1 [▶ 0 => "no-cache" ] "connection" => array:1 [▶ 0 => "keep-alive" ] "host" => array:1 [▶ 0 => "dev.avtoshina34.ru" ] "content-length" => array:1 [▶ 0 => "" ] "content-type" => array:1 [▶ 0 => "" ] ]
0 of 0array:43 [▶ "USER" => "www-data" "HOME" => "/var/www" "HTTP_COOKIE" => "XSRF-TOKEN=eyJpdiI6IkdWMmhFSnR5U2hwWjl5UHBHK0FjNUE9PSIsInZhbHVlIjoiamFCbVhqa1Y1NFZwMnlybUdtd3NYUFdzTnFZQXRoTm9wOGtna2RLckd6RW9tSXpaWHV6WDV6aE5zXC9RYTFWWDUiLCJtYWMiOiJiN2RlZmRlMzJjOWQ0Y2M5NWFkYTA5NjgxNTJlZDA1NDc0YjZiMTQ2ZGQwZjJiYmYzZTZhZGNjYzA2ZTk1YmRlIn0%3D; laravel_session=eyJpdiI6InhCekhtSjRQejZcL1B6aVJLZGdvZ0d3PT0iLCJ2YWx1ZSI6IkFLdE9cL24yeHp6SGRNaTdOQWh4a01BOEt1bHJTT1MzMFdaVyt1UTJyWUE5cDMwMkpVQ2FaazQreUJcL01OVjVpcW93dGVCNmxKYm5abkZnZ09TZVI4WmplZUdsR3p1Y0xVTDR4d3FTZjlVZGxQYWlRVUxiZkpTQ0U3d3d5UVBOdlwvIiwibWFjIjoiY2FiMTQ4ZGNmNGQyZGQzMDRmMzU1MjNlMzc5YmIyODRiMTJiNWYyYjJhNTZiODBkMDU2YTUxMzk3OWJlMTcwOSJ9 ◀XSRF-TOKEN=eyJpdiI6IkdWMmhFSnR5U2hwWjl5UHBHK0FjNUE9PSIsInZhbHVlIjoiamFCbVhqa1Y1NFZwMnlybUdtd3NYUFdzTnFZQXRoTm9wOGtna2RLckd6RW9tSXpaWHV6WDV6aE5zXC9RYTFWWDUiLCJtY ▶" "HTTP_ACCEPT_ENCODING" => "gzip, deflate, br, zstd" "HTTP_REFERER" => "https://dev.avtoshina34.ru/catalog/tyres/michelin/95364?page=6" "HTTP_SEC_FETCH_DEST" => "empty" "HTTP_SEC_FETCH_MODE" => "cors" "HTTP_SEC_FETCH_SITE" => "same-origin" "HTTP_SEC_CH_UA_MOBILE" => "?0" "HTTP_SEC_CH_UA" => ""Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"" "HTTP_ACCEPT" => "text/html, */*; q=0.01" "HTTP_USER_AGENT" => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" "HTTP_X_REQUESTED_WITH" => "XMLHttpRequest" "HTTP_X_CSRF_TOKEN" => "zlyIEpAdQkxqRzqq2AiquZ6zH7WoSNCpxZDjf94G" "HTTP_SEC_CH_UA_PLATFORM" => ""Windows"" "HTTP_CACHE_CONTROL" => "no-cache" "HTTP_PRAGMA" => "no-cache" "HTTP_CONNECTION" => "keep-alive" "HTTP_HOST" => "dev.avtoshina34.ru" "SCRIPT_FILENAME" => "/var/www/avtoshina_beta/public/index.php" "REDIRECT_STATUS" => "200" "SERVER_NAME" => "dev.avtoshina34.ru" "SERVER_PORT" => "443" "SERVER_ADDR" => "89.223.120.242" "REMOTE_PORT" => "35539" "REMOTE_ADDR" => "216.73.216.57" "SERVER_SOFTWARE" => "nginx/1.14.0" "GATEWAY_INTERFACE" => "CGI/1.1" "HTTPS" => "on" "REQUEST_SCHEME" => "https" "SERVER_PROTOCOL" => "HTTP/1.1" "DOCUMENT_ROOT" => "/var/www/avtoshina_beta/public" "DOCUMENT_URI" => "/index.php" "REQUEST_URI" => "/catalog/getPromoBlock?id=95364" "SCRIPT_NAME" => "/index.php" "CONTENT_LENGTH" => "" "CONTENT_TYPE" => "" "REQUEST_METHOD" => "GET" "QUERY_STRING" => "id=95364" "FCGI_ROLE" => "RESPONDER" "PHP_SELF" => "/index.php" "REQUEST_TIME_FLOAT" => 1761938856.0922 "REQUEST_TIME" => 1761938856 ]
0 of 0array:2 [▶ "XSRF-TOKEN" => null "laravel_session" => "Mq8GASZkJ9ouXjLZWIlknPcvTFKq2JT6H97mEzFJ" ]
0 of 0array:5 [▶ "cache-control" => array:1 [▶ 0 => "no-cache, private" ] "date" => array:1 [▶ 0 => "Fri, 31 Oct 2025 19:27:36 GMT" ] "content-type" => array:1 [▶ 0 => "text/html; charset=UTF-8" ] "set-cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6Ijh5RWxtU3JJVHdMUTFMekR4MGNXcHc9PSIsInZhbHVlIjoibWJ2U1NZN2ZJRTF6K20wN09tUUV5QWhlTis0azdsXC9Zdk45R3lOdFI3T3VJNFoyK3Vvckl2aFo4XC80ZHZhS24zIiwibWFjIjoiNWI0ZTc0MThkYzVlMGI5MGVhYzJkYzllZjczY2JjYmI5ZjRkN2QwYmMxYTAwZDJjOGIzMTM5NDcxOTg5NjM1MiJ9; expires=Fri, 31-Oct-2025 21:27:36 GMT; Max-Age=7200; path=/ ◀XSRF-TOKEN=eyJpdiI6Ijh5RWxtU3JJVHdMUTFMekR4MGNXcHc9PSIsInZhbHVlIjoibWJ2U1NZN2ZJRTF6K20wN09tUUV5QWhlTis0azdsXC9Zdk45R3lOdFI3T3VJNFoyK3Vvckl2aFo4XC80ZHZhS24zIiwib ▶" 1 => "laravel_session=eyJpdiI6IkxuQkd6U3VPcDUxZlppckMzQVp1OFE9PSIsInZhbHVlIjoiZUt3NzZhQ2JMYWE1ZFpTK2dLRXRqV3lxZDNaUnhBQ2hLMSs4YlwvWWVEWDN5MklHczdsV2V2M0QrUER1V1RYOFwvUnNCNFNGU0gzTnpUM1pBQ1RxR1E3SUYxb1pKM2xXMVpmTVFIRkNyKzhiVWxheWI3R2pBMGl5c0NVbzJ4NGlCRSIsIm1hYyI6IjdiNzAwMDhmZjZjZGJiOGEzMjQ1NzBkNzFkNGU5NmQxY2E4MTFhOWE2OTRjYzIyY2NiNDgwZmQ2ZDA3MDdlMWIifQ%3D%3D; expires=Fri, 31-Oct-2025 21:27:36 GMT; Max-Age=7200; path=/; httponly ◀laravel_session=eyJpdiI6IkxuQkd6U3VPcDUxZlppckMzQVp1OFE9PSIsInZhbHVlIjoiZUt3NzZhQ2JMYWE1ZFpTK2dLRXRqV3lxZDNaUnhBQ2hLMSs4YlwvWWVEWDN5MklHczdsV2V2M0QrUER1V1RYOFwv ▶" ] "Set-Cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6Ijh5RWxtU3JJVHdMUTFMekR4MGNXcHc9PSIsInZhbHVlIjoibWJ2U1NZN2ZJRTF6K20wN09tUUV5QWhlTis0azdsXC9Zdk45R3lOdFI3T3VJNFoyK3Vvckl2aFo4XC80ZHZhS24zIiwibWFjIjoiNWI0ZTc0MThkYzVlMGI5MGVhYzJkYzllZjczY2JjYmI5ZjRkN2QwYmMxYTAwZDJjOGIzMTM5NDcxOTg5NjM1MiJ9; expires=Fri, 31-Oct-2025 21:27:36 GMT; path=/ ◀XSRF-TOKEN=eyJpdiI6Ijh5RWxtU3JJVHdMUTFMekR4MGNXcHc9PSIsInZhbHVlIjoibWJ2U1NZN2ZJRTF6K20wN09tUUV5QWhlTis0azdsXC9Zdk45R3lOdFI3T3VJNFoyK3Vvckl2aFo4XC80ZHZhS24zIiwib ▶" 1 => "laravel_session=eyJpdiI6IkxuQkd6U3VPcDUxZlppckMzQVp1OFE9PSIsInZhbHVlIjoiZUt3NzZhQ2JMYWE1ZFpTK2dLRXRqV3lxZDNaUnhBQ2hLMSs4YlwvWWVEWDN5MklHczdsV2V2M0QrUER1V1RYOFwvUnNCNFNGU0gzTnpUM1pBQ1RxR1E3SUYxb1pKM2xXMVpmTVFIRkNyKzhiVWxheWI3R2pBMGl5c0NVbzJ4NGlCRSIsIm1hYyI6IjdiNzAwMDhmZjZjZGJiOGEzMjQ1NzBkNzFkNGU5NmQxY2E4MTFhOWE2OTRjYzIyY2NiNDgwZmQ2ZDA3MDdlMWIifQ%3D%3D; expires=Fri, 31-Oct-2025 21:27:36 GMT; path=/; httponly ◀laravel_session=eyJpdiI6IkxuQkd6U3VPcDUxZlppckMzQVp1OFE9PSIsInZhbHVlIjoiZUt3NzZhQ2JMYWE1ZFpTK2dLRXRqV3lxZDNaUnhBQ2hLMSs4YlwvWWVEWDN5MklHczdsV2V2M0QrUER1V1RYOFwv ▶" ] ]
0 of 0array:4 [▶ "_token" => "528gGeXYe3ij8cWkjRodT6AaWgu8HzdCzMF5G7sT" "_previous" => array:1 [▶ "url" => "https://dev.avtoshina34.ru/catalog/winter-tyres/pirelli/393443?page=11" ] "PHPDEBUGBAR_STACK_DATA" => [] "_flash" => array:2 [▶ "old" => [] "new" => [] ] ]

 
                             
                                 
                         
                                 
                                 
                                 
                                 
             
                         
                         
                 
                     
                     
                     
                     
                     
                     
                     
                     
         
         
    