carquisa
Forum Replies Created
-
I don’t have any cache plugin in my site. Not sure about the server cache system.
Thank you!
The button is not a subscription one, just a one payment button. Most of the times it is working fine, but some times the user gets the error.
The parameter has been added as I was told in this post: https://simple-membership-plugin.com/forums/topic/how-to-change-stripe-payment-method-with-hook/
Thank you joneiseman!
I will try with something like that. I found a couple of mistakes in your code, I think it should be like:
add_shortcode('em-bookings-closed', function() {
global $EM_Event;
if ( !is_user_logged_in() )
return "Please login";
if ( $EM_Event->get_bookings()->is_open() )
return "Bookings Closed";
return "";
});It’s a shame I can’t use conditionals in the description. Thanks for the quick response.
This is how I have my settings.
I may not have explained myself well:
- When an offline user arrives at the event page, the message says “Bookings closed.”
- When the event is sold out and the user is logged in, the message says “Bookings closed.”
Both messages are the same and are configured together. Is there a place where they can be configured separately?
Thank you again!
I managed to change the message, but it is the same for the logged out users or the sold out event. It will be ok now, but a little bit confusing whenever the event is sold out.
Thanks for the reply joneiseman!
I tried changing that message but it should be for a sold out event. It hasn’t changed the message for logged out users.
I changed the maximum number of tickets to see if anything changes and the message is already “Bookings closed”, it didn’t changed althought I had changed the settings to “Bookings closed 2”.