dgebel
Forum Replies Created
-
Ahhh. Sigh. Thank you.
This is why my programming boss refused to let us use “not” expressions 😛
If a user does have an active subscription, they should see the booking table. If they are not logged in or not subscribed, with an active subscription, they should not see the booking grid but the other “no active subscription” message above, I’ll add some HTML in there to tell them to go to some other page in the final version.
Okay, Note 2 solves why the admin can still see the restricted content. (Note 1 was just a typo on this page.)
What is actually there at the moment is this:
[pms-restrict subscription_plans="all" display_to="not_subscribed" message="You do not have an active membership."]
Welcome Member
[et_booking_calendar]
[/pms-restrict]The “not_subscribed” message appears as expected when signed out, but signed in users with PMS subscriptions still get the same message instead of the booking plugin. I read the documentation several times, am I using this wrong?
Also, the “content restriction” options for all of the above is set in the side panel is “show content to – all users”. I don’t see how that would block showing the restricted content.
- This reply was modified 4 months ago by dgebel.
We have the latest versions of WP, WooCommerce, WC Booking and then PMS.
Process is user signs up for a gym membership with PMS, and then they are restricted to a single membership product page (1 hour, 2 hour, etc.). Going to the store page, they are shown the one product they signed up for and user can book a time.
However, if the user goes back and cancels the booking, somehow PMS interprets that as canceling the membership as well.
I thought I was already using the [pms-account] shortcode. I definitely had it in an Account page… but was linking to the WooCommerce one instead. Sigh. Okay, that’s working much better.
Thanks!
Thanks for getting back to me.
- I don’t see a “subscription” tab on the member pages, like in the documentation. Only tabs for Dashboard and Bookings, and links to recent orders, address, password, name & email. https://ibb.co/dsJwW2Sg
- I had a thought and noticed an “upgrade” item in the Product description. Does this need to used to allow the user to “upgrade”?
- I don’t know if this would work, as we need to have the user to have different options in WooCommerce bookings depending on which “product” they have. e.g. different booking length, and hiding the other booking length products.
- Thanks, I’ll give that a try!
Ok, will do. thanks so much
Just updated to the latest version again. No change.
- I have tested with an active member with the correct membership – the 1 person/1 hour, with the restrictions. I was able to see the restricted product – but also all the others.
- The other products have “1 Hour, 2 Person” or “2 hour, 2 person” selections, etc. https://snipboard.io/jLYmap.jpg So they shouldn’t have been displayed when a member with only 1/1 membership viewed the [product] page.
By the way, the two lists of “Display for” and “Who can purchase” product items have a different sort order, which was rather confusing and disconcerting when attempting to set everything up because my names were so similar. - Ok thanks.
- Registration – My apologies! That was the wrong url – https://ironoasisgym.com/register
- The form works as expected.
- Behind the scenes, it creates a new user.
- But it does NOT redirect the new user to PayPal nor does it create a new customer.
- After completing the registration, the user is left on the default account information page. If everything was working, they would have been redirected to the booking page.
oops. the link in #1 got messed up, it’s just https://snipboard.io/7UQZ1r.jpg
Thanks for your assistance.
- The excluded from restricted on the WooCommerce tab was not checked. https://snipboard.io/7UQZ1r.jpg it is selected now.
- The logged in user with Customer status can see the images on the Product page. However, all products are still displayed, even though the user has only the one membership https://snipboard.io/1Ttkve.jpg and they can book any session. This is only annoying for now, the biggest issue is the registration not working.
- Ah ok. I understand now.
- Yes, the pms-register page is https://ironoasis.com/register – I knew about the Add New member, but that doesn’t seem to collect any payment information, right?
Thanks for the reply. Sorry about some confusion.
- Users can’t see product images.
- Ok, so not really an issue for signed out users. As per #3, normally a signed-out user won’t see that page because they will be redirected to login page anyway.
- However, for signed in users, they should be able to see the images, right? They do not.
- I’m confused a bit. This WAS working up as I had expected until this issue came up.
- There are only restricted products, Each subscription type has only one product they are able to “book”.
- When the user logs in, their membership allowed the restricted “product” to be displayed and ordered. It should correspond to item 4.2 on the Integrations documentation page.
- Are you saying that it should never have worked like that, ie only showed the one booking type to a user?
- Are you saying the FIRST redirect (currently /bookings/) is for logged-out users as well? If that’s the case… actually it shouldn’t matter, because the other Redirect plugin takes any logged-out user to the login page, as mentioned.
- Ok, now we may be getting somewhere at last. I assumed the user was active because I had created a new user from scratch. But when I went to double-check, it seems that the WP user is created but NOT the PMS member! This would probably explain why there was an issue seeing/accessing the restricted pages with my test account.
Since you’ll probably want to know, here’s the membership setup page. https://snipboard.io/5riZcN.jpg- One odd thing is that is says there are no discounts, but I used a discount to avoid the PayPal fee. I don’t know if that is important, but that has not changed since originally creating everything.
- I tried signing up again, without the discount, in test mode, but there’s still no new member created. Tried a couple different products/membership subscriptions.
- Adding a membership allows the customer to access the booking page and add a booking.
- However, again, all 4 types of subscriptions are displayed (this time with images at least), but that is not what happened in the past. There should only be the single membership type product displayed. And I was able to order multiple products instead of only the one I had a membership for.
So, some progress about why my test account was acting as if it was a non-member. But still no restrictions by membership in effect and new problem identified of signup not working.
Updated the plugin and tried again! (Thanks for the other answer. Oh well.)
Well…. it’s different. Although I suspect I understand some of what is happening.
Here is what the user gets when they click on the Book menu, signed in or not.
https://snipboard.io/kZXviK.jpg
- The product images are not displayed. Confirmed that without PMS activated, the image is displayed.
- ALL of the products are displayed instead of the one they have subscribed to. (when signed in)
- If the user is NOT signed in, normally I have a redirect set to send them to the login page instead of the Product page if not logged in.
- If they ARE signed in, all of the products are displayed, and clicking any will redirect the user to the non-member redirect page (pricing) instead of the product page, such as https://ironoasisgym.com/product/1-hour-1-person/
Here is the content restriction setup in PMS – https://snipboard.io/CB89wo.jpg
Again, this only happens when PMS is enabled. Everything works correctly when PMS is disabled. Just without new member signup ability, plus a registered user can book any type of session they want.
Just as a thought, we actually don’t NEED to go to the product page (although I’m sure other users would like that option to be working).
Our customers can have 1 subscription type, i.e. 1 or 2 hour booking, which are 2 different products. Is there any way to go directly to the product page (ie booking page) based on what subscription they have? It would be fantastic if that could be done. i.e. click on “book a session”, goes to the 1 or 2 hour booking (product detail) page, so they can immediately book without having to click on the ONE option they can see on the product page.
- Ok, the 1 hour product page: https://snipboard.io/2UnGLe.jpg
2. it is the official WooCommerce Booking plugin. Tried several others and none of them QUITE did everything we needed, at least not for the cost, which was still considerable. And even WC’s is lacking in several categories, but we have to live with it for now.
I tried with past versions, back to 2.14.1 and all have the same issue, operating the same.
When “include restricted content post” in settings is:
- turned on: shows all products, but won’t go to the product page when clicked
- turned off: doesn’t show anything
So I have to disable PMS entirely as a workaround for now.
- This reply was modified 1 year, 1 month ago by dgebel. Reason: typo