Forum Replies Created
-
AuthorPosts
-
1vertica
ParticipantHi Barry, we tried to merge code from the samples above where the price variable is displayed but it doesn’t display anything on our site live. Pastebins for these two files can be found below, maybe you could highlight why they don’t work for us?
Pasted both those in and still does nothing.
The modified list.php file is here:
http://pastebin.com/e87A61XuThe modified ticket.php file is here:
http://pastebin.com/7BERbGatRegards,
Rob1vertica
ParticipantHi Barry
Thank for the response.My developer has been looking at customising the templates above as mentioned but cannot see any tags for the wootickets price to insert into the templates.
Nor can he see where the code is to put a the add to cart url behind a button on these pages.
My question isn’t whether it is possible or not as it definitely is!
The question is where is the code for these functions so that we don’t have to use the unecessary steps of adding custom fields …
Thanks in advance (ps I am not a developer so apologies if my wording isn’t correct, hope I’ve explained the concept properly though!)
1vertica
ParticipantAn addition to this as I am trying to do get the same result using the standard Events Calendar plugin and Wootickets.
There is a field in the back-end to enter price for a ticket – is there code that looks up that price so that we can output it in the front end on the event list page and on the event description page?
By using the wootickets add-on, it communicates with woocommerce to create a product that is linked to the event – there is then an add to cart button as standard on the event listing page at the bottom within the wootickets box.
We want to output that ‘Add to Cart’ button on the event list page and at the top of the event description before the description so that users have plenty of opportunities to book.
Has anyone located where to look up that code to use it in the respective page templates?
A workaround would be to create the wootickets product, go to woocommerce and get the product ID, use a custom field to enter the woocommerce add to cart URL for that product ID in the event description back end, use the value in that custom field to create the button.
I suppose the same is true for the price field …
However, this is longwinded with extra steps to get the product ID code which Wootickets will be looking up anyway.
We would also have to enter the price in 2 places which is confusing – again the field is already there in Wootickets.Has anyone had any joy with something similar – I can even see something similar in the showcase page https://theeventscalendar.com/showcase-item/victoria-symphony/
April 18, 2013 at 7:28 am in reply to: Wootickets – event list buy button, no pdf ticket plus other pre-sales questions #462191vertica
ParticipantHi Rob
I’ve purchased Wootickets with the free Events Calendar Plugin and testing – just struggling with 2 of my points above.Here goes …
We want to use the Cost field from the Wootickets section to include on the event list page for each event AND in the top section of the event listing for each event – however we cannot find the hook for that to add to the template? Please can you help with this?We also want to create a ‘Buy Now’ style button on the event list page AND in the top section of the event listing that adds the wooticket product to the cart but don’t know where this code would be.
Hope that makes sense? This is all code that must be contained within the Wootickets plugin to be able to have the add to cart button generated at the bottom of the listing as happens on your demo page … http://wpshindig.com/event/the-events-calendar-wootickets-wordpress-demo/
Thanks
Rob -
AuthorPosts
