Forum Replies Created
-
AuthorPosts
-
May 9, 2013 at 7:12 pm in reply to: 'Book' button on event list page AND on Event Description #48133
Barry
MemberIf you inspect the URL you can see there is a query appended like so:
?add-to-cart=xWhere x is the product ID. The WooCommerce [add_to_cart_url] shortcode seems to append this to the current page URL by default – but it also functions if you use it with the cart URL, something like:
example.com/cart/?add-to-cart=xWooCommerce may offer a hook to simply change the behaviour of the shortcode, or you could even create your own function to build this.
Barry
MemberExcellent, thanks for updating.
May 9, 2013 at 3:39 pm in reply to: 'Book' button on event list page AND on Event Description #48114Barry
MemberHi 1vertica,
With the same changes I suggested you make on your test site I don’t experience the same lack of a WooTickets form. We can definitely look into why that isn’t working for you (if you want to use the WooTickets default form that is).
In terms of adding an add to cart link, you could add these functions to your theme’s functions.php file. At the relevant point in your template you could then add:
<?php add_to_cart_wooticket_btns() ?>Points to note: you need to do this in the context of an event, for instance next to the_content() or the_excerpt(), otherwise it will not know for which event you wish to obtain add-to-cart links.
Another point is that it adds items to the cart but does not take them to the actual cart page (it simply behaves as per the [add_to_cart_url] shortcode provided by WooCommerce).
Hope that gives you a starting point to work from 🙂
Barry
MemberHi 1vertica,
It’s great that you’re part way to achieving what you want here. What I need to stress however is that while we can guide you (and in the thread you referenced even went a bit further and edited a template directly, albeit on a test site) that is all we can really commit to – providing guidance.
Ultimately, these sorts of customizations are not something we can do on your behalf. It is after all a $50 plugin and consequently there are reasonable limits to what we can do and still provide a good and fair level of support to all of our customers.
The basic approach outlined in the previous thread can be adapted for use with other templates such as the single event view, but (and please don’t hesitate to correct me if I am wrong) my sense is you need a considerable amount of hands-on support to guide you through the actual implementation – for that reason I think you’ll really need to consider using the services of a suitably skilled designer/developer to get that sort of assistance.
I hope that sounds reasonable and we definitely remain at your service should you need to bat ideas off of us.
Barry
MemberHi Steve,
You should be able to locate a line containing the following:
tribe_meta_event_cats();This could be removed completely or you could comment it out by prefixing it with a double slash // :
// tribe_meta_event_cats();Does that help here?
Barry
MemberHave you tried this plugin? Though it is a third party plugin and is not officially supported it essentially does what you want and is configurable through Events > Settings.
Barry
MemberHi!
To do this you would need to add new controls to the organizer UI page. Doing so isn’t really something we can guide you through – you would need some good WordPress development skills to accomplish this.
It’s a good idea though, so do feel free to visit our UserVoice page and either create a new feature request or else if there is an existing request for this you can show your support for the idea.
Thanks!
Barry
MemberIt’s contained in the plugin directory:
the-events-calendar/resources/events.css
Barry
MemberHi rgzamith,
You would need to change/add some stylesheet rules and possibly make some changes to your templates.
This isn’t really a WooTickets issue though, it’s really a more general problem so I’m going to move this across to our Events Calendar PRO forum. In them meantime, please take a look at our Themer’s Guide for information about customizing the events stylesheet and how to make customizations by overriding templates.
Thanks!
Barry
Member(Closing since the original problem of listing ticket prices on the upcoming events list has been resolved – feel free to create new threads per support topic as needed 🙂 )
Barry
MemberWhere possible and when it makes sense, absolutely.
Barry
MemberYou can place tickets.php in your theme’s events directory. In terms of further upgrade-proofing you could do all of this via a child theme or otherwise follow your theme author’s instructions in this regard.
Barry
MemberThanks Jordan – that’s good to hear. I’ll close this but of course feel free to create new threads as and when needed.
Barry
MemberHi informationstreet,
No currently WooTickets does not do this – but see J-P’s workaround in this thread – we’re aware of the demand for this and are currently assessing it as a future feature, however a firm decision has not yet been made and it almost certainly will not be included in the next release.
Does that answer your question?
-
AuthorPosts
