Disable 'Sold Individually' checkbox

This commit is contained in:
George Burduli 2024-05-28 16:49:41 +04:00
parent 47e6b8d281
commit 9db695af75
No known key found for this signature in database
GPG key ID: 572A97DFDA3D2E5C

View file

@ -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 = () => {