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/ProductContent.php +8 -8 1.6.0 → 1.6.6 View file →
@@ -25,12 +25,12 @@
25 25 {
26 26 $this->controls['queryType'] = [
27 27 'tab' => 'content',
28 28 'type' => 'select',
29 - 'label' => esc_html__('Query Type', 'fluent-cart-bricks-blocks'),
29 + 'label' => esc_html__('Query Type', 'fluent-cart'),
30 30 'options' => [
31 - 'default' => esc_html__('Default', 'fluent-cart-bricks-blocks'),
32 - 'custom' => esc_html__('Custom', 'fluent-cart-bricks-blocks'),
31 + 'default' => esc_html__('Default', 'fluent-cart'),
32 + 'custom' => esc_html__('Custom', 'fluent-cart'),
33 33 ],
34 34 'default' => 'default',
35 35 'inline' => true,
36 36 ];
@@ -37,11 +37,11 @@
37 37
38 38 $this->controls['productId'] = [
39 39 'tab' => 'content',
40 40 'type' => 'select',
41 - 'label' => esc_html__('Product', 'fluent-cart-bricks-blocks'),
41 + 'label' => esc_html__('Product', 'fluent-cart'),
42 42 'options' => BricksLoader::getProductOptions(),
43 - 'placeholder' => esc_html__('Select a product', 'fluent-cart-bricks-blocks'),
43 + 'placeholder' => esc_html__('Select a product', 'fluent-cart'),
44 44 'searchable' => true,
45 45 'rerender' => true,
46 46 'required' => ['queryType', '=', 'custom'],
47 47 ];
@@ -48,10 +48,10 @@
48 48
49 49 $this->controls['manualProductId'] = [
50 50 'tab' => 'content',
51 51 'type' => 'text',
52 - 'label' => esc_html__('Manual Product ID', 'fluent-cart-bricks-blocks'),
53 - 'description' => esc_html__('Use this if the product is not available in dropdown.', 'fluent-cart-bricks-blocks'),
52 + 'label' => esc_html__('Manual Product ID', 'fluent-cart'),
53 + 'description' => esc_html__('Use this if the product is not available in dropdown.', 'fluent-cart'),
54 54 'required' => [['queryType', '=', 'custom'], ['productId', '=', '']],
55 55 ];
56 56
57 57 $this->controls['info'] = [
@@ -80,9 +80,9 @@
80 80 $product = ProductDataSetup::getProductModel($productId);
81 81
82 82 if (!$product) {
83 83 return $this->render_element_placeholder([
84 - 'title' => esc_html__('Select a product', 'fluent-cart-bricks-blocks'),
84 + 'title' => esc_html__('Select a product', 'fluent-cart'),
85 85 ]);
86 86 }
87 87
88 88 $content = $product->post_content;