I recently purchased the Memberships extensions and have a few questions about its workflow.
If a user wants to submit a listing, does he go to this URL first - /submit-listing/details/ - and then get redirected to the package page - /submit-listing/package/ - as in Paid Listings extension?
The reason I ask is because my submit-listing form doesn’t redirect to any Plans/Packages page. And I also created a separate page with the Plans block and set that in Hivepress → Settings → Memberships → Plans Page.
But on submitting the listing I am instead redirected to submit-listing/complete/ with the below message.
I read here that the Plans page comes before Listings Form, and if that is true, do I need to change the link in my custom button from /submit-listing/details/ to something else so the workflow remains the way Hivepress intended?
If I do load the separate page I set up under Hivepress → Settings → Memberships → Plans Page, the plans come up. And on selection of a particular plan, I am redirected to the checkout process. However, I feel like this page should somehow be connected to the Submission Form and I may have misconfigured something on my end.
Last question, I apologize for making this a lengthy one. But, lets say, if a premium plan allows submission of 2 listings, why is a vendor able to submit more than 2? Is it because the initial 2 haven’t been published by the admin yet? In which case, it falls upon the admin to verify manually if the number of listings submitted by vendor is greater than the package submission limit.
P.S: Please note that my ‘Paid Listings’ extension has been deactivated and all my previous packages are now in Memberships → Plans and connected to Woocommerce products. I have also ensured that at least 1 is specified in the Submission Limit Field under Restrictions (Listings).
Thanks for the details. This is expected behavior if you have not created any plans with a value of 1 in the Restrictions (Listings) section, specifically Submission Limit. Alternatively, this may occur if you are testing as an administrator rather than a new user. Therefore, we recommend checking that the plan is configured correctly, then creating a new user and testing whether the plans are displayed.
Thanks. As I had mentioned, I have already made plans with the required Submission Limit.
I have fixed most of my issues with some custom code, but is there a way to get active membership plans of the logged-in users through a code snippet/function?
Please specify where exactly you need to show active memberships, and we will try to help. Active memberships are displayed in WP Dashboards > Memberships.
I don’t want it displayed anywhere, I just needed to extract the plan ID that the user has paid for, and use it to apply some plan-based restrictions on some form attributes through a script in the background.
Since it’s possible to have a few memberships at once, this membership contains the merged limits of all the user’s active plans. If, instead of checking the current’s user’s membership restrictions, you want to fetch all the memberships separately and check their plan IDs, please try this code: