| @@ -278,9 +278,9 @@ | ||
| 278 | 278 | 'product_id' => $product->get_id(), |
| 279 | 279 | 'parent_product_id' => $product_parent ?: $product->get_id(), |
| 280 | 280 | 'product_type' => $product_type, |
| 281 | 281 | 'button_text' => $button_text, |
| 282 | - 'show_button_text' => false, | |
| 282 | + 'show_button_text' => ! empty( Fns::get_option( 'modules', 'compare', 'button_text', '' ) ), | |
| 283 | 283 | 'left_text' => apply_filters( 'rtsb/module/compare/button_left_text', '' ), |
| 284 | 284 | 'right_text' => apply_filters( 'rtsb/module/compare/button_right_text', '' ), |
| 285 | 285 | ]; |
| 286 | 286 | $atts = apply_filters( 'rtsb/module/compare/button_params', $params ); |