← All changes
|
app/Hooks/Handlers/BlockEditors/BuySectionBlockEditor.php
+1
-2
1.5.4
→
1.7.1
View file →
| @@ -4,9 +4,8 @@ | ||
| 4 | 4 | |
| 5 | 5 | use FluentCart\App\Modules\Templating\AssetLoader; |
| 6 | 6 | use FluentCart\App\Services\Renderer\ProductRenderer; |
| 7 | 7 | use FluentCart\App\Services\Translations\TransStrings; |
| 8 | -use FluentCart\App\Vite; | |
| 9 | 8 | use FluentCart\Framework\Support\Arr; |
| 10 | 9 | use FluentCart\App\Models\Product; |
| 11 | 10 | use FluentCart\App\Helpers\Helper; |
| 12 | 11 | use FluentCart\App\App; |
| @@ -40,9 +39,9 @@ | ||
| 40 | 39 | 'slug' => $this->slugPrefix, |
| 41 | 40 | 'name' => static::getEditorName(), |
| 42 | 41 | 'title' => __('Buy Section', 'fluent-cart'), |
| 43 | 42 | 'description' => __('This block will display the buy section.', 'fluent-cart'), |
| 44 | - 'placeholder_image' => Vite::getAssetUrl('images/placeholder.svg'), | |
| 43 | + 'placeholder_image' => Helper::getProductPlaceholderUrl(), | |
| 45 | 44 | ], |
| 46 | 45 | 'fluent_cart_block_translation' => TransStrings::blockStrings(), |
| 47 | 46 | ]; |
| 48 | 47 | } |