Под заказ: >20
Терминал доступный
При оплате картой взимается комиссия 1%
Ширина: | 265 |
Высота: | 60 |
Диаметр: | 18 |
Индекс скорости: | Q |
Сезонность: | Зимняя |
Шипы: | Не шипованная |
Hankook DynaPro I*Cept X RW10 265/60 R18 110T
Marshal WinterCraft SUV Ice WS51 265/60 R18 114T
Gislaved Soft Frost 200 SUV 265/60 R18 114T
Введите свой номер и мы перезвоним Вам
Товар был добавлен в корзину. Вы можете продолжить покупки или перейти к оформлению заказа
Вы нашли этот товар дешевле? Расскажите об этом
Условия акции:
Необходимо предоставить ссылку на сайт с данным товаром и конкурент должен быть из
Волгограда.
Чтобы избежать томительного ожидания в очереди около шиномонтажа Вы можете предварительно записаться у нас. Менеджер свяжется с Вами и уточнит все детали.
1 x Application (98.9%) | 861.54ms |
1 x Booting (1.09%) | 9.45ms |
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` asc
560μs/app/Models/Product/Category.php:158avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `car_manufacturers` order by `name` asc
320μsmiddleware::client:22avtoshina_betaMetadata | |
---|---|
Hints |
|
Backtrace |
|
select * from `seo_redirects` where `page_from` = 'catalog/getPromoBlock' limit 1
300μs/app/Models/Redirect.php:33avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `title`, `h1`, `description`, `keywords` from `seo` where `page_url` = 'catalog/getPromoBlock' limit 1
240μs/app/Models/Seo.php:36avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
180μs/app/Models/Product/Product.php:1323avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where `id` = '244287' limit 1
620μs/app/Models/Product/Product.php:1240avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `tyres` where `product_id` = '244287' limit 1
560μs/app/Models/Product/Product.php:1246avtoshina_betaMetadata | |
---|---|
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` = 18 and `tyres`.`width` = 265 and `tyres`.`height` = 60 and `tyres`.`season` = 1 and `tyres`.`is_spike` = 0
800μs/app/Models/Product/Product.php:1256avtoshina_betaMetadata | |
---|---|
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` = 18 and `tyres`.`width` = 265 and `tyres`.`height` = 60 and `tyres`.`season` = 1 and `tyres`.`is_spike` = 0 and `product`.`id` <> '244287' limit 5
600ms/app/Models/Product/Product.php:1295avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `product_images` where `product_id` in (38556, 41405, 81872, 84093, 95538)
1.67ms/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `season` from `tyres` where `product_id` in (38556, 41405, 81872, 84093, 95538)
360μs/app/Libraries/ProductHelper.php:33avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `product_id`, `model`, `width`, `height`, `diameter`, `speed_index`, `is_spike` from `tyres` where `product_id` in (38556, 41405, 81872, 84093, 95538)
220μs/app/Libraries/ProductHelper.php:36avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where (`id` = 38556) limit 1
460μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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 (38556)
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (35, 39, 42, 47)
520μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3, 7, 12, 14) and `images`.`imageable_type` = 'App\Models\PromoTag'
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
570μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 41405) limit 1
300μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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 (41405)
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (35, 39, 42, 45)
810μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3, 7, 12, 17) and `images`.`imageable_type` = 'App\Models\PromoTag'
280μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
200μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 81872) limit 1
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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 (81872)
170μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
160μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
180μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 84093) limit 1
170μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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 (84093)
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (35, 39, 42, 45)
750μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3, 7, 12, 17) and `images`.`imageable_type` = 'App\Models\PromoTag'
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
270μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 95538) limit 1
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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 (95538)
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
560μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (2, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
290μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
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 (38556, 41405, 81872, 84093, 95538) and `product_store`.`quantity` > 0 and `product_store`.`price` > 0 order by `minprice` asc
400μs/app/Libraries/ProductHelper.php:93avtoshina_betaMetadata | |
---|---|
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` = 38556 order by `suppliers`.`type` desc
290μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'ha-7858' and `supplier_id` = 13) and `quantity` > 0 limit 1
210μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 38556 and `supplier_id` = 13)
190μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '76359' and `supplier_id` = 2) and `quantity` > 0 limit 1
160μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '835431' and `supplier_id` = 10) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1023390' and `supplier_id` = 11) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 38556 and `supplier_id` = 11)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '113134' and `supplier_id` = 9) and `quantity` > 0 limit 1
260μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 38556 and `supplier_id` = 9)
170μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1023390' and `supplier_id` = 5) and `quantity` > 0 limit 1
200μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 38556 and `supplier_id` = 5)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '000075522' and `supplier_id` = 4) and `quantity` > 0 limit 1
160μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 38556 and `supplier_id` = 4)
230μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '27228' and `supplier_id` = 1) and `quantity` > 0 limit 1
160μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 38556 and `supplier_id` = 1)
270μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` = 41405 order by `suppliers`.`type` desc
740μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '76960' and `supplier_id` = 2) and `quantity` > 0 limit 1
430μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '831572' and `supplier_id` = 10) and `quantity` > 0 limit 1
550μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '87372300550' and `supplier_id` = 8) and `quantity` > 0 limit 1
330μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 41405 and `supplier_id` = 8)
300μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '844003885' and `supplier_id` = 9) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 41405 and `supplier_id` = 9)
180μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` = 81872 order by `suppliers`.`type` desc
350μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '807364' and `supplier_id` = 1) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '000061183' and `supplier_id` = 4) and `quantity` > 0 limit 1
210μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '0348185' and `supplier_id` = 5) and `quantity` > 0 limit 1
290μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 81872 and `supplier_id` = 5)
260μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '807364' and `supplier_id` = 10) and `quantity` > 0 limit 1
210μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '0348185' and `supplier_id` = 11) and `quantity` > 0 limit 1
200μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 81872 and `supplier_id` = 11)
170μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` = 84093 order by `suppliers`.`type` desc
240μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '607333' and `supplier_id` = 5) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '607333' and `supplier_id` = 11) and `quantity` > 0 limit 1
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 84093 and `supplier_id` = 11)
180μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` = 95538 order by `suppliers`.`type` desc
250μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'T430487' and `supplier_id` = 11) and `quantity` > 0 limit 1
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 95538 and `supplier_id` = 11)
170μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (68, 83, 76, 65, 64)
190μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
340μs/app/Models/Product/Product.php:1323avtoshina_betaMetadata | |
---|---|
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 15
770μs/app/Models/Product/Product.php:1197avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 8002) limit 1
330μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (39, 42)
610μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 8120) limit 1
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
210μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 356988) limit 1
230μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
360μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
230μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
220μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 357335) limit 1
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
300μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
340μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
260μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422430) limit 1
280μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
290μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
350μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
210μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422442) limit 1
300μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
330μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
330μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
280μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422786) limit 1
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
370μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
350μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
220μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422881) limit 1
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
320μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
270μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 490215) limit 1
320μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (39, 42)
690μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'
300μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
240μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 490216) limit 1
230μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
300μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
290μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
280μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522537) limit 1
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
310μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
310μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522597) limit 1
320μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
600μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
310μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
220μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522598) limit 1
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
490μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:52' and `to` >= '2025-01-31 05:50:52'
250μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522910) limit 1
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
340μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
330μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
520μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522921) limit 1
340μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
280μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
310μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
330μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
290μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
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` asc
440μs/app/Libraries/ProductHelper.php:93avtoshina_betaMetadata | |
---|---|
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` desc
260μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
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 1
280μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 8002 and `supplier_id` = 13)
210μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
250μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
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 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 8120 and `supplier_id` = 13)
190μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
260μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS158817' and `supplier_id` = 5) and `quantity` > 0 limit 1
220μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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 1
200μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 356988 and `supplier_id` = 11)
200μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
250μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
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 1
210μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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 1
230μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 357335 and `supplier_id` = 12)
200μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS209646' and `supplier_id` = 5) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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 1
270μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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` desc
330μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221916' and `supplier_id` = 5) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 5)
300μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221916' and `supplier_id` = 11) and `quantity` > 0 limit 1
210μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 11)
240μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '000000571' and `supplier_id` = 4) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 4)
210μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
260μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221899' and `supplier_id` = 5) and `quantity` > 0 limit 1
210μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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 1
200μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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 1
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422442 and `supplier_id` = 11)
170μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '137556' and `supplier_id` = 9) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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` desc
240μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221893' and `supplier_id` = 5) and `quantity` > 0 limit 1
260μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422786 and `supplier_id` = 5)
190μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221893' and `supplier_id` = 11) and `quantity` > 0 limit 1
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422786 and `supplier_id` = 11)
170μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
230μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221898' and `supplier_id` = 5) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422881 and `supplier_id` = 11)
190μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
240μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
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 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 490215 and `supplier_id` = 13)
190μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '000088351' and `supplier_id` = 4) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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` desc
220μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
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 1
210μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 490216 and `supplier_id` = 13)
170μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
240μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1098050' and `supplier_id` = 10) and `quantity` > 0 limit 1
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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 1
170μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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 1
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '88254384560' and `supplier_id` = 8) and `quantity` > 0 limit 1
200μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522537 and `supplier_id` = 8)
200μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` = 522597 order by `suppliers`.`type` desc
240μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS500776' and `supplier_id` = 5) and `quantity` > 0 limit 1
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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 1
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522597 and `supplier_id` = 11)
200μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
250μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS503030' and `supplier_id` = 5) and `quantity` > 0 limit 1
340μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 5)
230μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS503030' and `supplier_id` = 11) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 11)
150μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00014836' and `supplier_id` = 4) and `quantity` > 0 limit 1
160μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 4)
260μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '81121' and `supplier_id` = 2) and `quantity` > 0 limit 1
170μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 2)
150μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
290μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
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 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522910 and `supplier_id` = 13)
190μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00007200' and `supplier_id` = 4) and `quantity` > 0 limit 1
360μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522910 and `supplier_id` = 4)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS083584' and `supplier_id` = 5) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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 1
160μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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` desc
240μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS229143' and `supplier_id` = 5) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522921 and `supplier_id` = 5)
330μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS229143' and `supplier_id` = 11) and `quantity` > 0 limit 1
220μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522921 and `supplier_id` = 11)
280μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
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)
240μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
210μs/app/Models/Product/Product.php:1323avtoshina_betaMetadata | |
---|---|
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 5
860μs/app/Models/Product/Product.php:1226avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `product_images` where `product_id` in (540869, 40834, 517173, 15438, 527235)
250μs/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `season` from `tyres` where `product_id` in (540869, 40834, 517173, 15438, 527235)
290μs/app/Libraries/ProductHelper.php:33avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `product_id`, `model`, `width`, `height`, `diameter`, `speed_index`, `is_spike` from `tyres` where `product_id` in (540869, 40834, 517173, 15438, 527235)
290μs/app/Libraries/ProductHelper.php:36avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where (`id` = 540869) limit 1
490μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
280μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
680μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (2, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
240μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 40834) limit 1
310μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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 (40834)
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 42, 44)
600μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (2, 3, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'
230μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
320μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 517173) limit 1
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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 (517173)
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
570μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (2, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'
290μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
240μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 15438) limit 1
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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 (15438)
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
540μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (2, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'
400μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
250μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 527235) limit 1
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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 (527235)
290μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
690μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (2, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'
290μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
220μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
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, 40834, 517173, 15438, 527235) and `product_store`.`quantity` > 0 and `product_store`.`price` > 0 order by `minprice` asc
350μs/app/Libraries/ProductHelper.php:93avtoshina_betaMetadata | |
---|---|
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` desc
290μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00025485' and `supplier_id` = 4) and `quantity` > 0 limit 1
220μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 540869 and `supplier_id` = 4)
250μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` = 40834 order by `suppliers`.`type` desc
270μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '75248' and `supplier_id` = 2) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 40834 and `supplier_id` = 2)
220μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'T430693' and `supplier_id` = 11) and `quantity` > 0 limit 1
220μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '830805' and `supplier_id` = 10) and `quantity` > 0 limit 1
200μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
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` = 517173 order by `suppliers`.`type` desc
250μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1031926' and `supplier_id` = 10) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS32523' and `supplier_id` = 11) and `quantity` > 0 limit 1
210μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '114136060512' and `supplier_id` = 8) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 517173 and `supplier_id` = 8)
200μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` = 15438 order by `suppliers`.`type` desc
290μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '46815' and `supplier_id` = 2) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '112117925727' and `supplier_id` = 8) and `quantity` > 0 limit 1
270μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 15438 and `supplier_id` = 8)
210μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` = 527235 order by `suppliers`.`type` desc
220μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS32663' and `supplier_id` = 5) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS32663' and `supplier_id` = 11) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '93882104144' and `supplier_id` = 8) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 527235 and `supplier_id` = 8)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (64, 64, 64, 64, 64)
260μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
230μs/app/Models/Product/Product.php:1323avtoshina_betaMetadata | |
---|---|
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 5
830μs/app/Models/Product/Product.php:1226avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `product_images` where `product_id` in (774840, 774839, 774838, 774837, 774836)
220μs/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
260μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774840) limit 1
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (1) and `images`.`imageable_type` = 'App\Models\PromoTag'
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
240μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
220μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774839) limit 1
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
280μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
200μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
190μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774838) limit 1
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
310μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (1) and `images`.`imageable_type` = 'App\Models\PromoTag'
170μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
210μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
200μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774837) limit 1
230μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
680μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
330μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (1) and `images`.`imageable_type` = 'App\Models\PromoTag'
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
200μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774836) limit 1
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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)
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-01-31 05:50:53' and `to` >= '2025-01-31 05:50:53'
210μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
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` asc
360μs/app/Libraries/ProductHelper.php:93avtoshina_betaMetadata | |
---|---|
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` desc
240μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
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 1
210μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774840 and `supplier_id` = 12)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
300μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
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 1
230μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774839 and `supplier_id` = 12)
210μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
220μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
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 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774838 and `supplier_id` = 12)
150μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
190μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
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 1
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774837 and `supplier_id` = 12)
150μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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` desc
210μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
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 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774836 and `supplier_id` = 12)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
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_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
200
0 of 0array:1 [▶ "id" => "244287" ]
0 of 0array:1 [▶ "id" => "244287" ]
0 of 0array:19 [▶ "cookie" => array:1 [▶ 0 => "XSRF-TOKEN=eyJpdiI6ImdYYktMK1wvYnNqMGFaVUJ6d2RDWXpBPT0iLCJ2YWx1ZSI6ImU1VHQ5U2MxXC9aZ05rRW9iWkpOdkIyZ05jZlkwRDlWTjdJcmp0WXNmSVlWNUlwWmk1OFczTlFqb0tKS2krZUV2IiwibWFjIjoiZmYzODk2MjJkZTk3NDA3MDEwMGRiZTkxZjMzMDQxMGM0MGVhYjc4ZTUxMTA1NTJlMWY0NGRjYTRiNzY0NDMwZCJ9; laravel_session=eyJpdiI6Ik1tYlwvQzZlc1dDT044Nkh4UG1ESXBBPT0iLCJ2YWx1ZSI6Ik1aZU9wRmR6Nm1HdGNFRDdHaWNJUXZ3aTdwVEN4YTJHd201eVV2QUQzejV4ZEtNcWZzK0dzVFY2dnI3Z1NJRVkyczY2VjdFYkd0QmJSUTlTRUJ5Sm1xRG94Umtxcmd0cnFYQ25lQXBcL2NpY0RpK0M1WTVUaUNJOVJxK1FiVVdcLzQiLCJtYWMiOiIyNDJjMDg3MWUyMjM5NDhiYjU0NTY1MjI3NDhlMWM5N2Q2YTM4MjI2ZjE0NmJlMzQ2OWVjODBlMzM2YTg5ZmRmIn0%3D ◀XSRF-TOKEN=eyJpdiI6ImdYYktMK1wvYnNqMGFaVUJ6d2RDWXpBPT0iLCJ2YWx1ZSI6ImU1VHQ5U2MxXC9aZ05rRW9iWkpOdkIyZ05jZlkwRDlWTjdJcmp0WXNmSVlWNUlwWmk1OFczTlFqb0tKS2krZUV2Iiwib ▶" ] "accept-encoding" => array:1 [▶ 0 => "gzip, deflate, br, zstd" ] "referer" => array:1 [▶ 0 => "https://dev.avtoshina34.ru/catalog/winter-tyres/nexen/244287" ] "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 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "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 => "UdHposTONyQh44MuyuSBVuWlOApoeyAK10LqvWLV" ] "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=eyJpdiI6ImdYYktMK1wvYnNqMGFaVUJ6d2RDWXpBPT0iLCJ2YWx1ZSI6ImU1VHQ5U2MxXC9aZ05rRW9iWkpOdkIyZ05jZlkwRDlWTjdJcmp0WXNmSVlWNUlwWmk1OFczTlFqb0tKS2krZUV2IiwibWFjIjoiZmYzODk2MjJkZTk3NDA3MDEwMGRiZTkxZjMzMDQxMGM0MGVhYjc4ZTUxMTA1NTJlMWY0NGRjYTRiNzY0NDMwZCJ9; laravel_session=eyJpdiI6Ik1tYlwvQzZlc1dDT044Nkh4UG1ESXBBPT0iLCJ2YWx1ZSI6Ik1aZU9wRmR6Nm1HdGNFRDdHaWNJUXZ3aTdwVEN4YTJHd201eVV2QUQzejV4ZEtNcWZzK0dzVFY2dnI3Z1NJRVkyczY2VjdFYkd0QmJSUTlTRUJ5Sm1xRG94Umtxcmd0cnFYQ25lQXBcL2NpY0RpK0M1WTVUaUNJOVJxK1FiVVdcLzQiLCJtYWMiOiIyNDJjMDg3MWUyMjM5NDhiYjU0NTY1MjI3NDhlMWM5N2Q2YTM4MjI2ZjE0NmJlMzQ2OWVjODBlMzM2YTg5ZmRmIn0%3D ◀XSRF-TOKEN=eyJpdiI6ImdYYktMK1wvYnNqMGFaVUJ6d2RDWXpBPT0iLCJ2YWx1ZSI6ImU1VHQ5U2MxXC9aZ05rRW9iWkpOdkIyZ05jZlkwRDlWTjdJcmp0WXNmSVlWNUlwWmk1OFczTlFqb0tKS2krZUV2Iiwib ▶" "HTTP_ACCEPT_ENCODING" => "gzip, deflate, br, zstd" "HTTP_REFERER" => "https://dev.avtoshina34.ru/catalog/winter-tyres/nexen/244287" "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" => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" "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" => "UdHposTONyQh44MuyuSBVuWlOApoeyAK10LqvWLV" "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" => "29892" "REMOTE_ADDR" => "18.220.55.131" "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=244287" "SCRIPT_NAME" => "/index.php" "CONTENT_LENGTH" => "" "CONTENT_TYPE" => "" "REQUEST_METHOD" => "GET" "QUERY_STRING" => "id=244287" "FCGI_ROLE" => "RESPONDER" "PHP_SELF" => "/index.php" "REQUEST_TIME_FLOAT" => 1738291852.2716 "REQUEST_TIME" => 1738291852 ]
0 of 0array:2 [▶ "XSRF-TOKEN" => null "laravel_session" => "2Pw4b1oGNVcRPNIOcqSJXqdUzn8fli1s13irLrtu" ]
0 of 0array:5 [▶ "cache-control" => array:1 [▶ 0 => "no-cache, private" ] "date" => array:1 [▶ 0 => "Fri, 31 Jan 2025 02:50:53 GMT" ] "content-type" => array:1 [▶ 0 => "text/html; charset=UTF-8" ] "set-cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6Ik1Yc3RpaG1BR0pFZmIwaE96b1ZTaUE9PSIsInZhbHVlIjoiUlZENW5PNUZKK1hMVXFxc0pJU1RQbW5TdHhiaFI5R1FpcFwvYWQ5eDd4NnVUVU41RzM2amRtXC9HXC9nSDBXTnArNyIsIm1hYyI6IjlkMGUzMGQyYTVjYzllNTJkOGY3YzkzYzAwNTFjMDg4ZTJjOTFhYjIwNzBiOWFlZWU4ZGQwNzZmMzAzNWVjOTgifQ%3D%3D; expires=Fri, 31-Jan-2025 04:50:53 GMT; Max-Age=7200; path=/ ◀XSRF-TOKEN=eyJpdiI6Ik1Yc3RpaG1BR0pFZmIwaE96b1ZTaUE9PSIsInZhbHVlIjoiUlZENW5PNUZKK1hMVXFxc0pJU1RQbW5TdHhiaFI5R1FpcFwvYWQ5eDd4NnVUVU41RzM2amRtXC9HXC9nSDBXTnArNyIsI ▶" 1 => "laravel_session=eyJpdiI6Ind4dm5XZGIrYnd2Z0txdUlyZzE2QWc9PSIsInZhbHVlIjoiYlRCOU5jK0FkNkdYdFZHaUtxVTRnMVhUR2pPcnJ5K05BYXhodFo5WDZxdHBzbm0yRGFuMjI4VEVZRlJHXC9LTlwvQzhXR3o3K2dvZWJWNk1nOVhLdXJIQ3hzdlJWXC9McEcwUk1TRG5ZTEdhWG04UE1WdDY5dFZZR1ltcENPMWFnSFEiLCJtYWMiOiJiYmE2OWZjNGM3MGQ2ZTNjMmMzYjkzMWY2ZmU3YmQ2MGE3MDU5OGM0MGE4YTYzNTczNzcwNDk3MWNmMTk0ZTkyIn0%3D; expires=Fri, 31-Jan-2025 04:50:53 GMT; Max-Age=7200; path=/; httponly ◀laravel_session=eyJpdiI6Ind4dm5XZGIrYnd2Z0txdUlyZzE2QWc9PSIsInZhbHVlIjoiYlRCOU5jK0FkNkdYdFZHaUtxVTRnMVhUR2pPcnJ5K05BYXhodFo5WDZxdHBzbm0yRGFuMjI4VEVZRlJHXC9LTlwv ▶" ] "Set-Cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6Ik1Yc3RpaG1BR0pFZmIwaE96b1ZTaUE9PSIsInZhbHVlIjoiUlZENW5PNUZKK1hMVXFxc0pJU1RQbW5TdHhiaFI5R1FpcFwvYWQ5eDd4NnVUVU41RzM2amRtXC9HXC9nSDBXTnArNyIsIm1hYyI6IjlkMGUzMGQyYTVjYzllNTJkOGY3YzkzYzAwNTFjMDg4ZTJjOTFhYjIwNzBiOWFlZWU4ZGQwNzZmMzAzNWVjOTgifQ%3D%3D; expires=Fri, 31-Jan-2025 04:50:53 GMT; path=/ ◀XSRF-TOKEN=eyJpdiI6Ik1Yc3RpaG1BR0pFZmIwaE96b1ZTaUE9PSIsInZhbHVlIjoiUlZENW5PNUZKK1hMVXFxc0pJU1RQbW5TdHhiaFI5R1FpcFwvYWQ5eDd4NnVUVU41RzM2amRtXC9HXC9nSDBXTnArNyIsI ▶" 1 => "laravel_session=eyJpdiI6Ind4dm5XZGIrYnd2Z0txdUlyZzE2QWc9PSIsInZhbHVlIjoiYlRCOU5jK0FkNkdYdFZHaUtxVTRnMVhUR2pPcnJ5K05BYXhodFo5WDZxdHBzbm0yRGFuMjI4VEVZRlJHXC9LTlwvQzhXR3o3K2dvZWJWNk1nOVhLdXJIQ3hzdlJWXC9McEcwUk1TRG5ZTEdhWG04UE1WdDY5dFZZR1ltcENPMWFnSFEiLCJtYWMiOiJiYmE2OWZjNGM3MGQ2ZTNjMmMzYjkzMWY2ZmU3YmQ2MGE3MDU5OGM0MGE4YTYzNTczNzcwNDk3MWNmMTk0ZTkyIn0%3D; expires=Fri, 31-Jan-2025 04:50:53 GMT; path=/; httponly ◀laravel_session=eyJpdiI6Ind4dm5XZGIrYnd2Z0txdUlyZzE2QWc9PSIsInZhbHVlIjoiYlRCOU5jK0FkNkdYdFZHaUtxVTRnMVhUR2pPcnJ5K05BYXhodFo5WDZxdHBzbm0yRGFuMjI4VEVZRlJHXC9LTlwv ▶" ] ]
0 of 0array:4 [▶ "_token" => "UdHposTONyQh44MuyuSBVuWlOApoeyAK10LqvWLV" "_previous" => array:1 [▶ "url" => "https://dev.avtoshina34.ru/catalog/winter-tyres/nexen/244287" ] "PHPDEBUGBAR_STACK_DATA" => [] "_flash" => array:2 [▶ "old" => [] "new" => [] ] ]