Home › Forums › Ticket Products › Event Tickets Plus › Add To Cart button not appearing in Firefox or Crome
- This topic has 7 replies, 2 voices, and was last updated 8 years, 5 months ago by
Callum.
-
AuthorPosts
-
November 20, 2017 at 4:09 pm #1387608
Callum
ParticipantHi there,
The ‘Add To Cart’ button is not appearing when browsing in Firefox or Crome on ticketed events such as this one: http://www.handlebards.com/tickets/as-you-like-it-the-museum-of-the-order-of-st-john/
How can I fix this please?
I would also like to get rid of the ‘Who’s Attending’ section and the ‘Don’t add me to public list’ boxes. How is this possible?
Thanks!
Callum
November 22, 2017 at 2:39 am #1388824Andras
KeymasterHi Callum,
I checked your event in the most recent versions of Firefox, Chrome, and IE and the add to cart button shows up as it should. Here’s a screenshot.
The easiest way to hide the “Who’s attending” section and the checkboxes is with this snippet:
.tribe-attendees-list-container, .tribe-tickets-attendees-list-optout { display: none; }Just copy that into your theme’s (child theme’s) style.css file and you should be set.
Note, this way the list and the buttons will still be visible in the code, but they will be hidden to the users.
If you want a more sophisticated solution, then you can create a template override of the files that contain these.
wp-content\plugins\event-tickets\src\views\shortcodes\my-attendance-list.php
and
wp-content\plugins\event-tickets\src\views\tickets\rsvp.php
and
wp-content\plugins\event-tickets-plus\src\views\wootickets\tickets.php
You can find more details on creating template overrides in our Themer’s Guide.
Hope this helps you get started. Let me know if you have any further questions.
Cheers,
AndrasNovember 30, 2017 at 1:26 pm #1396099Callum
ParticipantHi Andras,
Thank you so much for your help here – it worked perfectly!
One final question, how do I get rid of the new ‘buy now’ button on the listings page, that accompanies events? E.g. in the attached screenshot from page http://www.handlebards.com/tickets?
I tried to get rid of it before, but I couldn’t get rid of only that button without getting rid of the ‘add to cart’ button on the event listing page. They seem to share the same / similar code?
Thanks,
Callum
November 30, 2017 at 1:33 pm #1396105Callum
ParticipantP.S. That button doesn’t currently appear on the live site because the only event we have on at the minute is not ticketed. But if you could let me know for when I upload future shows with tickets, that would be great.
Thanks!
Callum
December 1, 2017 at 3:49 am #1396482Andras
KeymasterHey Callum,
I believe the fastest and easiest would be with this little css snippet. Put it in your theme’s style.css file, or wherever you usually put css customizations.
.events-list .tribe-events-event-cost form { display: none; }This will hide the button on the list view, but it will still be there in the code.
Let me know if this does the trick for you.
Cheers,
AndrasDecember 1, 2017 at 6:38 am #1396573Callum
ParticipantThank you Andras, you’ve been a HUGE help!
Callum
December 1, 2017 at 7:07 am #1396590Andras
KeymasterYou’re very welcome!
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
Cheers,
AndrasPS: If you like our plugins, and you didn’t yet do so 🙂 we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
https://wordpress.org/support/view/plugin-reviews/event-tickets/PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Doublethanks!
-
AuthorPosts
- The topic ‘Add To Cart button not appearing in Firefox or Crome’ is closed to new replies.
