Adjust the wording if the subscription plugin is not activated

This commit is contained in:
Narek Zakarian 2025-02-25 17:45:15 +04:00
parent fc5760e518
commit ba0de5d12a
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -131,15 +131,18 @@ const DetailsPhysical = () => (
const DetailsSubscriptions = ( { showLink, showNotice } ) => (
<>
{ showLink && (
<a
target="__blank"
href="https://woocommerce.com/document/woocommerce-paypal-payments/#subscriptions-faq"
>
{ __(
'WooCommerce Subscriptions',
'woocommerce-paypal-payments'
) }
</a>
<p
dangerouslySetInnerHTML={ {
__html: sprintf(
/* translators: %s is the URL to the WooCommerce Subscriptions product page */
__(
'* To use subscriptions, you must have <a target="_blank" href="%s">WooCommerce Subscriptions</a> enabled.',
'woocommerce-paypal-payments'
),
'https://woocommerce.com/products/woocommerce-subscriptions/'
),
} }
/>
) }
{ showNotice && (
<p>