mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
Disable 'Sold Individually' checkbox
This commit is contained in:
parent
47e6b8d281
commit
9db695af75
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ document.addEventListener(
|
|||
|
||||
const subscriptionTrial = document.querySelector('._subscription_trial_length_field');
|
||||
subscriptionTrial.style.display = 'none';
|
||||
|
||||
const soldIndividually = document.querySelector( '#_sold_individually' );
|
||||
soldIndividually.setAttribute( 'disabled', 'disabled' );
|
||||
}
|
||||
|
||||
const setupProducts = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue