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

committed by
Remco Tolsma

parent
42964bef17
commit
a60db3815d
@@ -70,7 +70,7 @@ class WC_Product_Variable_Subscription extends WC_Product_Variable {
|
||||
public function single_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