Home › Forums › Ticket Products › Event Tickets Plus › Installation Problem
- This topic has 9 replies, 4 voices, and was last updated 9 years, 10 months ago by
PAULUS.
-
AuthorPosts
-
June 11, 2016 at 2:14 pm #1125733
PAULUS
ParticipantI’m using:
WP 4.5.2, WooCommerce 2.5.5, Event Tickets 4.2, and Event Tickets Plus 4.2
Without Event Tickets Plus activated, I can find the checkbox for Product under Events > Settings > Tickets. So, everything works.
Once I activated Event Tickets Plus (I just bought the license and Events > Settings > Licenses indicates a Valid Key) , the checkbox for Product is gone.
Any help?
June 12, 2016 at 8:21 pm #1125962George
ParticipantHey @PAULUS,
Thanks for reaching out. This is actually something that is implemented by design.
Why, might you ask? Well, when Event Tickets is activated just by itself—without Event Tickets Plus—then the only “ticket” type available is the RSVP type.
This RSVP type has nothing to do with WooCommerce.
And so “Products”, which are a post type provided by WooCommerce, are something completely separate from RSVPs. Thus, you can check the “Products” box which basically says, “Let RSVPs show up on Products.”
This all changes when Event Tickets Plus is activated, because Event Tickets Plus offers another type of ticket: the “Ticket” type.
Unlike RSVPs, “Tickets” are themselves WooCommerce “products” types. So you could not check the “Products” post type without causing issues—it’s a weird paradox, where basically the code would be trying to say, “Let tickets (products) show up on products.” This could create a situation where WooCommerce Products are trying to display on themselves, in other words…which could break things.
So what you find is by design.
With all of this being said, you may still be able to use tickets on the “Products” post type…please do so carefully, though, and proceed with caution and with thorough testing before relying on this functionality. To preserve the “Products” item in that checkbox, add code like this to your theme’s functions.php file:
add_action( 'init', 'paulus_include_products_post_type_on_tickets_settings' );function paulus_include_products_post_type_on_tickets_settings() {
$tribe_woo = Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance();
remove_filter( 'tribe_tickets_settings_post_types', array( $tribe_woo, 'exclude_product_post_type' ) );
}
I hope this helps!
GeorgeJune 12, 2016 at 10:39 pm #1125981PAULUS
ParticipantYour “weird paradox” is very interesting. But, I find it not consistent with the non-Plus version. My 2 cents.
Anyway, my finding is: the Product checkbox is still there, it is just not being shown. And, if you accidentally clicked the “Save Changes” under Events > Settings > Tickets, an unchecked Product is saved. You’ll lost the Tickets information box in Products edit. Same situation for the other 2 checkboxes, the Post and the Page.
To verify this (activate both Event Tickets and Event Tickets Plus):
1. Events > Settings > Tickets. If you checked the Post, saved your changes, refresh your screen. The Post checkbox is not checked. But, if you go to edit one of your posts, you can find the Tickets information box to edit.
2. Now, go back to Events > Settings > Tickets. The screen shows that both the Post and the Page are not checked. Click “Save Changes”. Try to edit the same post, the Tickets information box is not there.
It’s safe to say that:
1. The current values is not reflected correctly under Events > Settings > Tickets.
2. If you click “Save Changes”, the screen values are saved.
3. If the Product checkbox is not shown, once you click “Save Changes”, you disabled Tickets in WooCommerce products.Your snippet shows the Product checkbox, a temporary fix for me.
By the way, I’m using theme 2016 for the test.
June 13, 2016 at 6:29 pm #1126469George
ParticipantHey @PAULUS,
I do not find what you find. Here is a short video (under 30 seconds-ish) of me adjusting the check-boxes and such, leaving the page and coming back to it, etc. It all works fine.
Please watch that here ? https://cloudup.com/cZWRVOFc5Vb
Furthermore, after this video I did more testing. When I checked the posts, venues, and organizers boxes, I checked some posts, some venues, and some organizers in the admin. They all had Tickets metaboxes on them as expected.
I then un-checked those types, and then checked out the Tickets metaboxes, and they no longer showed—as expected.
So we’re finding different things here, it seems…you posted some site information in your first post, but despite that, can you post your complete, un-edited System Information? Here’s how to do that ? https://theeventscalendar.com/knowledgebase/sharing-sys-info/
I will take a closer look and see if that reveals any useful information here.
Thank you!
GeorgeJune 14, 2016 at 10:26 am #1126862PAULUS
ParticipantGood to hear that it works in your side! Oh, I forgot to emphasise I don’t use your Event Calendar.
The reason I bought the Plus version is that I want to use the Attendee form and then may be the “Check In” function. I can’t test run it using the non-Plus version, so I bought the Business license. But, I don’t like the “card view” for Attendee form filling. In my case, my customer needs to fill up 1 option & 4 text boxes. If my customer wants to buy 5 tickets, the contents on screen become too long and needs a lot of scrolling. If there’s a layout to do it horizontally, line by line, I would come back to use it. For now, I’ve changed my mind to allow the customer to upload an Excel file attached to the order.
Here’s my System Information for your reference, I’ve added more plugins and changed the theme since:
HOME URL
http://xxxxxxxxxxxx.com
SITE URL
http://xxxxxxxxxxxx.com
INSTALL KEYS
event-tickets-plus = xxxxxxxxxxxxxxxxxxxxxxxx
WORDPRESS VERSION
4.5.2
PHP VERSION
7.0.4-7ubuntu2.1
PLUGINS
Alipay For WooCommerce version 1.3.4 by CodingPet(http://www.codingpet.com)
Content Views version 1.8.5 by PT Guy(http://profiles.wordpress.org/pt-guy)
Debug Bar version 0.8.4 by wordpressdotorg(https://wordpress.org/)
Easy Custom Auto Excerpt version 2.3.3 by tonjoo(https://www.tonjoostudio.com/)
Event Tickets Plus version 4.2 by Modern Tribe, Inc.(http://m.tri.be/28)
Event Tickets version 4.2 by Modern Tribe, Inc.(http://m.tri.be/28)
Native Emoji version 1.0 by Davabuu Designs(http://davabuu.com)
Nav Menu Roles version 1.8.2 by Kathy Darling(http://www.kathyisawesome.com)
Paid Memberships Pro version 1.8.9.3 by Stranger Studios(http://www.strangerstudios.com)
Paid Memberships Pro – WooCommerce Add On version 1.2.11 by Stranger Studios(http://www.strangerstudios.com)
TinyMCE Advanced version 4.3.10.1 by Andrew Ozz(http://www.laptoptips.ca/)
WooCommerce Upload My File version 0.3.9 by bpluijms,WP Fortune(http://wpfortune.com)
WooCommerce version 2.6.0 by WooThemes(https://woothemes.com)
WP Chinese Conversion version 1.1.15 by Ono Oogami(https://oogami.name/)
NETWORK PLUGINS
–
MU PLUGINS
–
THEME
Spacious
MULTISITE
–
SETTINGS
Array
Array
1
3.9
hidden
Array
4.2
4.2
Array
2016-06-20 00:00:00
Array
2016-06-20 23:59:59
Array
1
WORDPRESS TIMEZONE
Asia/Hong_Kong
SERVER TIMEZONE
UTC
COMMON LIBRARY DIR
/var/www/html/wordpress/wp-content/plugins/event-tickets/common/src/Tribe
COMMON LIBRARY VERSION
4.2June 14, 2016 at 11:32 am #1126898George
ParticipantHey Paulus,
I see this thread is now marked “resolved”—did you do that intentionally? Do you consider this thread “resolved”?
— George
June 14, 2016 at 11:44 am #1126914PAULUS
ParticipantYes, your code works. I think it’s “resolved”. Of course, I appreciate your further advises if you find anything wrong with my WP setup, or you have a better solution.
June 14, 2016 at 12:53 pm #1126943George
ParticipantThank you for confirming. I don’t spot anything “wrong” with your site per se, but since we’ve found different behaviors with the same feature, there could be some deeper code conflict going on.
If it doesn’t seem to cause any problems, then no worries; however, if you want to explore such possibilities of a conflict, then feel free to do the steps outlined in this article; then check on the check-box issue after EACH STEP in the process, and see if the behavior changes at all any where along the way. :point_right: https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
That is optional, though—just wanted to throw this out there.
Sincerely,
GeorgeJune 29, 2016 at 9:35 am #1133512Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Installation Problem’ is closed to new replies.
