mirror of
https://github.com/pronamic/woocommerce-subscriptions.git
synced 2025-10-14 13:22:55 +00:00
2.6.1
This commit is contained in:

committed by
Remco Tolsma

parent
42964bef17
commit
a60db3815d
@@ -69,7 +69,7 @@ class WC_Product_Subscription extends WC_Product_Simple {
|
||||
public function add_to_cart_text() {
|
||||
|
||||
if ( $this->is_purchasable() && $this->is_in_stock() ) {
|
||||
$text = get_option( WC_Subscriptions_Admin::$option_prefix . '_add_to_cart_button_text', __( 'Sign Up Now', 'woocommerce-subscriptions' ) );
|
||||
$text = get_option( WC_Subscriptions_Admin::$option_prefix . '_add_to_cart_button_text', __( 'Sign up now', 'woocommerce-subscriptions' ) );
|
||||
} else {
|
||||
$text = parent::add_to_cart_text(); // translated "Read More"
|
||||
}
|
||||
|
Reference in New Issue
Block a user