← All changes
|
app/Hooks/Handlers/BlockEditors/Checkout/CheckoutBlockEditor.php
+3
-2
trunk
→
1.6.5
View file →
| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace FluentCart\App\Hooks\Handlers\BlockEditors\Checkout; |
| 4 | 4 | |
| 5 | -use FluentCart\App\Helpers\Helper; | |
| 5 | + | |
| 6 | 6 | use FluentCart\Api\CurrencySettings; |
| 7 | 7 | use FluentCart\App\Helpers\CartHelper; |
| 8 | 8 | use FluentCart\App\Helpers\CurrenciesHelper; |
| 9 | 9 | use FluentCart\App\Hooks\Handlers\BlockEditors\BlockEditor; |
| @@ -12,8 +12,9 @@ | ||
| 12 | 12 | use FluentCart\App\Services\Renderer\CartRenderer; |
| 13 | 13 | use FluentCart\App\Services\Renderer\CheckoutRenderer; |
| 14 | 14 | use FluentCart\App\Services\Renderer\RenderHelper; |
| 15 | 15 | use FluentCart\App\Services\Translations\TransStrings; |
| 16 | +use FluentCart\App\Vite; | |
| 16 | 17 | use FluentCart\Framework\Support\Arr; |
| 17 | 18 | |
| 18 | 19 | |
| 19 | 20 | class CheckoutBlockEditor extends BlockEditor |
| @@ -58,9 +59,9 @@ | ||
| 58 | 59 | 'slug' => $this->slugPrefix, |
| 59 | 60 | 'name' => static::getEditorName(), |
| 60 | 61 | 'title' => __('Checkout Page', 'fluent-cart'), |
| 61 | 62 | 'description' => __('This block will display the checkout page.', 'fluent-cart'), |
| 62 | - 'placeholder_image' => Helper::getProductPlaceholderUrl(), | |
| 63 | + 'placeholder_image' => Vite::getAssetUrl('images/placeholder.svg'), | |
| 63 | 64 | ], |
| 64 | 65 | 'fluent_cart_block_translation' => TransStrings::blockStrings() |
| 65 | 66 | ]; |
| 66 | 67 | } |