Home › Forums › Ticket Products › Event Tickets Plus › Continue Shopping Button
- This topic has 4 replies, 2 voices, and was last updated 8 years, 12 months ago by
Dan Feeley.
-
AuthorPosts
-
May 10, 2017 at 11:51 am #1281918
Dan Feeley
ParticipantHello, I have a question regarding having a “Continue Shopping” button when adding a wooticket to the cart.
I know this question was asked before https://theeventscalendar.com/support/forums/topic/add-continue-shopping-button/ stating that it was a WooCommerce setting however I get a continue shopping button when I add any other product to the cart except a ticket.
I have tried disabling all other plugins and even tried it with the Twenty Fifteen theme with no luck. I was wondering this was possible or am I missing something?
Thank you.
May 11, 2017 at 6:11 pm #1282673Geoff B.
MemberGood evening Dan and welcome back!
Thank you for reaching out to us.
I would love to help you with this topic.You are right, the default behaviour of Event Tickets Plus does not display the “Continue Shopping” button by default.
This was programmed this way because the majority of our customers do not have their tickets visible in the Shop.
With that in mind, there is nothing stopping you from doing a template override of /wp-content/plugins/event-tickets-plus/src/views/wootickets/tickets.php
You might want to read our Themer’s guide to get a sense of how that works.
You could loosely borrow from WooCommerce “normal” add to cart template.
We also have a couple of cart related snippets available. None of them actually do what you are looking for, but they could serve as inspiration/starting point for creating your own snippet (instead of going with a template override):
- https://gist.github.com/elimn/30c533fad7ee5ce4c3cb8a0f727c7190#file-tribe_prevent_add_cart_empty-php
- https://gist.github.com/cliffordp/f148a9cacd726e5a86ffeda2d2e204c1#file-functions-php
The second one tackles specifically what happens after hitting the “add to cart” button.
Let me know if that helps.
Have a great day!
Geoff B.
May 14, 2017 at 3:53 am #1283635Dan Feeley
ParticipantThanks Geoff,
I can understand the reasoning behind that, but you know what they say, there’s always one.
Thank again for the information. I was able to put something together.May 15, 2017 at 9:19 pm #1284188Geoff B.
MemberGood evening Dan,
Thank you for writing back and for your awesome understanding.
To your point, we totally understand and appreciate the fact that everybody has different requirements for their website.
This why we made sure our plugins are customizable when it comes down to view and behaviours.
You are welcome back in our support forums any time 🙂
For now, I am going to close this thread.
Have a great week!
Geoff B.
-
AuthorPosts
- The topic ‘Continue Shopping Button’ is closed to new replies.
