Home › Forums › Welcome! › Pre-Sales Questions › Price in single event view
- This topic has 4 replies, 2 voices, and was last updated 9 years, 4 months ago by Geoff.
-
AuthorPosts
-
December 10, 2014 at 7:59 am #914184sanadomeParticipant
I have WooCommerce Tickets/event calender. Since the update to 3.9 the event view shows the price of the latest added ticket (i have several tickets for 1 event)
It is confusing when it shows 1 price while there are 5 different prices.
How can i remove the price here?December 10, 2014 at 8:15 am #914214GeoffMemberHi thereĀ Martijn! Thanks for getting in touch and welcome to the forums. š
Good question. The best way to remove the price field from the single event view is to override theĀ details.php template file. To do this:
- Make a copy of the file. It’s located at /plugins/the-events-calendar/views/modules/meta/details.php
- Create a new folder in your theme directory called tribe-events
- Create a new subfolder in there calledĀ modules
- Create a new subfolder in there calledĀ meta
- Drop your copied template file in there
Once the template is in your theme folder, you can customize it to suit your needs. In this case, delete lines 91-98, which removes theĀ tribe_get_formatted_cost() function from the template.
Give that a shot and let me know if it does the trick. š
Cheers!
GeoffDecember 16, 2014 at 9:40 am #920042GeoffMemberHey there, Martijn!Ā Just checking in to see if thereās been any further update or if you still need assistance on this one–let me know. š
Cheers!
GeoffDecember 17, 2014 at 12:26 am #920740sanadomeParticipantIt is working great now!
thanksDecember 17, 2014 at 7:14 am #921075GeoffMemberSweet, that’s great news! Great work.
I’ll go ahead and close this thread, but please feel free to hit us up with a new one if any other questions pop up. We’d be happy to help. š
Cheers!
Geoff -
AuthorPosts
- The topic ‘Price in single event view’ is closed to new replies.