Posted: September 3, 2013 at 9:08 am
|
I have 2 events: one for all users (Registrazione Privati) and one only for registered users (Juventus Vs Hellas Verona 22 Set 2013 – Tribuna Est). If I click on the event to which only registered users can access, the system tells me that in order to proceed, I have to login or register for the site. So far everything works! I think I know what the problem is but I do not know how to solve it. Can you please fix this error?
|
|
A question: Thanks in advance |
|
Someone can answer me, please? |
|
Can I have your support please? |
|
Hi, I couldn’t see the “Nuovo Utente? Registrati” message. Instead I clicked the main link for Registrazione Privati. On adding the event to cart, I did see the correct continue button. Did you turn off the members plugin? On a test site I added a members only event to cart and tried to view cart, it told me to log in, I did so. I then carried on with the registration without an issue. I notice that you have modified some files including the shopping cart file. Could you please temporarily rename the wp-content/uploads/espresso/templates directory and try the process again with the default files. If it works, as it should, then there is an error in the modified files. |
|
Hi Dean, Inside the event description I used this shortcode: [ESPRESSO_CART_LINK anchor = “BUY EVENT” direct_to_cart = 1 moving_to_cart = “PLEASE WAIT …”] because on the post that is created, I want the button “Add to cart”. If you click the button “Acquista Evento”, the system will inform you that this event is for members only, and you must log in or register. If I make the login is no problem but if I click on “Nuovo Utente? Registrati” I get redirected to “Registrazione Privati”. By clicking on the “Registrati” button, I get redirected to the shopping cart but I can not register I attach a screenshot so I give you a better idea. Please, make a simulation on my website (http://aicsturitalia.it/privati) following the schema of the screenshot. Thanks in advance |
|
Hi, OK, well I can agree that it is happening. What I do not understand is why the Registrati link is sending you to the other event. That link should send you to the login/registration screen. I tested your shortcode above and thats what happened, I got sent to the login screen. I tested it again in Italian and the message is different http://d.pr/i/GiQh. Have you amended any of the core templates at all? |
|
Hi, I did this because I need to use the event “Registrazione Privati” (event for all) to register users to the site. In fact I use this snippet (https://gist.github.com/Apina/5576163) so that when a user registers for that event, he is also registered as a wordpress user. As for the message, I have only changed the sentences in the Italian language file. I propose you again the question that I wrote above: |
|
Can anyone help me, please? |
Hi Marco, I think the solution you’re looking for can be done by wrapping the [ESPRESSO_CART_LINK] shortcode that’s in the event’s description with a [is_user_logged_in] or [restrict] shortcode (or equivalent). There are many WordPress plugins out there that add this functionality. Here are a few I can recommend: http://wordpress.org/plugins/restrict-content/ http://wordpress.org/plugins/members/ |
|
|
Thank you Josh. |
The support post ‘Error Cart’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.