Home › Forums › Ticket Products › Event Tickets Plus › Tickets and GST display
- This topic has 8 replies, 2 voices, and was last updated 8 years, 2 months ago by
Michele Justin.
-
AuthorPosts
-
January 3, 2018 at 5:38 pm #1417568
Michele Justin
ParticipantGday Tribe forumites
In Australia, it is mandatory to display pricing including GST.
The easiest way to add data is to put the ex GST price in (eg. $98) and let the computer do the maths to display the GST inclusive price ($107.80).
The Tickets plus combination with WooCommerce allows one of the frontend display areas to display the GST inclusive, and I suspect this is WooCommerce coding.
However, the primary area for the ticket price does not calculate, it shows the original input.
Here is a screenshot: https://screencast.com/t/ZBmqzCspXbMb
Could anyone provide a function that calculates this field to then display with calculated GST total on the frontend?
cheers
Darryl (Dev for Michele)
January 4, 2018 at 7:46 am #1417889Jaime Marchwinski
KeymasterHi Darryl,
Thanks so much for reaching out!
I would recommend setting up the taxes through WooCommerce (which it sounds like you have already done), and then find the template within WooCommerce that calculates the taxes. You can copy that code into template file that you need and try to have the amount calculated there as well.
You can reference our Themer’s Guide to see what template to edit. I’d recommend starting off by looking at the /wp-content/plugins/event-tickets-plus/src/views/wootickets/tickets.php.
If all else fails, you can hide the price field that doesn’t take GST into account, or add a note next to it saying that it is minus tax.
Let me know how it goes and if you have any other questions along the way!
Thanks,
Jaime
January 7, 2018 at 6:57 pm #1420134Michele Justin
ParticipantThanks Jaime, I will try the code customisation as per your suggestion. Do you know if the wootickets plugin customisations be abstracted out to a child theme as well?
January 8, 2018 at 8:17 am #1420447Jaime Marchwinski
KeymasterHi Darryl,
Yes, you should be able to copy and customize all code to a child theme. In fact, it is recommended to go about it that way, so that when the theme is updated, you will not lose your customizations.
Let me know how it goes!
Thanks,
Jaime
January 8, 2018 at 8:35 pm #1421005Michele Justin
ParticipantThanks for your help Jaime. I do use child themes for themes, but I was referring to the plugins, which as far as I know, can’t go into the child theme with any programmatic effect.
Is there any documentation with Tribe about how to extend the plugins without modifying the core files?
January 8, 2018 at 8:39 pm #1421007Michele Justin
ParticipantSorry Jaime, I just saw your hyperlink a couple of replies back…all good, found the Themer’s guide, much appreciated.
January 9, 2018 at 9:41 am #1421595Jaime Marchwinski
KeymasterGreat, let me know if you have any other questions on this topic!
January 31, 2018 at 8:35 am #1440690Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Tickets and GST display’ is closed to new replies.
