| @@ -8,9 +8,8 @@ | ||
| 8 | 8 | use FluentCart\App\Models\AttributeTerm; |
| 9 | 9 | use FluentCart\App\Models\ProductMeta; |
| 10 | 10 | use FluentCart\App\Models\ProductVariation; |
| 11 | 11 | use FluentCart\App\Services\Helpers; |
| 12 | -use FluentCart\App\Vite; | |
| 13 | 12 | use FluentCart\Framework\Support\Arr; |
| 14 | 13 | use FluentCart\Framework\Support\Collection; |
| 15 | 14 | |
| 16 | 15 | class ProductAdminHelper |
| @@ -333,7 +332,7 @@ | ||
| 333 | 332 | } |
| 334 | 333 | |
| 335 | 334 | public static function getFeaturedMedia($featuredMedia): string |
| 336 | 335 | { |
| 337 | - return !empty($featuredMedia) ? Arr::get($featuredMedia, 'url') : Vite::getAssetUrl('images/placeholder.svg'); | |
| 336 | + return !empty($featuredMedia) ? Arr::get($featuredMedia, 'url') : Helper::getProductPlaceholderUrl(); | |
| 338 | 337 | } |
| 339 | 338 | } |