← All changes
|
app/Hooks/Handlers/BlockEditors/Cart/CartBlockEditor.php
+2
-2
1.6.5
→
1.7.1
View file →
| @@ -1,8 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace FluentCart\App\Hooks\Handlers\BlockEditors\Cart; |
| 4 | 4 | |
| 5 | +use FluentCart\App\Helpers\Helper; | |
| 5 | 6 | use FluentCart\App\Helpers\CartHelper; |
| 6 | 7 | use FluentCart\App\Hooks\Cart\CartLoader; |
| 7 | 8 | use FluentCart\App\Hooks\Handlers\BlockEditors\BlockEditor; |
| 8 | 9 | use FluentCart\App\Hooks\Handlers\BlockEditors\Cart\InnerBlocks\InnerBlocks; |
| @@ -8,9 +9,8 @@ | ||
| 8 | 9 | use FluentCart\App\Hooks\Handlers\BlockEditors\Cart\InnerBlocks\InnerBlocks; |
| 9 | 10 | use FluentCart\App\Modules\Templating\AssetLoader; |
| 10 | 11 | use FluentCart\App\Services\Renderer\CartRenderer; |
| 11 | 12 | use FluentCart\App\Services\Translations\TransStrings; |
| 12 | -use FluentCart\App\Vite; | |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * Container block for the cart page. |
| 16 | 16 | * |
| @@ -82,9 +82,9 @@ | ||
| 82 | 82 | 'slug' => $this->slugPrefix, |
| 83 | 83 | 'name' => static::getEditorName(), |
| 84 | 84 | 'title' => __('Cart', 'fluent-cart'), |
| 85 | 85 | 'description' => __('This block will display the shopping cart.', 'fluent-cart'), |
| 86 | - 'placeholder_image' => Vite::getAssetUrl('images/placeholder.svg'), | |
| 86 | + 'placeholder_image' => Helper::getProductPlaceholderUrl(), | |
| 87 | 87 | ], |
| 88 | 88 | 'fluent_cart_block_translation' => TransStrings::blockStrings(), |
| 89 | 89 | ]; |
| 90 | 90 | } |