Под заказ: 5
Терминал доступный
При оплате картой взимается комиссия 1%
Ширина: | 235 |
Высота: | 65 |
Диаметр: | 16 |
Индекс скорости: | 121/119R |
Сезонность: | Зимняя |
Шипы: | Не шипованная |
Viatti Vettore Inverno V-525 235/65 R16 115R
Marshal Winter PorTran CW51 235/65 R16 115/113R
Triangle LL01 235/65 R16 115/113R
Введите свой номер и мы перезвоним Вам
Товар был добавлен в корзину. Вы можете продолжить покупки или перейти к оформлению заказа
Вы нашли этот товар дешевле? Расскажите об этом
Условия акции:
Необходимо предоставить ссылку на сайт с данным товаром и конкурент должен быть из
Волгограда.
Чтобы избежать томительного ожидания в очереди около шиномонтажа Вы можете предварительно записаться у нас. Менеджер свяжется с Вами и уточнит все детали.
1 x Application (98.69%) | 686.14ms |
1 x Booting (1.29%) | 8.99ms |
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
470μs/app/Models/Product/Category.php:158avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `car_manufacturers` order by `name` asc
270μsmiddleware::client:22avtoshina_betaMetadata | |
---|---|
Hints |
|
Backtrace |
|
select * from `seo_redirects` where `page_from` = 'catalog/getPromoBlock' limit 1
180μs/app/Models/Redirect.php:33avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `title`, `h1`, `description`, `keywords` from `seo` where `page_url` = 'catalog/getPromoBlock' limit 1
130μs/app/Models/Seo.php:36avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
160μs/app/Models/Product/Product.php:1323avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where `id` = '721208' limit 1
410μs/app/Models/Product/Product.php:1240avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `tyres` where `product_id` = '721208' limit 1
630μ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` = 16 and `tyres`.`width` = 235 and `tyres`.`height` = 65 and `tyres`.`season` = 1 and `tyres`.`is_spike` = 0
590μ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` = 16 and `tyres`.`width` = 235 and `tyres`.`height` = 65 and `tyres`.`season` = 1 and `tyres`.`is_spike` = 0 and `product`.`id` <> '721208' limit 5
486ms/app/Models/Product/Product.php:1295avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `product_images` where `product_id` in (22521, 83149, 394513, 591988, 661547)
1.48ms/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `season` from `tyres` where `product_id` in (22521, 83149, 394513, 591988, 661547)
130μ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 (22521, 83149, 394513, 591988, 661547)
140μs/app/Libraries/ProductHelper.php:36avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where (`id` = 22521) limit 1
150μ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 (22521)
160μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (35, 39, 42)
680μ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'
160μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
160μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 83149) limit 1
150μ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 (83149)
150μ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'
130μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
140μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 394513) limit 1
150μ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 (394513)
140μ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'
130μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
150μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 591988) limit 1
150μ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 (591988)
120μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
170μ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'
130μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
170μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 661547) limit 1
140μ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 (661547)
200μ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'
130μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
150μ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 (22521, 83149, 394513, 591988, 661547) and `product_store`.`quantity` > 0 and `product_store`.`price` > 0 order by `minprice` asc
270μ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` = 22521 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` = '43914' 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` = '86672955179' and `supplier_id` = 11) and `quantity` > 0 limit 1
110μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '3250024' 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` = 22521 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` = '697412' and `supplier_id` = 10) 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` = '12388' and `supplier_id` = 1) and `quantity` > 0 limit 1
120μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 22521 and `supplier_id` = 1)
100μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '3250024' and `supplier_id` = 5) and `quantity` > 0 limit 1
120μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 631261 and `supplier_id` = 5)
110μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '86672955179' and `supplier_id` = 8) and `quantity` > 0 limit 1
120μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 631261 and `supplier_id` = 8)
120μ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` = 83149 order by `suppliers`.`type` desc
150μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '2171453' and `supplier_id` = 5) and `quantity` > 0 limit 1
290μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 83149 and `supplier_id` = 5)
170μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '2171453' 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` = 394513 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` = 'CTS235782' and `supplier_id` = 5) and `quantity` > 0 limit 1
270μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '21288' and `supplier_id` = 1) 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` = 394513 and `supplier_id` = 1)
210μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'CTS235782' and `supplier_id` = 11) 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` = 394513 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` = 591988 order by `suppliers`.`type` desc
180μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '2021196' 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` = 591988 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` = '1027018' and `supplier_id` = 10) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '2021196' 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` = 591988 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` = '95963' and `supplier_id` = 2) 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` = 591988 and `supplier_id` = 2)
150μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 661547 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` = '1391886031' 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` = 661547 and `supplier_id` = 5)
130μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '25301' and `supplier_id` = 1) 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` = 661547 and `supplier_id` = 1)
170μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1246937' and `supplier_id` = 10) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1391886031' 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` = 661547 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` = '102717117060' and `supplier_id` = 8) 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` = 661547 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` = '108075' and `supplier_id` = 2) and `quantity` > 0 limit 1
160μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (88, 83, 98, 68, 75)
220μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
270μ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
650μ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)
250μs/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 8002) 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 (8002)
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (39, 42)
550μ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'
170μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
260μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 8120) 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 (8120)
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
240μ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'
290μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
160μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 356988) limit 1
150μ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)
160μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
160μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
140μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
170μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 357335) 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 (357335)
170μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
210μ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'
160μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
160μ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)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
160μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422442) 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 (422442)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
210μ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'
160μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
170μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422786) limit 1
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (422786)
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
300μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
200μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422881) 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 (422881)
180μ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'
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 490215) limit 1
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (490215)
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (39, 42)
590μ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'
330μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
190μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 490216) 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 (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-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
180μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522537) limit 1
300μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (522537)
220μ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'
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
170μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522597) 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 (522597)
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'
140μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
150μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522598) 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 (522598)
170μ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'
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
240μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522910) 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 (522910)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
330μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
240μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522921) limit 1
320μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (522921)
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'
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
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 (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
360μs/app/Libraries/ProductHelper.php:93avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 8002 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` = 'tz-2030' and `supplier_id` = 13) 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` = 8002 and `supplier_id` = 13)
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` = 8120 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-0435' 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` = 8120 and `supplier_id` = 13)
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` = 356988 order by `suppliers`.`type` desc
200μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS158817' and `supplier_id` = 5) and `quantity` > 0 limit 1
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` = 'WHS158817' 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` = 356988 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` = 357335 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` = 'tr-40020' and `supplier_id` = 13) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'tr-40020' 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` = 357335 and `supplier_id` = 12)
180μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS209646' and `supplier_id` = 5) and `quantity` > 0 limit 1
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` = '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
200μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221916' and `supplier_id` = 5) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 5)
180μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221916' and `supplier_id` = 11) and `quantity` > 0 limit 1
220μ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
220μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 4)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 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` = 'WHS221899' 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` = '980860' and `supplier_id` = 10) and `quantity` > 0 limit 1
200μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221899' and `supplier_id` = 11) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422442 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` = '137556' and `supplier_id` = 9) 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` = 422786 order by `suppliers`.`type` desc
420μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221893' and `supplier_id` = 5) and `quantity` > 0 limit 1
230μ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_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221893' and `supplier_id` = 11) and `quantity` > 0 limit 1
130μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422786 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` = 422881 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` = 'WHS221898' and `supplier_id` = 5) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS221898' and `supplier_id` = 11) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422881 and `supplier_id` = 11)
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` = 490215 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` = 'tr-X40927' and `supplier_id` = 13) 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` = 490215 and `supplier_id` = 13)
140μ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
270μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 490216 order by `suppliers`.`type` desc
200μ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
200μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 490216 and `supplier_id` = 13)
230μ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
320μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1098050' and `supplier_id` = 10) and `quantity` > 0 limit 1
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'УТ-00009432' and `supplier_id` = 9) and `quantity` > 0 limit 1
170μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '97086' and `supplier_id` = 2) and `quantity` > 0 limit 1
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` = '88254384560' and `supplier_id` = 8) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522537 and `supplier_id` = 8)
220μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 522597 order by `suppliers`.`type` desc
260μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS500776' and `supplier_id` = 5) and `quantity` > 0 limit 1
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` = 'WHS500776' and `supplier_id` = 11) and `quantity` > 0 limit 1
310μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522597 and `supplier_id` = 11)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 522598 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` = 'WHS503030' and `supplier_id` = 5) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 5)
140μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS503030' and `supplier_id` = 11) and `quantity` > 0 limit 1
410μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 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` = 'НФ-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)
220μ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
150μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 2)
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
200μ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
170μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522910 and `supplier_id` = 13)
170μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00007200' and `supplier_id` = 4) and `quantity` > 0 limit 1
230μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522910 and `supplier_id` = 4)
170μ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
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` = 'WHS083584' and `supplier_id` = 11) 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` = 522921 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` = 'WHS229143' and `supplier_id` = 5) 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` = 522921 and `supplier_id` = 5)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS229143' and `supplier_id` = 11) 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` = 522921 and `supplier_id` = 11)
140μ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)
550μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
230μs/app/Models/Product/Product.php:1323avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product`.`id` as `product_id`, `product`.`alias` as `product_alias`, `product`.`manufacturer_id`, `product`.`card_name` as `product_name`, `product`.`product_type`, `category`.`alias` as `category_alias`, `category`.`name` as `category_name`, `product`.`category_id`, `category`.`parent` as `category_parent`, `manufacturer`.`name` as `manufacturer_name`, `manufacturer`.`alias` as `manufacturer_alias`, `store`.`store_sum`,
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id = 13
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id = 13
)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id IN (12,13)
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id IN (12,13)
LIMIT 1)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
)
THEN
FLOOR((store.price * (100 - (SELECT discount
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
LIMIT 1)) / 100) / 10) * 10
ELSE
store.store_min_price
END
END
END AS main_price
, `suppliers`.`type` from `products` as `product` left join `manufacturers` as `manufacturer` on `product`.`manufacturer_id` = `manufacturer`.`id` inner join `categories` as `category` on `product`.`category_id` = `category`.`id` left join (
SELECT
product_id,
supplier_id,
price, discount_price,
sum(product_store.quantity) as store_sum,
min(product_store.price) as store_min_price
FROM product_store
WHERE quantity > 0 AND price > 0
GROUP BY product_id, supplier_id, price, discount_price) AS store on `product`.`id` = `store`.`product_id` and `product`.`min_price_supplier_id` = `store`.`supplier_id` left join `suppliers` on `supplier_id` = `suppliers`.`id` inner join `product_to_promo` on `product`.`id` = `product_to_promo`.`product_id` inner join `promo_tags` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where (`product`.`visible` = 1 and `product`.`tmp` = 0) and (`category`.`tmp` = 0 and `category`.`visible` = 1) and `product`.`manufacturer_id` is not null and (manufacturer.visible IS NULL OR manufacturer.visible = 1) and (store_sum IS NOT NULL AND store_sum > 0) and `promo_tags`.`code` = 'profit' order by `product`.`profit_order` desc, `product_to_promo`.`created_at` desc limit 5
630μs/app/Models/Product/Product.php:1226avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `product_images` where `product_id` in (525747, 526774, 527249, 84824, 517173)
190μs/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `season` from `tyres` where `product_id` in (525747, 526774, 527249, 84824, 517173)
140μ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 (525747, 526774, 527249, 84824, 517173)
150μs/app/Libraries/ProductHelper.php:36avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where (`id` = 525747) 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 (525747)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
580μ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-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
180μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 526774) 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 (526774)
270μ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'
290μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 527249) 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 (527249)
170μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
550μ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'
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
250μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 84824) 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 (84824)
150μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
470μ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-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
260μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 517173) 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 (517173)
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
540μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (2, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'
150μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
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 (525747, 526774, 527249, 84824, 517173) 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` = 525747 order by `suppliers`.`type` desc
180μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS32710' and `supplier_id` = 5) and `quantity` > 0 limit 1
210μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS32710' and `supplier_id` = 11) and `quantity` > 0 limit 1
210μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '93882135977' 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` = 525747 and `supplier_id` = 8)
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` = 526774 order by `suppliers`.`type` desc
300μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS32690' 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` = '93882118170' and `supplier_id` = 8) and `quantity` > 0 limit 1
120μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 526774 and `supplier_id` = 8)
120μ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` = 527249 order by `suppliers`.`type` desc
180μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'T431438' and `supplier_id` = 5) and `quantity` > 0 limit 1
170μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '93882324478' and `supplier_id` = 8) 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` = 527249 and `supplier_id` = 8)
220μ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` = 84824 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` = '820941' and `supplier_id` = 10) and `quantity` > 0 limit 1
290μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '69924' and `supplier_id` = 2) 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` = 84824 and `supplier_id` = 2)
150μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '15434' and `supplier_id` = 1) 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` = 'TS32198' and `supplier_id` = 11) and `quantity` > 0 limit 1
130μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 517173 order by `suppliers`.`type` desc
250μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1031926' and `supplier_id` = 10) and `quantity` > 0 limit 1
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` = 'TS32523' and `supplier_id` = 11) 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` = '114136060512' 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` = 517173 and `supplier_id` = 8)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (64, 64, 64, 64, 64)
180μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
130μ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
760μs/app/Models/Product/Product.php:1226avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `product_images` where `product_id` in (774840, 774839, 774838, 774837, 774836)
360μs/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
230μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774840) 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 (774840)
350μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
290μ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-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
200μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
160μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774839) limit 1
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (774839)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
210μ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-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
200μ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` = 774838) 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 (774838)
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
330μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (1) and `images`.`imageable_type` = 'App\Models\PromoTag'
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
210μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
160μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774837) 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 (774837)
170μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (1) and `images`.`imageable_type` = 'App\Models\PromoTag'
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
260μ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
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 (774836)
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
210μ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'
150μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-03-03 17:04:21' and `to` >= '2025-03-03 17:04:21'
230μ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
290μ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
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-0799' and `supplier_id` = 12) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774840 and `supplier_id` = 12)
190μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 774839 order by `suppliers`.`type` desc
220μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'zo-0589' and `supplier_id` = 12) 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` = 774839 and `supplier_id` = 12)
270μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 774838 order by `suppliers`.`type` desc
220μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'zo-0588' and `supplier_id` = 12) and `quantity` > 0 limit 1
170μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774838 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` = 774837 order by `suppliers`.`type` desc
230μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'zo-1815' and `supplier_id` = 12) 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` = 774837 and `supplier_id` = 12)
160μs/app/Models/Product/ProductStore.php:173avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 774836 order by `suppliers`.`type` desc
230μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'zo-0401' and `supplier_id` = 12) and `quantity` > 0 limit 1
190μs/app/Models/Product/ProductStore.php:167avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774836 and `supplier_id` = 12)
170μ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)
210μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
200
0 of 0array:1 [▶ "id" => "721208" ]
0 of 0array:1 [▶ "id" => "721208" ]
0 of 0array:19 [▶ "cookie" => array:1 [▶ 0 => "XSRF-TOKEN=eyJpdiI6Ilg4TnordHo0clBtVlo1bXA5XC8yYjF3PT0iLCJ2YWx1ZSI6ImRSU2krWlZTQ0N4b1oySG9FS1h0dndxRDRXbnM3cUw2bDY2a3Bma2o5bHFKZGZ5TjJSNmpidWpLbTdPR3A4ZEwiLCJtYWMiOiIxNDQzOGExZjY3MGExY2Y2ZTBlYTkyNGE2NWM3MzA4ZWZkZTBiMTVjZGI2ZjFmYzgwNTNjMjAxYjEzYzcwZTk5In0%3D; laravel_session=eyJpdiI6IkQydnhNVjd5MlJkemZhVzNMdDBDd1E9PSIsInZhbHVlIjoiU2FQc1R6R1J4bFZscWtJT2RPMFdYS2h4OUJBcTdYdVkzQnlHeFRaKzliQ3RGY1JFTlA4VTlcL1wvXC9cLzhEbHRtemxRWW9pK3BKVm9KeTZNT2YrTnhqdHRPZkxjM28rdndDV3BYZTMwY3F6OUdybTRhQ1g3MlVmVTlIb3NkZVJOa2J1IiwibWFjIjoiOTQ5YjQ4MzY4OTA4MWZiNGFkMTRhM2JlZGFjN2Q1NDc3NWI2YjBjZWIxOWY2NWVjYTIxNTNhOGIxODA1NWUwOSJ9 ◀XSRF-TOKEN=eyJpdiI6Ilg4TnordHo0clBtVlo1bXA5XC8yYjF3PT0iLCJ2YWx1ZSI6ImRSU2krWlZTQ0N4b1oySG9FS1h0dndxRDRXbnM3cUw2bDY2a3Bma2o5bHFKZGZ5TjJSNmpidWpLbTdPR3A4ZEwiLCJtY ▶" ] "accept-encoding" => array:1 [▶ 0 => "gzip, deflate, br, zstd" ] "referer" => array:1 [▶ 0 => "https://dev.avtoshina34.ru/catalog/winter-tyres/nexen/721208?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 => "FgsXTKQQiWbtg5IUye2GjRYXsj7ptsaUeIBnTAKQ" ] "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=eyJpdiI6Ilg4TnordHo0clBtVlo1bXA5XC8yYjF3PT0iLCJ2YWx1ZSI6ImRSU2krWlZTQ0N4b1oySG9FS1h0dndxRDRXbnM3cUw2bDY2a3Bma2o5bHFKZGZ5TjJSNmpidWpLbTdPR3A4ZEwiLCJtYWMiOiIxNDQzOGExZjY3MGExY2Y2ZTBlYTkyNGE2NWM3MzA4ZWZkZTBiMTVjZGI2ZjFmYzgwNTNjMjAxYjEzYzcwZTk5In0%3D; laravel_session=eyJpdiI6IkQydnhNVjd5MlJkemZhVzNMdDBDd1E9PSIsInZhbHVlIjoiU2FQc1R6R1J4bFZscWtJT2RPMFdYS2h4OUJBcTdYdVkzQnlHeFRaKzliQ3RGY1JFTlA4VTlcL1wvXC9cLzhEbHRtemxRWW9pK3BKVm9KeTZNT2YrTnhqdHRPZkxjM28rdndDV3BYZTMwY3F6OUdybTRhQ1g3MlVmVTlIb3NkZVJOa2J1IiwibWFjIjoiOTQ5YjQ4MzY4OTA4MWZiNGFkMTRhM2JlZGFjN2Q1NDc3NWI2YjBjZWIxOWY2NWVjYTIxNTNhOGIxODA1NWUwOSJ9 ◀XSRF-TOKEN=eyJpdiI6Ilg4TnordHo0clBtVlo1bXA5XC8yYjF3PT0iLCJ2YWx1ZSI6ImRSU2krWlZTQ0N4b1oySG9FS1h0dndxRDRXbnM3cUw2bDY2a3Bma2o5bHFKZGZ5TjJSNmpidWpLbTdPR3A4ZEwiLCJtY ▶" "HTTP_ACCEPT_ENCODING" => "gzip, deflate, br, zstd" "HTTP_REFERER" => "https://dev.avtoshina34.ru/catalog/winter-tyres/nexen/721208?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" => "FgsXTKQQiWbtg5IUye2GjRYXsj7ptsaUeIBnTAKQ" "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" => "3303" "REMOTE_ADDR" => "18.216.229.154" "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=721208" "SCRIPT_NAME" => "/index.php" "CONTENT_LENGTH" => "" "CONTENT_TYPE" => "" "REQUEST_METHOD" => "GET" "QUERY_STRING" => "id=721208" "FCGI_ROLE" => "RESPONDER" "PHP_SELF" => "/index.php" "REQUEST_TIME_FLOAT" => 1741010660.7446 "REQUEST_TIME" => 1741010660 ]
0 of 0array:2 [▶ "XSRF-TOKEN" => null "laravel_session" => "CeA3Tn9RMEEUnYtONO14UTfzvpQ2u0NCG1LNfdgg" ]
0 of 0array:5 [▶ "cache-control" => array:1 [▶ 0 => "no-cache, private" ] "date" => array:1 [▶ 0 => "Mon, 03 Mar 2025 14:04:21 GMT" ] "content-type" => array:1 [▶ 0 => "text/html; charset=UTF-8" ] "set-cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6ImtSd1lGRlBJTURGRlFZRUFPbGRDWEE9PSIsInZhbHVlIjoib1p5ekpRbmgxcklnXC93ankxVnZDQUNaSVA5VlZMTGZ5bk9yVVVZQUk3M2dwMmRmMUNUdlN3enNkZUdmSThxWG8iLCJtYWMiOiJmYjAwOTQyNzdhNmQ0NjI0NTcxZWRmNWUyYWE2N2QwYzBkZmNiMDllZmI3MjQyOGJkOTNlNTQ3N2ViY2I3MWY5In0%3D; expires=Mon, 03-Mar-2025 16:04:21 GMT; Max-Age=7200; path=/ ◀XSRF-TOKEN=eyJpdiI6ImtSd1lGRlBJTURGRlFZRUFPbGRDWEE9PSIsInZhbHVlIjoib1p5ekpRbmgxcklnXC93ankxVnZDQUNaSVA5VlZMTGZ5bk9yVVVZQUk3M2dwMmRmMUNUdlN3enNkZUdmSThxWG8iLCJtY ▶" 1 => "laravel_session=eyJpdiI6ImNwZUhhczlHVkhodnpsb25qVnh2clE9PSIsInZhbHVlIjoiT00zalhXRzNBcndFT015ak10bTdiWnlGVDNDVFNNZzBoaTFuMThlR2RRTnJTSVVaN2s1a25ndTk3bjg0a2szTEordkJvK0xCVUhCSVJcL2cydHBFVXNPYmYrNmhyT2ZtVXdaUEpsUTQramdaUVVmR1RSVGV1MkFjNWIybGg3SzhEIiwibWFjIjoiOTYzZThiOWQ1NzVmYjU0OWVmYTYxMDNkZmYzNThkM2M3ZDUzMDcxMzBhMzE2YWU3MWU5NWU3MjZmNTMzYWE2OSJ9; expires=Mon, 03-Mar-2025 16:04:21 GMT; Max-Age=7200; path=/; httponly ◀laravel_session=eyJpdiI6ImNwZUhhczlHVkhodnpsb25qVnh2clE9PSIsInZhbHVlIjoiT00zalhXRzNBcndFT015ak10bTdiWnlGVDNDVFNNZzBoaTFuMThlR2RRTnJTSVVaN2s1a25ndTk3bjg0a2szTEor ▶" ] "Set-Cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6ImtSd1lGRlBJTURGRlFZRUFPbGRDWEE9PSIsInZhbHVlIjoib1p5ekpRbmgxcklnXC93ankxVnZDQUNaSVA5VlZMTGZ5bk9yVVVZQUk3M2dwMmRmMUNUdlN3enNkZUdmSThxWG8iLCJtYWMiOiJmYjAwOTQyNzdhNmQ0NjI0NTcxZWRmNWUyYWE2N2QwYzBkZmNiMDllZmI3MjQyOGJkOTNlNTQ3N2ViY2I3MWY5In0%3D; expires=Mon, 03-Mar-2025 16:04:21 GMT; path=/ ◀XSRF-TOKEN=eyJpdiI6ImtSd1lGRlBJTURGRlFZRUFPbGRDWEE9PSIsInZhbHVlIjoib1p5ekpRbmgxcklnXC93ankxVnZDQUNaSVA5VlZMTGZ5bk9yVVVZQUk3M2dwMmRmMUNUdlN3enNkZUdmSThxWG8iLCJtY ▶" 1 => "laravel_session=eyJpdiI6ImNwZUhhczlHVkhodnpsb25qVnh2clE9PSIsInZhbHVlIjoiT00zalhXRzNBcndFT015ak10bTdiWnlGVDNDVFNNZzBoaTFuMThlR2RRTnJTSVVaN2s1a25ndTk3bjg0a2szTEordkJvK0xCVUhCSVJcL2cydHBFVXNPYmYrNmhyT2ZtVXdaUEpsUTQramdaUVVmR1RSVGV1MkFjNWIybGg3SzhEIiwibWFjIjoiOTYzZThiOWQ1NzVmYjU0OWVmYTYxMDNkZmYzNThkM2M3ZDUzMDcxMzBhMzE2YWU3MWU5NWU3MjZmNTMzYWE2OSJ9; expires=Mon, 03-Mar-2025 16:04:21 GMT; path=/; httponly ◀laravel_session=eyJpdiI6ImNwZUhhczlHVkhodnpsb25qVnh2clE9PSIsInZhbHVlIjoiT00zalhXRzNBcndFT015ak10bTdiWnlGVDNDVFNNZzBoaTFuMThlR2RRTnJTSVVaN2s1a25ndTk3bjg0a2szTEor ▶" ] ]
0 of 0array:4 [▶ "_token" => "FgsXTKQQiWbtg5IUye2GjRYXsj7ptsaUeIBnTAKQ" "_previous" => array:1 [▶ "url" => "https://dev.avtoshina34.ru/catalog/winter-tyres/nexen/721208?page=2" ] "PHPDEBUGBAR_STACK_DATA" => [] "_flash" => array:2 [▶ "old" => [] "new" => [] ] ]