PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.7.0
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.7.0
1.7.0 1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 All 50 releases
← All changes | app/Hooks/Handlers/BlockEditors/ProductTitleBlockEditor.php +2 -2 1.3.21 → 1.7.0 View file →
@@ -1,13 +1,13 @@
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\Translations\TransStrings;
9 -use FluentCart\App\Vite;
10 10 use FluentCart\Framework\Support\Arr;
11 11 use FluentCart\App\Models\Product;
12 12
13 13 class ProductTitleBlockEditor extends BlockEditor
@@ -88,9 +88,9 @@
88 88 'slug' => $this->slugPrefix,
89 89 'name' => static::getEditorName(),
90 90 'title' => __('Product Title', 'fluent-cart'),
91 91 'description' => __('This block will display the product title.', 'fluent-cart'),
92 - 'placeholder_image' => Vite::getAssetUrl('images/placeholder.svg')
92 + 'placeholder_image' => Helper::getProductPlaceholderUrl()
93 93 ],
94 94 'fluent_cart_block_translation' => TransStrings::blockStrings(),
95 95 ];
96 96 }