mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Hide both onboarding radiobuttons when acdc not supported
This commit is contained in:
parent
c635c616dc
commit
b7d2c0fe59
1 changed files with 4 additions and 2 deletions
|
@ -55,8 +55,10 @@ class OnboardingOptionsRenderer {
|
|||
}
|
||||
|
||||
$items[] = '
|
||||
<li>
|
||||
<label><input type="radio" id="ppcp-onboarding-dcc-basic" name="ppcp_onboarding_dcc" value="basic" ' . ( ! $is_shop_supports_dcc ? 'checked' : '' ) . '> ' .
|
||||
<li ' . ( ! $is_shop_supports_dcc ? 'style="display: none;"' : '' ) . '>
|
||||
<label><input type="radio" id="ppcp-onboarding-dcc-basic" name="ppcp_onboarding_dcc" value="basic" ' .
|
||||
( ! $is_shop_supports_dcc ? 'checked' : '' ) .
|
||||
'> ' .
|
||||
__( 'Standard credit and debit card processing', 'woocommerce-paypal-payments' ) . '
|
||||
</label>
|
||||
</li>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue