← All changes
|
app/Hooks/Handlers/BlockEditors/PriceRangeBlockEditor.php
+2
-2
1.3.21
→
1.7.0
View file →
| @@ -1,14 +1,14 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace FluentCart\App\Hooks\Handlers\BlockEditors; |
| 4 | 4 | |
| 5 | +use FluentCart\App\Helpers\Helper; | |
| 5 | 6 | use FluentCart\App\Modules\Templating\AssetLoader; |
| 6 | 7 | use FluentCart\App\Services\Renderer\ProductCardRender; |
| 7 | 8 | use FluentCart\App\Services\Renderer\ProductRenderer; |
| 8 | 9 | use FluentCart\App\Services\TemplateService; |
| 9 | 10 | use FluentCart\App\Services\Translations\TransStrings; |
| 10 | -use FluentCart\App\Vite; | |
| 11 | 11 | use FluentCart\Framework\Support\Arr; |
| 12 | 12 | use FluentCart\App\Models\Product; |
| 13 | 13 | |
| 14 | 14 | class PriceRangeBlockEditor extends BlockEditor |
| @@ -89,9 +89,9 @@ | ||
| 89 | 89 | 'slug' => $this->slugPrefix, |
| 90 | 90 | 'name' => static::getEditorName(), |
| 91 | 91 | 'title' => __('Price Range', 'fluent-cart'), |
| 92 | 92 | 'description' => __('This block will display the price range.', 'fluent-cart'), |
| 93 | - 'placeholder_image' => Vite::getAssetUrl('images/placeholder.svg') | |
| 93 | + 'placeholder_image' => Helper::getProductPlaceholderUrl() | |
| 94 | 94 | ], |
| 95 | 95 | 'fluent_cart_block_translation' => TransStrings::blockStrings(), |
| 96 | 96 | ]; |
| 97 | 97 | } |