PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.6
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.6
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 1.3.19 All 49 releases
← All changes | app/Modules/Templating/Bricks/Elements/ProductGallery.php +10 -10 1.4.2 → 1.6.6 View file →
@@ -15,9 +15,9 @@
15 15 class ProductGallery extends Element
16 16 {
17 17 public $category = 'fluent-cart';
18 18 public $name = 'fct-product-gallery';
19 - public $icon = 'ti-gallery';
19 + public $icon = 'ti-gallery fluent-cart-element-icon';
20 20
21 21 public function enqueue_scripts()
22 22 {
23 23 AssetLoader::loadSingleProductAssets();
@@ -24,9 +24,9 @@
24 24 }
25 25
26 26 public function get_label()
27 27 {
28 - return esc_html__('Product Gallery (FluentCart)', 'fluent-cart');
28 + return esc_html__('Product Gallery', 'fluent-cart');
29 29 }
30 30
31 31 public function set_controls()
32 32 {
@@ -36,12 +36,12 @@
36 36
37 37 $this->controls['queryType'] = [
38 38 'tab' => 'content',
39 39 'type' => 'select',
40 - 'label' => esc_html__('Query Type', 'fluent-cart-bricks-blocks'),
40 + 'label' => esc_html__('Query Type', 'fluent-cart'),
41 41 'options' => [
42 - 'default' => esc_html__('Default', 'fluent-cart-bricks-blocks'),
43 - 'custom' => esc_html__('Custom', 'fluent-cart-bricks-blocks'),
42 + 'default' => esc_html__('Default', 'fluent-cart'),
43 + 'custom' => esc_html__('Custom', 'fluent-cart'),
44 44 ],
45 45 'default' => 'default',
46 46 'inline' => true,
47 47 ];
@@ -48,11 +48,11 @@
48 48
49 49 $this->controls['productId'] = [
50 50 'tab' => 'content',
51 51 'type' => 'select',
52 - 'label' => esc_html__('Product', 'fluent-cart-bricks-blocks'),
52 + 'label' => esc_html__('Product', 'fluent-cart'),
53 53 'options' => BricksLoader::getProductOptions(),
54 - 'placeholder' => esc_html__('Select a product', 'fluent-cart-bricks-blocks'),
54 + 'placeholder' => esc_html__('Select a product', 'fluent-cart'),
55 55 'searchable' => true,
56 56 'rerender' => true,
57 57 'required' => ['queryType', '=', 'custom'],
58 58 ];
@@ -59,10 +59,10 @@
59 59
60 60 $this->controls['manualProductId'] = [
61 61 'tab' => 'content',
62 62 'type' => 'text',
63 - 'label' => esc_html__('Manual Product ID', 'fluent-cart-bricks-blocks'),
64 - 'description' => esc_html__('Use this if the product is not available in dropdown.', 'fluent-cart-bricks-blocks'),
63 + 'label' => esc_html__('Manual Product ID', 'fluent-cart'),
64 + 'description' => esc_html__('Use this if the product is not available in dropdown.', 'fluent-cart'),
65 65 'required' => [['queryType', '=', 'custom'], ['productId', '=', '']],
66 66 ];
67 67
68 68 $this->controls['productImageSize'] = [
@@ -247,9 +247,9 @@
247 247 if (!$product) {
248 248 return $this->render_element_placeholder([
249 249 'title' => esc_html__(
250 250 'Select a product',
251 - 'fluent-cart-bricks-blocks'
251 + 'fluent-cart'
252 252 ),
253 253 ]);
254 254 }
255 255