| @@ -277,9 +277,9 @@ | ||
| 277 | 277 | $couponDiscount = (int) Arr::get($this->cart->cart_data, '0.coupon_discount', 0); |
| 278 | 278 | $subtotalRaw = (int) Arr::get($this->cart->cart_data, '0.subtotal', 0); |
| 279 | 279 | $lineTotalRaw = (int) Arr::get($this->cart->cart_data, '0.line_total', 0); |
| 280 | 280 | $hasCouponDiscount = $couponDiscount > 0 && $lineTotalRaw < $subtotalRaw; |
| 281 | - $media = Arr::get($this->cart->cart_data, '0.featured_media', ''); | |
| 281 | + $media = Helper::productImageOrPlaceholder(Arr::get($this->cart->cart_data, '0.featured_media', '')); | |
| 282 | 282 | |
| 283 | 283 | // Mirror CartItemRenderer's event payload so the shared line-item hooks |
| 284 | 284 | // (e.g. the per-item tax breakdown) also fire in modal checkout. |
| 285 | 285 | $lineItemEventInfo = [ |