Home › Forums › Ticket Products › Event Tickets Plus › Add to cart button to list event page
- This topic has 10 replies, 4 voices, and was last updated 9 years, 10 months ago by
Luke Baldwin.
-
AuthorPosts
-
June 1, 2016 at 8:19 am #1121166
Luke Baldwin
Participantif ( class_exists( ‘Tribe__Events__Tickets__Woo__Main’ ) ) {
add_action( ‘tribe_events_after_the_event_title’, array( Tribe__Events__Tickets__Woo__Main::get_instance(), ‘front_end_tickets_form’ ) );
}Add to cart not show up at event list page.
I tried above at my theme functions.php and its not working
Also some events not show up price….
June 1, 2016 at 10:36 am #1121276Geoff B.
MemberGood afternoon Luke and welcome to the Events Calendar Support forum!
Thank you for reaching out to us.
I would love to help you with these topics.
As a first troubleshooting step, could you please provide us with your complete system information in a private reply using the instructions found in the following link?
https://theeventscalendar.com/knowledgebase/sharing-sys-info/
I realize you have already provided some of that information, but I would need the full list.
Secondly, a snippet to impact the list view should be added as a template override in the copy of the list view file in your WordPress theme and not in functions.php.
You might want to read our Themer’s guide to get a sense of how that works. Read the intro and then look specifically for the list view section.
Also some events not show up price….
Could you give me specific examples (URL) of that ? Also, could you provide me with a screenshot of the edit event screen of such an event ?
Best regards,
Geoff B.
June 1, 2016 at 12:04 pm #1121317Luke Baldwin
ParticipantHi
See below my system settings:
—-
HOME URL
http://sdhwpc.org
SITE URL
http://sdhwpc.org
INSTALL KEYS
events-calendar-pro = d17327c673208c848d3851efde0bec0237525ad6
WORDPRESS VERSION
4.5.2
PHP VERSION
5.4.28
PLUGINS
Event Tickets Plus version 4.1.3 by Modern Tribe, Inc.(http://m.tri.be/28)
Event Tickets version 4.1.4 by Modern Tribe, Inc.(http://m.tri.be/28)
The Events Calendar PRO version 4.1.3 by Modern Tribe, Inc.(http://m.tri.be/20)
Redirection version 2.4.4 by John Godley(http://urbangiraffe.com)
The Events Calendar Category Colors version 4.4.5 by Andy Fragen, Barry Hughes(http://thefragens.com)
The Events Calendar Shortcode version 1.0.11 by Dandelion Web Design Inc.(http://dandelionwebdesign.com)
The Events Calendar version 4.1.4 by Modern Tribe, Inc.(http://m.tri.be/1x)
Woo AJAX Cart version 1.1 by Moises Heberle(http://codecanyon.net/user/moiseh)
WooCommerce version 2.5.5 by WooThemes(http://woothemes.com)
NETWORK PLUGINS
–
MU PLUGINS
–
THEME
Enfold Child
MULTISITE
–
SETTINGS
tribeEventsTemplate =
stylesheetOption = full
tribeDisableTribeBar =
schema-version = 4.1.4
recurring_events_are_hidden = exposed
previous_ecp_versions = Array
(
[0] => 0
)
latest_ecp_version = 4.1.4
disable_metabox_custom_fields = hide
pro-schema-version = 4.1.3
last-update-message = 4.1.4
earliest_date = 2016-05-27 08:00:00
earliest_date_markers = Array
(
[0] => 122
)
latest_date = 2016-07-24 23:59:59
latest_date_markers = Array
(
[0] => 142
)
tribeEnableViews = Array
(
[0] => list
[1] => month
[2] => week
[3] => day
[4] => photo
)
postsPerPage = 10
liveFiltersUpdate = 1
hideSubsequentRecurrencesDefault =
userToggleSubsequentRecurrences =
recurrenceMaxMonthsBefore = 24
recurrenceMaxMonthsAfter = 24
showComments =
showEventsInMainLoop =
eventsSlug = events
singleEventSlug = event
multiDayCutoff = 00:00
defaultCurrencySymbol = £
reverseCurrencyPosition =
embedGoogleMaps = 1
geoloc_default_geofence = 25
geoloc_default_unit = miles
embedGoogleMapsZoom = 10
debugEvents =
tribe_events_timezone_mode = event
tribe_events_timezones_show_zone =
WORDPRESS TIMEZONE
–
SERVER TIMEZONE
UTC
COMMON LIBRARY DIR
/home/sdhwpc/public_html/wp-content/plugins/event-tickets/common/src/Tribe
COMMON LIBRARY VERSION
4.1.2June 1, 2016 at 8:57 pm #1121457Geoff B.
MemberGood evening Luke,
Thank you for the system information.
My initial suggestion still stands, you will need to do a template override of the list view as explained here: https://theeventscalendar.com/knowledgebase/themers-guide/
In other words, you need to find the file you are interested in modifying from the guide, make a copy of it in your theme’s /tribe-events/ folder and add your snippet in.
Also some events not show up price….
Could you give me specific examples (URL) of that ? Also, could you provide me with a screenshot of the edit event screen of such an event ?
Finally, some of our users have been struggling while trying to accomplish overrides with Enfold. If that’s the case, you might want to read the following: http://www.kriesi.at/support/topic/default-template-settings-missing-from-event-calendar-pro/
Let me know how that goes.
Best regards,
Geoff B.June 1, 2016 at 9:29 pm #1121464Luke Baldwin
ParticipantAll i did as you described but still not get add to cart button at
http://sdhwpc.org/events/list/
And see this http://prntscr.com/bbahb6
This event not have price.
-
This reply was modified 9 years, 11 months ago by
Luke Baldwin.
June 1, 2016 at 11:39 pm #1121475Luke Baldwin
ParticipantOkay i just added this one to single-event.php
<?php do_action( ‘tribe_events_single_event_after_the_meta’ ) ; ?>
and cart is showing at the image point.
But now i just want ajax cart. I just installed Ajax cart plugin. Is that possible ?
June 2, 2016 at 3:33 pm #1121945Geoff B.
MemberGood afternoon Luke,
Kudos on figuring things out.
If I get this correctly, you have also fixed the issue with the event not showing the price (based on what I can see here http://sdhwpc.org/events/list/). Can you confirm ?
If that is not the case, could you provide me with the URL where the event price is not displaying, as well as a screenshot of the Edit Event screen for that event ?
But now i just want ajax cart. I just installed Ajax cart plugin. Is that possible ?
That’s a great question. I guess the answer to that question is yes. But you would have to use a filter on the cart to replace it by your Ajax cart.
Alas, as you might guess, supporting third-party plugin integration is a bit outside the scope of our usual support.
But, I would recommend contacting the plugin author to see if he has any suggestion for you.I wish I had a better answer for you, but for now it’s the best one I have.
Have a great day!
Geoff B.
June 3, 2016 at 12:41 am #1122068Luke Baldwin
ParticipantHi Geof
Thanks for the reply.Here is screenshot which showing the price is not there.
Here is URL http://sdhwpc.org/events/list/
Please suggest Ajax Cart plugin and which filter i can use for the cart?
Can you help me out ?
Regards,
Lucas
June 3, 2016 at 11:28 pm #1122449Geoff B.
MemberGood evening Lucas,
Here is URL http://sdhwpc.org/events/list/
I am seeing the £15 price at the suggested URL.
Can you tell me what browser you are using and under which OS ?As for your second question, I would advise reading the following thread and looking at the snippets provided: https://theeventscalendar.com/support/forums/topic/add-to-cart-via-ajax/#post-1012713
Let me know if that helps.
Have a great day!
Geoff B.
June 18, 2016 at 9:35 am #1128896Support 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. -
This reply was modified 9 years, 11 months ago by
-
AuthorPosts
- The topic ‘Add to cart button to list event page’ is closed to new replies.
