Под заказ: 1
Терминал доступный
При оплате картой взимается комиссия 1%
Ширина: | 235 |
Высота: | 55 |
Диаметр: | 19 |
Индекс скорости: | 101T |
Сезонность: | Зимняя |
Шипы: | Шипованная |
Bridgestone Blizzak Spike 02 SUV – это шипованная зимняя шина, разработанная специально для кроссоверов и внедорожников, которые ценят максимальную безопасность, комфорт и стиль в самых суровых зимних условиях.
Bridgestone Blizzak Spike 02 SUV – это идеальное сочетание передовых технологий Bridgestone и проверенных решений, что гарантирует:
Bridgestone Blizzak Spike 02 SUV идеально подходит для владельцев кроссоверов и внедорожников, которые ищут надежные, уверенные и комфортные шины для зимней езды, оценивая качество и инновации премиум-класса.
Выбирайте Bridgestone Blizzak Spike 02 SUV – доверяйте своей безопасности и комфорту проверенному качеству от Bridgestone!
Купить зимние шипованные шины Bridgestone Blizzak Spike 02 SUV в Волгограде можно в магазине Автошина34.
Michelin X-Ice North 4 SUV 235/55 R19 105T шип
Gislaved Nord Frost 200 SUV 235/55 R19 105T шип
Hankook Winter i*Pike X W429A 235/55 R19 105T шип
Введите свой номер и мы перезвоним Вам
Товар был добавлен в корзину. Вы можете продолжить покупки или перейти к оформлению заказа
Вы нашли этот товар дешевле? Расскажите об этом
Условия акции:
Необходимо предоставить ссылку на сайт с данным товаром и конкурент должен быть из
Волгограда.
Чтобы избежать томительного ожидания в очереди около шиномонтажа Вы можете предварительно записаться у нас. Менеджер свяжется с Вами и уточнит все детали.
1 x Application (99.28%) | 1.56s |
1 x Booting (0.71%) | 11.21ms |
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
620μs/app/Models/Product/Category.php:158avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `car_manufacturers` order by `name` asc
580μsmiddleware::client:22avtoshina_betaMetadata | |
---|---|
Hints |
|
Backtrace |
|
select * from `seo_redirects` where `page_from` = 'catalog/getPromoBlock' limit 1
740μs/app/Models/Redirect.php:33avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `title`, `h1`, `description`, `keywords` from `seo` where `page_url` = 'catalog/getPromoBlock' limit 1
1.28ms/app/Models/Seo.php:36avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
390μs/app/Models/Product/Product.php:1323avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where `id` = '92375' limit 1
540μs/app/Models/Product/Product.php:1240avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `tyres` where `product_id` = '92375' limit 1
580μs/app/Models/Product/Product.php:1246avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product`.`id` as `product_id`, `product`.`alias` as `product_alias`, `product`.`manufacturer_id`, `product`.`card_name` as `product_name`, `product`.`product_type`, `category`.`alias` as `category_alias`, `category`.`name` as `category_name`, `product`.`category_id`, `category`.`parent` as `category_parent`, `manufacturer`.`name` as `manufacturer_name`, `manufacturer`.`alias` as `manufacturer_alias`, `store`.`store_sum`,
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id = 13
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id = 13
)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id IN (12,13)
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id IN (12,13)
LIMIT 1)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
)
THEN
FLOOR((store.price * (100 - (SELECT discount
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
LIMIT 1)) / 100) / 10) * 10
ELSE
store.store_min_price
END
END
END AS main_price
, `suppliers`.`type` from `products` as `product` left join `manufacturers` as `manufacturer` on `product`.`manufacturer_id` = `manufacturer`.`id` inner join `categories` as `category` on `product`.`category_id` = `category`.`id` left join (
SELECT
product_id,
supplier_id,
price, discount_price,
sum(product_store.quantity) as store_sum,
min(product_store.price) as store_min_price
FROM product_store
WHERE quantity > 0 AND price > 0
GROUP BY product_id, supplier_id, price, discount_price) AS store on `product`.`id` = `store`.`product_id` and `product`.`min_price_supplier_id` = `store`.`supplier_id` left join `suppliers` on `supplier_id` = `suppliers`.`id` inner join `tyres` on `product`.`id` = `tyres`.`product_id` where (`product`.`visible` = 1 and `product`.`tmp` = 0) and (`category`.`tmp` = 0 and `category`.`visible` = 1) and `product`.`manufacturer_id` is not null and (manufacturer.visible IS NULL OR manufacturer.visible = 1) and (store_sum IS NOT NULL AND store_sum > 0) and `tyres`.`diameter` = 19 and `tyres`.`width` = 235 and `tyres`.`height` = 55 and `tyres`.`season` = 1 and `tyres`.`is_spike` = 1
820μs/app/Models/Product/Product.php:1256avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product`.`id` as `product_id`, `product`.`alias` as `product_alias`, `product`.`manufacturer_id`, `product`.`card_name` as `product_name`, `product`.`product_type`, `category`.`alias` as `category_alias`, `category`.`name` as `category_name`, `product`.`category_id`, `category`.`parent` as `category_parent`, `manufacturer`.`name` as `manufacturer_name`, `manufacturer`.`alias` as `manufacturer_alias`, `store`.`store_sum`,
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id = 13
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id = 13
)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_store
WHERE product_store.product_id = product.id
AND product_store.supplier_id IN (12,13)
)
THEN
(SELECT LEAST(
COALESCE(NULLIF(price, 0), 9999999),
COALESCE(NULLIF(discount_price, 0), 9999999)
)
FROM product_store
WHERE product_id = product.id
AND supplier_id IN (12,13)
LIMIT 1)
ELSE
CASE
WHEN EXISTS (
SELECT 1
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
)
THEN
FLOOR((store.price * (100 - (SELECT discount
FROM product_redprice
WHERE product_redprice.product_id = store.product_id
AND product_redprice.supplier_id = store.supplier_id
LIMIT 1)) / 100) / 10) * 10
ELSE
store.store_min_price
END
END
END AS main_price
, `suppliers`.`type` from `products` as `product` left join `manufacturers` as `manufacturer` on `product`.`manufacturer_id` = `manufacturer`.`id` inner join `categories` as `category` on `product`.`category_id` = `category`.`id` left join (
SELECT
product_id,
supplier_id,
price, discount_price,
sum(product_store.quantity) as store_sum,
min(product_store.price) as store_min_price
FROM product_store
WHERE quantity > 0 AND price > 0
GROUP BY product_id, supplier_id, price, discount_price) AS store on `product`.`id` = `store`.`product_id` and `product`.`min_price_supplier_id` = `store`.`supplier_id` left join `suppliers` on `supplier_id` = `suppliers`.`id` inner join `tyres` on `product`.`id` = `tyres`.`product_id` where (`product`.`visible` = 1 and `product`.`tmp` = 0) and (`category`.`tmp` = 0 and `category`.`visible` = 1) and `product`.`manufacturer_id` is not null and (manufacturer.visible IS NULL OR manufacturer.visible = 1) and (store_sum IS NOT NULL AND store_sum > 0) and `tyres`.`diameter` = 19 and `tyres`.`width` = 235 and `tyres`.`height` = 55 and `tyres`.`season` = 1 and `tyres`.`is_spike` = 1 and `product`.`id` <> '92375' limit 5
831ms/app/Models/Product/Product.php:1295avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `product_images` where `product_id` in (77649, 396714, 397352, 406272, 406480)
1.74ms/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `season` from `tyres` where `product_id` in (77649, 396714, 397352, 406272, 406480)
370μ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 (77649, 396714, 397352, 406272, 406480)
270μs/app/Libraries/ProductHelper.php:36avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where (`id` = 77649) 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 (77649)
240μ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'
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
1.05ms/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 396714) 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 (396714)
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-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
180μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 397352) 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 (397352)
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (35, 39, 42, 46)
940μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3, 7, 12, 16) 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-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
190μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 406272) limit 1
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (406272)
200μ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'
160μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 406480) 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 (406480)
210μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (35, 39, 42)
980μ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'
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
250μ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 (77649, 396714, 397352, 406272, 406480) 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` = 77649 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` = '861969' and `supplier_id` = 2) and `quantity` > 0 limit 1
260μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '861969' and `supplier_id` = 10) and `quantity` > 0 limit 1
160μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '762766' and `supplier_id` = 11) and `quantity` > 0 limit 1
270μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 77649 and `supplier_id` = 11)
170μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '762766' and `supplier_id` = 5) and `quantity` > 0 limit 1
230μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 77649 and `supplier_id` = 5)
140μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '87994572728' and `supplier_id` = 8) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:172avtoshina_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` = 396714 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` = '0348145' and `supplier_id` = 5) and `quantity` > 0 limit 1
280μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '0348145' and `supplier_id` = 11) and `quantity` > 0 limit 1
160μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 396714 and `supplier_id` = 11)
170μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '000057771' and `supplier_id` = 4) and `quantity` > 0 limit 1
160μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '807884' and `supplier_id` = 10) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:172avtoshina_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` = 397352 order by `suppliers`.`type` desc
270μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1025583' and `supplier_id` = 5) and `quantity` > 0 limit 1
190μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 397352 and `supplier_id` = 5)
230μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1025583' and `supplier_id` = 11) and `quantity` > 0 limit 1
200μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 397352 and `supplier_id` = 11)
180μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00008455' and `supplier_id` = 4) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '869606' and `supplier_id` = 10) and `quantity` > 0 limit 1
170μs/app/Models/Product/ProductStore.php:172avtoshina_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` = 406272 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` = 'CTS236346' and `supplier_id` = 5) and `quantity` > 0 limit 1
170μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'CTS236346' and `supplier_id` = 11) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 406272 and `supplier_id` = 11)
190μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00015252' and `supplier_id` = 4) and `quantity` > 0 limit 1
160μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '21295' and `supplier_id` = 1) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:172avtoshina_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` = 406480 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` = '0347893' and `supplier_id` = 5) and `quantity` > 0 limit 1
190μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 406480 and `supplier_id` = 5)
170μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '957606' and `supplier_id` = 10) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '0347893' and `supplier_id` = 11) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 406480 and `supplier_id` = 11)
150μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (65, 76, 68, 98, 72)
180μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
210μs/app/Models/Product/Product.php:1323avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select 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
163ms/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, 522597, 522598, 522910, 522921, 524218)
1.02ms/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 8002) limit 1
350μ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)
320μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (39, 42)
980μ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'
290μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
280μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 8120) 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 (8120)
290μ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-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
280μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 356988) limit 1
510μ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)
620μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
370μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
230μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 357335) limit 1
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (357335)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
380μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
250μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422430) limit 1
370μ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)
560μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
430μ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'
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
260μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422442) limit 1
380μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (422442)
570μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
320μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
290μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
220μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422786) 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 (422786)
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
170μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
350μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 422881) 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 (422881)
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
330μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
270μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 490215) 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 (490215)
380μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (39, 42)
1.29ms/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'
390μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
410μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 490216) limit 1
360μ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)
1.19ms/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'
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
250μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522597) 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 (522597)
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
500μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522598) limit 1
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (522598)
310μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
400μ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'
1ms/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522910) limit 1
350μ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)
510μ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'
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
300μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 522921) limit 1
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (522921)
180μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
190μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
230μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
200μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 524218) 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 (524218)
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (42)
310μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (3) and `images`.`imageable_type` = 'App\Models\PromoTag'
520μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:22' and `to` >= '2025-05-20 07:23:22'
340μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_store`.`product_id`, `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`days` as `days`, CASE
WHEN product_redprice.discount IS NOT NULL
THEN
FLOOR((product_store.price * (100 - product_redprice.discount) / 100) / 10) * 10
ELSE
product_store.price
END AS minprice from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` left join `product_redprice` on `product_store`.`product_id` = `product_redprice`.`product_id` and `product_store`.`supplier_id` = `product_redprice`.`supplier_id` where `product_store`.`product_id` in (8002, 8120, 356988, 357335, 422430, 422442, 422786, 422881, 490215, 490216, 522597, 522598, 522910, 522921, 524218) and `product_store`.`quantity` > 0 and `product_store`.`price` > 0 order by `minprice` asc
1.79ms/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
440μ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
210μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 8002 and `supplier_id` = 13)
190μs/app/Models/Product/ProductStore.php:178avtoshina_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
220μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'tr-0435' and `supplier_id` = 13) and `quantity` > 0 limit 1
150μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 8120 and `supplier_id` = 13)
150μs/app/Models/Product/ProductStore.php:178avtoshina_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
700μ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
41.06ms/app/Models/Product/ProductStore.php:172avtoshina_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
23.37ms/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 356988 and `supplier_id` = 11)
670μs/app/Models/Product/ProductStore.php:178avtoshina_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
320μ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
230μs/app/Models/Product/ProductStore.php:172avtoshina_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
260μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 357335 and `supplier_id` = 12)
160μs/app/Models/Product/ProductStore.php:178avtoshina_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
170μs/app/Models/Product/ProductStore.php:172avtoshina_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
180μs/app/Models/Product/ProductStore.php:172avtoshina_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
630μ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
8.12ms/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 5)
560μs/app/Models/Product/ProductStore.php:178avtoshina_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
8ms/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 11)
640μs/app/Models/Product/ProductStore.php:178avtoshina_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
5.97ms/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422430 and `supplier_id` = 4)
450μs/app/Models/Product/ProductStore.php:178avtoshina_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
810μ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
38.21ms/app/Models/Product/ProductStore.php:172avtoshina_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
30.97ms/app/Models/Product/ProductStore.php:172avtoshina_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
10.11ms/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422442 and `supplier_id` = 11)
930μs/app/Models/Product/ProductStore.php:178avtoshina_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
17.14ms/app/Models/Product/ProductStore.php:172avtoshina_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
450μ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
240μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422786 and `supplier_id` = 5)
360μs/app/Models/Product/ProductStore.php:178avtoshina_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
380μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422786 and `supplier_id` = 11)
290μs/app/Models/Product/ProductStore.php:178avtoshina_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
280μ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
390μs/app/Models/Product/ProductStore.php:172avtoshina_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
220μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 422881 and `supplier_id` = 11)
330μs/app/Models/Product/ProductStore.php:178avtoshina_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
250μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 490215 and `supplier_id` = 13)
210μs/app/Models/Product/ProductStore.php:178avtoshina_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
240μs/app/Models/Product/ProductStore.php:172avtoshina_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
750μ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
1.04ms/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 490216 and `supplier_id` = 13)
400μs/app/Models/Product/ProductStore.php:178avtoshina_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
300μ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
240μs/app/Models/Product/ProductStore.php:172avtoshina_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
230μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522597 and `supplier_id` = 11)
210μs/app/Models/Product/ProductStore.php:178avtoshina_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
390μ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
220μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 5)
250μs/app/Models/Product/ProductStore.php:178avtoshina_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
1.1ms/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 11)
250μs/app/Models/Product/ProductStore.php:178avtoshina_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
230μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 4)
210μs/app/Models/Product/ProductStore.php:178avtoshina_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
240μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522598 and `supplier_id` = 2)
280μs/app/Models/Product/ProductStore.php:178avtoshina_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
630μ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
1.05ms/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522910 and `supplier_id` = 13)
710μs/app/Models/Product/ProductStore.php:178avtoshina_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
5.58ms/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522910 and `supplier_id` = 4)
590μs/app/Models/Product/ProductStore.php:178avtoshina_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
49.97ms/app/Models/Product/ProductStore.php:172avtoshina_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
53.96ms/app/Models/Product/ProductStore.php:172avtoshina_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
490μ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
250μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522921 and `supplier_id` = 5)
280μs/app/Models/Product/ProductStore.php:178avtoshina_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
250μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 522921 and `supplier_id` = 11)
350μs/app/Models/Product/ProductStore.php:178avtoshina_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` = 524218 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` = 'tr-53A35D' and `supplier_id` = 12) and `quantity` > 0 limit 1
300μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 524218 and `supplier_id` = 12)
240μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'tr-53A35D' and `supplier_id` = 13) and `quantity` > 0 limit 1
280μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 524218 and `supplier_id` = 13)
230μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS212829' and `supplier_id` = 5) and `quantity` > 0 limit 1
220μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'WHS212829' and `supplier_id` = 11) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '000084078' and `supplier_id` = 4) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 524218 and `supplier_id` = 4)
300μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '84470' and `supplier_id` = 2) and `quantity` > 0 limit 1
250μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 524218 and `supplier_id` = 2)
220μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '838852' and `supplier_id` = 10) and `quantity` > 0 limit 1
230μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '87811325436' and `supplier_id` = 8) and `quantity` > 0 limit 1
230μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (21, 255, 23, 23, 21, 21, 21, 21, 23, 23, 21, 21, 23, 23, 23)
730μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
260μ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
710μs/app/Models/Product/Product.php:1226avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `product_images` where `product_id` in (15416, 393375, 540869, 520524, 631111)
260μs/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `season` from `tyres` where `product_id` in (15416, 393375, 540869, 520524, 631111)
300μ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 (15416, 393375, 540869, 520524, 631111)
290μs/app/Libraries/ProductHelper.php:36avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `products` where (`id` = 15416) 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 (15416)
320μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
860μ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'
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:23' and `to` >= '2025-05-20 07:23:23'
240μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 393375) limit 1
310μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (393375)
280μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
740μ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'
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:23' and `to` >= '2025-05-20 07:23:23'
290μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 540869) limit 1
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (540869)
240μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
640μ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'
220μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:23' and `to` >= '2025-05-20 07:23:23'
260μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 520524) limit 1
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (520524)
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
690μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (2, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'
260μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:23' and `to` >= '2025-05-20 07:23:23'
320μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 631111) 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 (631111)
300μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (37, 38, 39, 44)
670μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (2, 8, 11, 12) and `images`.`imageable_type` = 'App\Models\PromoTag'
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:23' and `to` >= '2025-05-20 07:23:23'
220μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_store`.`product_id`, `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`days` as `days`, CASE
WHEN product_redprice.discount IS NOT NULL
THEN
FLOOR((product_store.price * (100 - product_redprice.discount) / 100) / 10) * 10
ELSE
product_store.price
END AS minprice from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` left join `product_redprice` on `product_store`.`product_id` = `product_redprice`.`product_id` and `product_store`.`supplier_id` = `product_redprice`.`supplier_id` where `product_store`.`product_id` in (15416, 393375, 540869, 520524, 631111) and `product_store`.`quantity` > 0 and `product_store`.`price` > 0 order by `minprice` asc
350μs/app/Libraries/ProductHelper.php:93avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 15416 order by `suppliers`.`type` desc
290μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '69898' and `supplier_id` = 2) and `quantity` > 0 limit 1
210μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '821014' and `supplier_id` = 10) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '15445' and `supplier_id` = 1) and `quantity` > 0 limit 1
290μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'УТ-00003166' and `supplier_id` = 9) and `quantity` > 0 limit 1
230μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS32252' and `supplier_id` = 11) and `quantity` > 0 limit 1
190μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 15416 and `supplier_id` = 11)
190μs/app/Models/Product/ProductStore.php:178avtoshina_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` = 393375 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` = '87362869028' and `supplier_id` = 5) and `quantity` > 0 limit 1
290μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '800002783' and `supplier_id` = 9) and `quantity` > 0 limit 1
260μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 393375 and `supplier_id` = 9)
280μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '20884' and `supplier_id` = 1) and `quantity` > 0 limit 1
330μs/app/Models/Product/ProductStore.php:172avtoshina_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` = 540869 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` = 'НФ-00025485' and `supplier_id` = 4) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 540869 and `supplier_id` = 4)
170μs/app/Models/Product/ProductStore.php:178avtoshina_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` = 520524 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` = '24773' and `supplier_id` = 1) and `quantity` > 0 limit 1
210μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = '1514527' and `supplier_id` = 10) and `quantity` > 0 limit 1
180μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS82562' and `supplier_id` = 11) and `quantity` > 0 limit 1
210μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 520524 and `supplier_id` = 11)
250μs/app/Models/Product/ProductStore.php:178avtoshina_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` = 631111 order by `suppliers`.`type` desc
290μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'TS72291' and `supplier_id` = 5) and `quantity` > 0 limit 1
240μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'НФ-00029916' and `supplier_id` = 4) and `quantity` > 0 limit 1
200μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 631111 and `supplier_id` = 4)
170μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (64, 64, 64, 64, 64)
210μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `id` from `suppliers` where `type` = 'store'
260μ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
920μs/app/Models/Product/Product.php:1226avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `product_images` where `product_id` in (774840, 774839, 774838, 774837, 774836)
270μs/app/Libraries/ProductHelper.php:30avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
250μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774840) limit 1
340μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (774840)
320μ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'
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:23' and `to` >= '2025-05-20 07:23:23'
230μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
220μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774839) limit 1
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (774839)
280μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
350μ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-05-20 07:23:23' and `to` >= '2025-05-20 07:23:23'
330μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
200μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774838) limit 1
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `promo_tags`.*, `product_to_promo`.`product_id` from `promo_tags` inner join `product_to_promo` on `product_to_promo`.`tag_id` = `promo_tags`.`id` where `product_to_promo`.`product_id` in (774838)
280μ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'
200μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:23' and `to` >= '2025-05-20 07:23:23'
200μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
190μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774837) 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 (774837)
300μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
300μ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'
320μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:23' and `to` >= '2025-05-20 07:23:23'
310μs/app/Models/Promocode.php:100avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `categories` where `id` = 7 limit 1
390μs/app/Models/Product/Category.php:203avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `products` where (`id` = 774836) 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 (774836)
250μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select * from `site_content` where `site_content`.`id` in (43)
330μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `images` where `images`.`imageable_id` in (1) and `images`.`imageable_type` = 'App\Models\PromoTag'
270μs/app/Libraries/ProductHelper.php:63avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select * from `promocodes` where `activity` = 1 and `used_times` > 0 and `from` <= '2025-05-20 07:23:23' and `to` >= '2025-05-20 07:23:23'
310μ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
430μs/app/Libraries/ProductHelper.php:93avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_store`.`id`, `product_store`.`code`, `product_store`.`price`, `product_store`.`discount_price`, `product_store`.`quantity`, `product_store`.`supplier_id`, `suppliers`.`type`, `suppliers`.`name` as `supplier_name`, `suppliers`.`type` as `type`, `suppliers`.`self_delivery_point_id` as `sdp_id` from `product_store` inner join `suppliers` on `product_store`.`supplier_id` = `suppliers`.`id` where `product_id` = 774840 order by `suppliers`.`type` desc
270μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'zo-0799' and `supplier_id` = 12) and `quantity` > 0 limit 1
260μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774840 and `supplier_id` = 12)
210μs/app/Models/Product/ProductStore.php:178avtoshina_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
290μ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
300μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774839 and `supplier_id` = 12)
250μs/app/Models/Product/ProductStore.php:178avtoshina_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
260μ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
290μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774838 and `supplier_id` = 12)
270μs/app/Models/Product/ProductStore.php:178avtoshina_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
260μ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
210μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774837 and `supplier_id` = 12)
220μs/app/Models/Product/ProductStore.php:178avtoshina_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
270μs/app/Models/Product/ProductStore.php:51avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `product_id`, `supplier_id`, `price`, `discount_price` from `product_store` where (`code` = 'zo-0401' and `supplier_id` = 12) and `quantity` > 0 limit 1
220μs/app/Models/Product/ProductStore.php:172avtoshina_betaMetadata | |
---|---|
Bindings |
|
Hints |
|
Backtrace |
|
select `discount` from `product_redprice` where (`product_id` = 774836 and `supplier_id` = 12)
210μs/app/Models/Product/ProductStore.php:178avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
select `path`, `manufacturer_id` from `manufacturer_images` where `manufacturer_images`.`manufacturer_id` in (443, 443, 443, 443, 443)
240μs/app/Libraries/ProductHelper.php:117avtoshina_betaMetadata | |
---|---|
Bindings |
|
Backtrace |
|
200
0 of 0array:1 [▶ "id" => "92375" ]
0 of 0array:1 [▶ "id" => "92375" ]
0 of 0array:19 [▶ "cookie" => array:1 [▶ 0 => "XSRF-TOKEN=eyJpdiI6IjE3bEIxWVBvcVdTcG0xTzhOcElLSmc9PSIsInZhbHVlIjoiN201YXR4Z2pTZEErNzU2WnZId1BpVWNiWGswSEtTWDVWUnpRalpPMmJIcUZIWlNQNUhldlNQNG5tNFR3b0RLbSIsIm1hYyI6IjhiOTE0OTk4NmQ3YTYxYWZjOTkwYzlkYWEzNzc5MGQwMTUwZmJiN2NjMTIzM2U5ZDY3OWY5NmJkODEwN2I1YjQifQ%3D%3D; laravel_session=eyJpdiI6IjUyMG1VdTVFRG1KMW9BdlMyNFZxYlE9PSIsInZhbHVlIjoib2xcL0NtUEJjenhnWU5XZVFRMGpUWFdwYUV5WXZwMjhCc0tRczNUaHFSSjFYc0pBK1hcL2t3VmVTdm5XbkNudm12SG5kaUZQWUczb3I0TVdJcWFacjhQMElyQVZ6VW94V1hISlNsRllmMXQ5ZU9BVXd2Snk1bWdOSDFQY0hJTUtzSyIsIm1hYyI6ImQ3N2ViMGY3MGQzNjg0YTdjM2MxNDJlYjM3ODM4MDIyYjc1MzU3MTUxY2IyN2FjMGMwNTBjYjQ2Yzk2YjQwNDMifQ%3D%3D ◀XSRF-TOKEN=eyJpdiI6IjE3bEIxWVBvcVdTcG0xTzhOcElLSmc9PSIsInZhbHVlIjoiN201YXR4Z2pTZEErNzU2WnZId1BpVWNiWGswSEtTWDVWUnpRalpPMmJIcUZIWlNQNUhldlNQNG5tNFR3b0RLbSIsIm1hY ▶" ] "accept-encoding" => array:1 [▶ 0 => "gzip, deflate, br, zstd" ] "referer" => array:1 [▶ 0 => "https://dev.avtoshina34.ru/catalog/winter-tyres/bridgestone/92375?page=1" ] "sec-fetch-dest" => array:1 [▶ 0 => "empty" ] "sec-fetch-mode" => array:1 [▶ 0 => "cors" ] "sec-fetch-site" => array:1 [▶ 0 => "same-origin" ] "sec-ch-ua-mobile" => array:1 [▶ 0 => "?0" ] "sec-ch-ua" => array:1 [▶ 0 => ""Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"" ] "accept" => array:1 [▶ 0 => "text/html, */*; q=0.01" ] "user-agent" => array:1 [▶ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "x-requested-with" => array:1 [▶ 0 => "XMLHttpRequest" ] "x-csrf-token" => array:1 [▶ 0 => "b4uCaH82IoIxzivji9AVGn7nwgCDn6KhLIq9IjqD" ] "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=eyJpdiI6IjE3bEIxWVBvcVdTcG0xTzhOcElLSmc9PSIsInZhbHVlIjoiN201YXR4Z2pTZEErNzU2WnZId1BpVWNiWGswSEtTWDVWUnpRalpPMmJIcUZIWlNQNUhldlNQNG5tNFR3b0RLbSIsIm1hYyI6IjhiOTE0OTk4NmQ3YTYxYWZjOTkwYzlkYWEzNzc5MGQwMTUwZmJiN2NjMTIzM2U5ZDY3OWY5NmJkODEwN2I1YjQifQ%3D%3D; laravel_session=eyJpdiI6IjUyMG1VdTVFRG1KMW9BdlMyNFZxYlE9PSIsInZhbHVlIjoib2xcL0NtUEJjenhnWU5XZVFRMGpUWFdwYUV5WXZwMjhCc0tRczNUaHFSSjFYc0pBK1hcL2t3VmVTdm5XbkNudm12SG5kaUZQWUczb3I0TVdJcWFacjhQMElyQVZ6VW94V1hISlNsRllmMXQ5ZU9BVXd2Snk1bWdOSDFQY0hJTUtzSyIsIm1hYyI6ImQ3N2ViMGY3MGQzNjg0YTdjM2MxNDJlYjM3ODM4MDIyYjc1MzU3MTUxY2IyN2FjMGMwNTBjYjQ2Yzk2YjQwNDMifQ%3D%3D ◀XSRF-TOKEN=eyJpdiI6IjE3bEIxWVBvcVdTcG0xTzhOcElLSmc9PSIsInZhbHVlIjoiN201YXR4Z2pTZEErNzU2WnZId1BpVWNiWGswSEtTWDVWUnpRalpPMmJIcUZIWlNQNUhldlNQNG5tNFR3b0RLbSIsIm1hY ▶" "HTTP_ACCEPT_ENCODING" => "gzip, deflate, br, zstd" "HTTP_REFERER" => "https://dev.avtoshina34.ru/catalog/winter-tyres/bridgestone/92375?page=1" "HTTP_SEC_FETCH_DEST" => "empty" "HTTP_SEC_FETCH_MODE" => "cors" "HTTP_SEC_FETCH_SITE" => "same-origin" "HTTP_SEC_CH_UA_MOBILE" => "?0" "HTTP_SEC_CH_UA" => ""Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"" "HTTP_ACCEPT" => "text/html, */*; q=0.01" "HTTP_USER_AGENT" => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" "HTTP_X_REQUESTED_WITH" => "XMLHttpRequest" "HTTP_X_CSRF_TOKEN" => "b4uCaH82IoIxzivji9AVGn7nwgCDn6KhLIq9IjqD" "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" => "63041" "REMOTE_ADDR" => "3.23.105.244" "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=92375" "SCRIPT_NAME" => "/index.php" "CONTENT_LENGTH" => "" "CONTENT_TYPE" => "" "REQUEST_METHOD" => "GET" "QUERY_STRING" => "id=92375" "FCGI_ROLE" => "RESPONDER" "PHP_SELF" => "/index.php" "REQUEST_TIME_FLOAT" => 1747715001.807 "REQUEST_TIME" => 1747715001 ]
0 of 0array:2 [▶ "XSRF-TOKEN" => null "laravel_session" => "fY43PCaKsPUqYXF4y5QBtUpYNn5D3e0NW2iLXd5L" ]
0 of 0array:5 [▶ "cache-control" => array:1 [▶ 0 => "no-cache, private" ] "date" => array:1 [▶ 0 => "Tue, 20 May 2025 04:23:23 GMT" ] "content-type" => array:1 [▶ 0 => "text/html; charset=UTF-8" ] "set-cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6IkVzUU45bG80TU5JN1wvZ2JsQVczRWlBPT0iLCJ2YWx1ZSI6IlBRQmFnVHJMYVVwZU1DaGI1UldPU1QxbXZDYm1WNFNNVGpjM2pBejZWS3lJVFB5dmJqSlc3OURIRjdUcm5kN2QiLCJtYWMiOiI1ODRkOTNkNmEwNWMyYzI1NjM2ZmI3ZGRhMzI4ZTJmYzI2Yzc3ZWU5N2FiYTA4YTZjMDVlODgwOTVlNjkwNTQ3In0%3D; expires=Tue, 20-May-2025 06:23:23 GMT; Max-Age=7200; path=/ ◀XSRF-TOKEN=eyJpdiI6IkVzUU45bG80TU5JN1wvZ2JsQVczRWlBPT0iLCJ2YWx1ZSI6IlBRQmFnVHJMYVVwZU1DaGI1UldPU1QxbXZDYm1WNFNNVGpjM2pBejZWS3lJVFB5dmJqSlc3OURIRjdUcm5kN2QiLCJtY ▶" 1 => "laravel_session=eyJpdiI6InFzRTJzNXM0QzdKajF0dm5yR0JXcWc9PSIsInZhbHVlIjoiVER2aXljWGw4UGtwMVdINGFkOEpxTU9FY1wvZEVCZlYwTTU1OEMxSE5rWFlOM09sNno1a1ptUVwvaEVqNjVGaWw0VXM0MzJcL0pjeTZmTEJVNnZTMU1PbnErUEVhQjl4cWxXUjFYQUdKTEFtNWROOERRXC9XWUMzSmFMak1NYktjRXFwIiwibWFjIjoiMDEyYjUzYzE3ODU4MzlhMzk0NzZlYjM2YjFmNDhkNmRiODNlOTc1ZTBhZjMzOGNhMTE3NTQzYzhkOWE5NmExNCJ9; expires=Tue, 20-May-2025 06:23:23 GMT; Max-Age=7200; path=/; httponly ◀laravel_session=eyJpdiI6InFzRTJzNXM0QzdKajF0dm5yR0JXcWc9PSIsInZhbHVlIjoiVER2aXljWGw4UGtwMVdINGFkOEpxTU9FY1wvZEVCZlYwTTU1OEMxSE5rWFlOM09sNno1a1ptUVwvaEVqNjVGaWw0 ▶" ] "Set-Cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6IkVzUU45bG80TU5JN1wvZ2JsQVczRWlBPT0iLCJ2YWx1ZSI6IlBRQmFnVHJMYVVwZU1DaGI1UldPU1QxbXZDYm1WNFNNVGpjM2pBejZWS3lJVFB5dmJqSlc3OURIRjdUcm5kN2QiLCJtYWMiOiI1ODRkOTNkNmEwNWMyYzI1NjM2ZmI3ZGRhMzI4ZTJmYzI2Yzc3ZWU5N2FiYTA4YTZjMDVlODgwOTVlNjkwNTQ3In0%3D; expires=Tue, 20-May-2025 06:23:23 GMT; path=/ ◀XSRF-TOKEN=eyJpdiI6IkVzUU45bG80TU5JN1wvZ2JsQVczRWlBPT0iLCJ2YWx1ZSI6IlBRQmFnVHJMYVVwZU1DaGI1UldPU1QxbXZDYm1WNFNNVGpjM2pBejZWS3lJVFB5dmJqSlc3OURIRjdUcm5kN2QiLCJtY ▶" 1 => "laravel_session=eyJpdiI6InFzRTJzNXM0QzdKajF0dm5yR0JXcWc9PSIsInZhbHVlIjoiVER2aXljWGw4UGtwMVdINGFkOEpxTU9FY1wvZEVCZlYwTTU1OEMxSE5rWFlOM09sNno1a1ptUVwvaEVqNjVGaWw0VXM0MzJcL0pjeTZmTEJVNnZTMU1PbnErUEVhQjl4cWxXUjFYQUdKTEFtNWROOERRXC9XWUMzSmFMak1NYktjRXFwIiwibWFjIjoiMDEyYjUzYzE3ODU4MzlhMzk0NzZlYjM2YjFmNDhkNmRiODNlOTc1ZTBhZjMzOGNhMTE3NTQzYzhkOWE5NmExNCJ9; expires=Tue, 20-May-2025 06:23:23 GMT; path=/; httponly ◀laravel_session=eyJpdiI6InFzRTJzNXM0QzdKajF0dm5yR0JXcWc9PSIsInZhbHVlIjoiVER2aXljWGw4UGtwMVdINGFkOEpxTU9FY1wvZEVCZlYwTTU1OEMxSE5rWFlOM09sNno1a1ptUVwvaEVqNjVGaWw0 ▶" ] ]
0 of 0array:4 [▶ "_token" => "1dUkSZfnqRZqS5Phhi6nzG5q6nc72b4tl6PKWwCa" "_previous" => array:1 [▶ "url" => "https://dev.avtoshina34.ru/catalog/tyres/Headway/588403?page=3" ] "PHPDEBUGBAR_STACK_DATA" => [] "_flash" => array:2 [▶ "old" => [] "new" => [] ] ]