← All changes
|
app/Modules/Templating/Bricks/Elements/ProductGallery.php
+8
-8
1.6.2
→
1.7.0
View file →
| @@ -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 | |