@morgilady
You should have a look at using Wix Paid Plans.
https://support.wix.com/en/paid-plans/setting-up-paid-plans
Plus, you can use Wix Users API to get the current users plan and do whatever you want etc.
https://www.wix.com/corvid/reference/wix-users.User.html#getPricingPlans
Something like this.
import wixUsers from 'wix-users';
$w.onReady(function () {
let user = wixUsers.currentUser;
let userId = user.id;
let isLoggedIn = user.loggedIn;
user.getPricingPlans()
.then( (pricingPlans) => {
let firstPlan = pricingPlans[0];
let planName = firstPlan.name;
if (planName === "Basic Plan") {
$w("#eventtype").disable();
$w("#specialrequests").disable();
$w("#errormessage1").show();
}
else {
$w("#eventtype").enable();
$w("#specialrequests").enable();
$w("#errormessage1").hide();
}}
)}
)