Под заказ: >20
Терминал доступный
При оплате картой взимается комиссия 1%
Ширина: | 275 |
Высота: | 40 |
Диаметр: | 19 |
Индекс скорости: | V |
Сезонность: | Зимняя |
Шипы: | Не шипованная |
Pirelli Winter Sottozero II 275/40 R19 105V
Continental ContiWinterContact TS830 P 275/40 R19 101V
Pirelli Winter Sottozero III 275/40 R19 105V
Michelin Pilot Alpin PA4 275/40 R19 105W
Pirelli Winter Sottozero III 275/40 R19 101W
Введите свой номер и мы перезвоним Вам
Товар был добавлен в корзину. Вы можете продолжить покупки или перейти к оформлению заказа
Вы нашли этот товар дешевле? Расскажите об этом
Условия акции:
Необходимо предоставить ссылку на сайт с данным товаром и конкурент должен быть из
Волгограда.
Чтобы избежать томительного ожидания в очереди около шиномонтажа Вы можете предварительно записаться у нас. Менеджер свяжется с Вами и уточнит все детали.
1 x Application (99.02%) | 1.02s |
1 x Booting (0.97%) | 10.03ms |
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
550μ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
380μ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'
270μs/app/Models/Product/Product.php:1323avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where `id` = '244334' limit 1
590μs/app/Models/Product/Product.php:1240avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `tyres` where `product_id` = '244334' limit 1
410μ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` = 19 and `tyres`.`width` = 275 and `tyres`.`height` = 40 and `tyres`.`season` = 1 and `tyres`.`is_spike` = 0
710μ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` = 19 and `tyres`.`width` = 275 and `tyres`.`height` = 40 and `tyres`.`season` = 1 and `tyres`.`is_spike` = 0 and `product`.`id` <> '244334' limit 5
816ms/app/Models/Product/Product.php:1295avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `product_images` where `product_id` in (97126, 98269, 391991, 395552, 398381)
1.52ms/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `season` from `tyres` where `product_id` in (97126, 98269, 391991, 395552, 398381)
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 (97126, 98269, 391991, 395552, 398381)
180μs/app/Libraries/ProductHelper.php:36avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where (`id` = 97126) 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 (97126)
300μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
230μ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'
170μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
470μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 98269) 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 (98269)
230μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (35, 39, 42)
630μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3, 7, 12) 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-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
190μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 391991) 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 (391991)
170μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (35, 39, 42)
590μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3, 7, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
220μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 395552) 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 (395552)
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (35, 39, 42, 45)
730μ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'
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
210μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 398381) 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 (398381)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
180μ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-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
160μ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 (97126, 98269, 391991, 395552, 398381) and `product_store`.`quantity` > 0 and `product_store`.`price` > 0 order by `minprice` asc
280μ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` = 97126 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` = '1863200' and `supplier_id` = 11) 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` = '86776164006' and `supplier_id` = 8) 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` = 97126 and `supplier_id` = 8)
170μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '664653' and `supplier_id` = 5) 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` = '664653' and `supplier_id` = 10) and `quantity` > 0 limit 1
220μ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` = 98269 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` = '826406' 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` = 98269 and `supplier_id` = 5)
210μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '826406' and `supplier_id` = 10) 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` = 'УТ-00004327' and `supplier_id` = 9) 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` = 98269 and `supplier_id` = 9)
250μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '0355171' and `supplier_id` = 11) 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` = 98269 and `supplier_id` = 11)
130μ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` = 391991 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` = '832800' and `supplier_id` = 11) 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` = '832800' 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` = '2728900' 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` = 391991 and `supplier_id` = 5)
150μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '2728900' 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` = 391991 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` = '87409720429' and `supplier_id` = 8) and `quantity` > 0 limit 1
140μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 391991 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` = 395552 order by `suppliers`.`type` desc
280μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '701635' and `supplier_id` = 5) 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` = '672244' 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` = '100002' and `supplier_id` = 9) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 395552 and `supplier_id` = 9)
150μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '701635' and `supplier_id` = 11) 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` = 395552 and `supplier_id` = 11)
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` = 398381 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` = '690014' 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` = '690014' and `supplier_id` = 10) and `quantity` > 0 limit 1
140μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '86228513851' and `supplier_id` = 8) 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` = '110748' 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` = 398381 and `supplier_id` = 2)
220μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (71, 72, 71, 65, 71)
320μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
290μ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
530μ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)
220μs/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 8002) 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 (8002)
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (39, 42)
580μ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'
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
250μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 8120) 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 (8120)
150μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
190μ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'
320μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
200μ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)
170μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
230μ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-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
160μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 357335) limit 1
270μ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)
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
230μ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-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
210μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422430) limit 1
160μ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)
320μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
280μ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-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
220μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422442) 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 (422442)
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
200μ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-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
160μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422786) 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 (422786)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
230μ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'
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422881) limit 1
290μ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)
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
260μ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-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
280μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 490215) 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 (490215)
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (39, 42)
630μ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'
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
210μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 490216) 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 (490216)
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
180μ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-02-24 22:06:36' and `to` >= '2025-02-24 22:06:36'
220μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522537) 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 (522537)
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
230μ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-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
490μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522597) 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 (522597)
210μ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'
280μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522598) 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 (522598)
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
250μ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-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
170μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522910) 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 (522910)
210μ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'
150μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
220μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522921) 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 (522921)
280μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
230μ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-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
340μ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
320μ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
190μ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)
310μ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
370μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 8120 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` = 356988 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` = 'WHS158817' and `supplier_id` = 11) 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` = 356988 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` = 'WHS158817' and `supplier_id` = 5) and `quantity` > 0 limit 1
190μ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` = 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` = 12) and `quantity` > 0 limit 1
300μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 357335 and `supplier_id` = 12)
150μs/app/Models/Product/ProductStore.php:173avtoshina_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
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` = 'WHS209646' and `supplier_id` = 5) and `quantity` > 0 limit 1
130μ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
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` = 422430 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` = 'WHS221916' and `supplier_id` = 11) 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` = 422430 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` = '000000571' and `supplier_id` = 4) 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` = 422430 and `supplier_id` = 4)
190μ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` = 5) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 5)
130μ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
210μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '980860' and `supplier_id` = 10) 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` = 'WHS221899' and `supplier_id` = 11) 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` = 422442 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` = '137556' and `supplier_id` = 9) 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` = 'WHS221899' and `supplier_id` = 5) and `quantity` > 0 limit 1
190μ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
250μ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` = 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` = 422786 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` = 'WHS221893' and `supplier_id` = 5) 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` = 422786 and `supplier_id` = 5)
140μ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
310μ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` = 11) 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` = 422881 and `supplier_id` = 11)
230μs/app/Models/Product/ProductStore.php:173avtoshina_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_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
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-X40927' and `supplier_id` = 13) 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` = 490215 and `supplier_id` = 13)
160μ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
170μ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
190μ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
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 490216 and `supplier_id` = 13)
370μ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
340μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'УТ-00009432' and `supplier_id` = 9) 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` = '97086' and `supplier_id` = 2) 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` = '88254384560' and `supplier_id` = 8) 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` = 522537 and `supplier_id` = 8)
150μs/app/Models/Product/ProductStore.php:173avtoshina_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
170μ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` = 522597 order by `suppliers`.`type` desc
320μ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` = 11) 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` = 522597 and `supplier_id` = 11)
200μs/app/Models/Product/ProductStore.php:173avtoshina_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
150μ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` = 522598 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` = 'WHS503030' 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` = 522598 and `supplier_id` = 11)
140μ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)
160μ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
220μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 2)
130μ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` = 5) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 5)
140μ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
190μ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
270μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522910 and `supplier_id` = 13)
150μ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
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` = 'WHS083584' 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` = 'НФ-00007200' 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` = 522910 and `supplier_id` = 4)
130μ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` = 522921 order by `suppliers`.`type` desc
170μ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` = 11) and `quantity` > 0 limit 1
140μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522921 and `supplier_id` = 11)
180μ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` = 5) and `quantity` > 0 limit 1
140μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522921 and `supplier_id` = 5)
130μ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)
160μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
380μ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
740μs/app/Models/Product/Product.php:1226avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `product_images` where `product_id` in (527316, 527235, 526773, 525752, 40834)
340μs/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `season` from `tyres` where `product_id` in (527316, 527235, 526773, 525752, 40834)
210μ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 (527316, 527235, 526773, 525752, 40834)
170μs/app/Libraries/ProductHelper.php:36avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where (`id` = 527316) limit 1
270μ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 (527316)
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
670μ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'
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
170μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 527235) 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 (527235)
230μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
510μ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'
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
190μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 526773) limit 1
180μ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 (526773)
340μ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'
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
180μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 525752) 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 (525752)
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
510μ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'
230μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 40834) 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 (40834)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 42, 44)
620μ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'
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
320μ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 (527316, 527235, 526773, 525752, 40834) and `product_store`.`quantity` > 0 and `product_store`.`price` > 0 order by `minprice` asc
380μ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` = 527316 order by `suppliers`.`type` desc
280μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS32655' 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` = '93882096540' and `supplier_id` = 8) 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` = 527316 and `supplier_id` = 8)
150μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS32655' and `supplier_id` = 5) and `quantity` > 0 limit 1
190μ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` = 527235 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` = 'TS32663' and `supplier_id` = 11) 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` = '93882104144' and `supplier_id` = 8) 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` = 527235 and `supplier_id` = 8)
140μs/app/Models/Product/ProductStore.php:173avtoshina_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
140μ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` = 526773 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` = '93882125217' 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` = 526773 and `supplier_id` = 8)
360μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS32701' and `supplier_id` = 5) 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` = 525752 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` = '93882154935' and `supplier_id` = 8) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 525752 and `supplier_id` = 8)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS32741' and `supplier_id` = 5) and `quantity` > 0 limit 1
250μ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` = 40834 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` = 'T430693' and `supplier_id` = 11) 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` = '830805' and `supplier_id` = 10) and `quantity` > 0 limit 1
260μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '75248' and `supplier_id` = 2) 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` = 40834 and `supplier_id` = 2)
150μ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)
230μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
170μ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
590μs/app/Models/Product/Product.php:1226avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `product_images` where `product_id` in (774840, 774839, 774838, 774837, 774836)
300μs/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
280μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774840) limit 1
380μ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)
270μ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'
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
280μ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
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 (774839)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
220μ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-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
220μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
310μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774838) 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 (774838)
210μ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'
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
260μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
210μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774837) 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 (774837)
280μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
220μ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'
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
280μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
170μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774836) 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 (774836)
300μ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'
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-02-24 22:06:37' and `to` >= '2025-02-24 22:06:37'
170μ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
260μ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
270μ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
160μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774840 and `supplier_id` = 12)
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` = 774839 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` = 'zo-0589' and `supplier_id` = 12) 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` = 774839 and `supplier_id` = 12)
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` = 774838 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-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)
240μ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
340μ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
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774837 and `supplier_id` = 12)
140μ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
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-0401' and `supplier_id` = 12) 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` = 774836 and `supplier_id` = 12)
150μ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)
220μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
200
0 of 0array:1 [▶ "id" => "244334" ]
0 of 0array:1 [▶ "id" => "244334" ]
0 of 0array:19 [▶ "cookie" => array:1 [▶ 0 => "XSRF-TOKEN=eyJpdiI6IlEyQTJGbG9EQXZCXC8yb0t4SHB5bXR3PT0iLCJ2YWx1ZSI6IlNmUzAzZFBzTnl4OXBCZXpva1dHUnZSV0dBWnZJK3IwZlJYYkJpNEQ2eEhSXC9vQ3hPMmdxOTkzb1ZHY0VrSzZyIiwibWFjIjoiMmUyM2MxM2VkNjAwNWNhZDVkYWZiMjc1NDMyNzUyOGYyNTUxZWFiMjBmMGFjNTRiNDlkNmUzNTY3OWVhYjE5MSJ9; laravel_session=eyJpdiI6InJDSjE2VmFySXg1TkxsYXE2YWF1bUE9PSIsInZhbHVlIjoiSnFtSGRRdXhkcmNjUFNIQ2FQTlwvejZSVEdyVHdKS3dhVHQwa2JEaXJEZ29OQU0ydHFzUHRGS2JuMkl5bVJNNFY1b2g3WmxNTXJOTGlTaFBzWDJkajRvUmpXNWlJSVZyUEVZQjFVRG9hdWpOWitpY1wvellYT25sc3JWR3hNS3ZuZyIsIm1hYyI6ImE1YWM1NDYzYjhhNzk3N2ZlZDJiNjU2MDRiY2RlZGUwZGVlMmU5NDkwY2U1ZTFkYzFjYmY5YTZmMzRjNDQ1ZWQifQ%3D%3D ◀XSRF-TOKEN=eyJpdiI6IlEyQTJGbG9EQXZCXC8yb0t4SHB5bXR3PT0iLCJ2YWx1ZSI6IlNmUzAzZFBzTnl4OXBCZXpva1dHUnZSV0dBWnZJK3IwZlJYYkJpNEQ2eEhSXC9vQ3hPMmdxOTkzb1ZHY0VrSzZyIiwib ▶" ] "accept-encoding" => array:1 [▶ 0 => "gzip, deflate, br, zstd" ] "referer" => array:1 [▶ 0 => "https://dev.avtoshina34.ru/catalog/winter-tyres/nexen/244334?page=2" ] "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 => "fitwG1MVH2qCpk5rHO2k7Ori3fpBfpKBfPuaiDFY" ] "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=eyJpdiI6IlEyQTJGbG9EQXZCXC8yb0t4SHB5bXR3PT0iLCJ2YWx1ZSI6IlNmUzAzZFBzTnl4OXBCZXpva1dHUnZSV0dBWnZJK3IwZlJYYkJpNEQ2eEhSXC9vQ3hPMmdxOTkzb1ZHY0VrSzZyIiwibWFjIjoiMmUyM2MxM2VkNjAwNWNhZDVkYWZiMjc1NDMyNzUyOGYyNTUxZWFiMjBmMGFjNTRiNDlkNmUzNTY3OWVhYjE5MSJ9; laravel_session=eyJpdiI6InJDSjE2VmFySXg1TkxsYXE2YWF1bUE9PSIsInZhbHVlIjoiSnFtSGRRdXhkcmNjUFNIQ2FQTlwvejZSVEdyVHdKS3dhVHQwa2JEaXJEZ29OQU0ydHFzUHRGS2JuMkl5bVJNNFY1b2g3WmxNTXJOTGlTaFBzWDJkajRvUmpXNWlJSVZyUEVZQjFVRG9hdWpOWitpY1wvellYT25sc3JWR3hNS3ZuZyIsIm1hYyI6ImE1YWM1NDYzYjhhNzk3N2ZlZDJiNjU2MDRiY2RlZGUwZGVlMmU5NDkwY2U1ZTFkYzFjYmY5YTZmMzRjNDQ1ZWQifQ%3D%3D ◀XSRF-TOKEN=eyJpdiI6IlEyQTJGbG9EQXZCXC8yb0t4SHB5bXR3PT0iLCJ2YWx1ZSI6IlNmUzAzZFBzTnl4OXBCZXpva1dHUnZSV0dBWnZJK3IwZlJYYkJpNEQ2eEhSXC9vQ3hPMmdxOTkzb1ZHY0VrSzZyIiwib ▶" "HTTP_ACCEPT_ENCODING" => "gzip, deflate, br, zstd" "HTTP_REFERER" => "https://dev.avtoshina34.ru/catalog/winter-tyres/nexen/244334?page=2" "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" => "fitwG1MVH2qCpk5rHO2k7Ori3fpBfpKBfPuaiDFY" "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" => "15085" "REMOTE_ADDR" => "3.141.104.233" "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=244334" "SCRIPT_NAME" => "/index.php" "CONTENT_LENGTH" => "" "CONTENT_TYPE" => "" "REQUEST_METHOD" => "GET" "QUERY_STRING" => "id=244334" "FCGI_ROLE" => "RESPONDER" "PHP_SELF" => "/index.php" "REQUEST_TIME_FLOAT" => 1740423996.0906 "REQUEST_TIME" => 1740423996 ]
0 of 0array:2 [▶ "XSRF-TOKEN" => null "laravel_session" => "ytNCcej62Na1tB39T7yPHytGVoIzhHvIOy9KeQad" ]
0 of 0array:5 [▶ "cache-control" => array:1 [▶ 0 => "no-cache, private" ] "date" => array:1 [▶ 0 => "Mon, 24 Feb 2025 19:06:37 GMT" ] "content-type" => array:1 [▶ 0 => "text/html; charset=UTF-8" ] "set-cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6Im1EaUdab3pDdlBkYm5IODlSZE9QMWc9PSIsInZhbHVlIjoiUDFjN2ljcHVnbjF4QTh2cWNzUEF6eGVpUkRmZVQ0QzlSSXRqdjByK0pKSmZobWxFcHpsTHQzQ0F5NVdoOWpjQiIsIm1hYyI6IjIwYmIxNjI2ZjQ0ODdkZGJlZTZjYjU5YjQyMGMzMGVmYjQxZTM3YTRkY2ViNTI2ZGIxYTI3MWE4NDVhODE5YjYifQ%3D%3D; expires=Mon, 24-Feb-2025 21:06:37 GMT; Max-Age=7200; path=/ ◀XSRF-TOKEN=eyJpdiI6Im1EaUdab3pDdlBkYm5IODlSZE9QMWc9PSIsInZhbHVlIjoiUDFjN2ljcHVnbjF4QTh2cWNzUEF6eGVpUkRmZVQ0QzlSSXRqdjByK0pKSmZobWxFcHpsTHQzQ0F5NVdoOWpjQiIsIm1hY ▶" 1 => "laravel_session=eyJpdiI6InBwdzdBZlwvSEc5VmZqZDlDVnU0bGhBPT0iLCJ2YWx1ZSI6Ik1FdHM4UFo5RmJJTTNIUG9PM1YrUlNSR2puNFlZQ1p2YjJ0ekJzQmlJTW44ZHNuSUZ4OFpsMjVpMzhqU2hxMDhvb3hxa1RVNTh3WVFGR21TXC9Jdk5FWks1NGR3czFTbGFxNEpCSUtmcWFEeGNsS0lCXC9vY0ZiMHdNUm8wR3dxS0oiLCJtYWMiOiIxNTZlM2VmYmUyZmRlZDMxZDc0YzE0NjY0NzY3OWFiZGMzZDhhYmMwODA4MWIzZTQ3NDIzMmFlMmEzM2NiODEyIn0%3D; expires=Mon, 24-Feb-2025 21:06:37 GMT; Max-Age=7200; path=/; httponly ◀laravel_session=eyJpdiI6InBwdzdBZlwvSEc5VmZqZDlDVnU0bGhBPT0iLCJ2YWx1ZSI6Ik1FdHM4UFo5RmJJTTNIUG9PM1YrUlNSR2puNFlZQ1p2YjJ0ekJzQmlJTW44ZHNuSUZ4OFpsMjVpMzhqU2hxMDhv ▶" ] "Set-Cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6Im1EaUdab3pDdlBkYm5IODlSZE9QMWc9PSIsInZhbHVlIjoiUDFjN2ljcHVnbjF4QTh2cWNzUEF6eGVpUkRmZVQ0QzlSSXRqdjByK0pKSmZobWxFcHpsTHQzQ0F5NVdoOWpjQiIsIm1hYyI6IjIwYmIxNjI2ZjQ0ODdkZGJlZTZjYjU5YjQyMGMzMGVmYjQxZTM3YTRkY2ViNTI2ZGIxYTI3MWE4NDVhODE5YjYifQ%3D%3D; expires=Mon, 24-Feb-2025 21:06:37 GMT; path=/ ◀XSRF-TOKEN=eyJpdiI6Im1EaUdab3pDdlBkYm5IODlSZE9QMWc9PSIsInZhbHVlIjoiUDFjN2ljcHVnbjF4QTh2cWNzUEF6eGVpUkRmZVQ0QzlSSXRqdjByK0pKSmZobWxFcHpsTHQzQ0F5NVdoOWpjQiIsIm1hY ▶" 1 => "laravel_session=eyJpdiI6InBwdzdBZlwvSEc5VmZqZDlDVnU0bGhBPT0iLCJ2YWx1ZSI6Ik1FdHM4UFo5RmJJTTNIUG9PM1YrUlNSR2puNFlZQ1p2YjJ0ekJzQmlJTW44ZHNuSUZ4OFpsMjVpMzhqU2hxMDhvb3hxa1RVNTh3WVFGR21TXC9Jdk5FWks1NGR3czFTbGFxNEpCSUtmcWFEeGNsS0lCXC9vY0ZiMHdNUm8wR3dxS0oiLCJtYWMiOiIxNTZlM2VmYmUyZmRlZDMxZDc0YzE0NjY0NzY3OWFiZGMzZDhhYmMwODA4MWIzZTQ3NDIzMmFlMmEzM2NiODEyIn0%3D; expires=Mon, 24-Feb-2025 21:06:37 GMT; path=/; httponly ◀laravel_session=eyJpdiI6InBwdzdBZlwvSEc5VmZqZDlDVnU0bGhBPT0iLCJ2YWx1ZSI6Ik1FdHM4UFo5RmJJTTNIUG9PM1YrUlNSR2puNFlZQ1p2YjJ0ekJzQmlJTW44ZHNuSUZ4OFpsMjVpMzhqU2hxMDhv ▶" ] ]
0 of 0array:4 [▶ "_token" => "fitwG1MVH2qCpk5rHO2k7Ori3fpBfpKBfPuaiDFY" "_previous" => array:1 [▶ "url" => "https://dev.avtoshina34.ru/catalog/winter-tyres/nexen/244334?page=2" ] "PHPDEBUGBAR_STACK_DATA" => [] "_flash" => array:2 [▶ "old" => [] "new" => [] ] ]