| @@ -13,9 +13,8 @@ | ||
| 13 | 13 | use FluentCart\App\Modules\Templating\AssetLoader; |
| 14 | 14 | use FluentCart\App\Services\Renderer\RenderContext; |
| 15 | 15 | use FluentCart\App\Services\Renderer\ShopAppRenderer; |
| 16 | 16 | use FluentCart\App\Services\TemplateService; |
| 17 | -use FluentCart\App\Vite; | |
| 18 | 17 | use FluentCart\Framework\Support\Arr; |
| 19 | 18 | use FluentCart\Framework\Support\Str; |
| 20 | 19 | |
| 21 | 20 | class ShopAppHandler |
| @@ -245,9 +244,9 @@ | ||
| 245 | 244 | |
| 246 | 245 | $allProducts = $this->getInitialProducts(); |
| 247 | 246 | $this->defaultViewData = [ |
| 248 | 247 | 'products' => Arr::get($allProducts, 'products', []), |
| 249 | - 'placeholder_image' => Vite::getAssetUrl('images/placeholder.svg'), | |
| 248 | + 'placeholder_image' => Helper::getProductPlaceholderUrl(), | |
| 250 | 249 | 'paginator' => $this->shortcodeAttributes['paginator'], |
| 251 | 250 | 'view_mode' => $this->shortcodeAttributes['view_mode'], |
| 252 | 251 | 'price_format' => $this->shortcodeAttributes['price_format'], |
| 253 | 252 | 'per_page' => $this->shortcodeAttributes['per_page'], |