Posted: March 27, 2015 at 12:41 pm
|
Hello, |
|
|
Hi, Yes it is, but you will need to create a custom template for it. The documentation (https://eventespresso.com/wiki/events-table-view-template-add-on/) discusses a parameter called template_file where you can link to a new custom template. You can use either of the two templates bundled with the addon as a basis for your own. |
|
|
Hello, |
|
Hi Ozguzhan, please take a look at this tutorial: https://gist.github.com/lorenzocaum/ef6afefd07c9c5f6f681 Let us know if you are able to get it working. — |
||
|
Hi Lorenzo, |
|
Hi, try removing it with CSS: .espresso-table-row .currency-code {display:none;} — |
||
|
it worked, but removed the wrong “CHF” :/ If it’s too difficult to fix, it’s ok we can leave it there. |
|
|
You can’t do it with CSS. You could change the pretty_price function in the code to ticket_price instead, but this will give a very basic result – instead of $10.00 (usd) it would show 10, so it would need more code to make it look pretty. This might work OK:
The above code replaces
|
|
|
Hello, |
|
Hi, try this: $tickets_price_free_check = $ticket_price_data_value == 0 ? __('Free','event_espresso') : (float)$ticket_price_data_value . ' (CHF)';
The above should replace the existing $tickets_price_free_check. Then use this to display the updated function (step 11 here https://gist.github.com/lorenzocaum/ef6afefd07c9c5f6f681): — |
||
|
Perfect, this worked:) Thanks a lot for your support on this!! |
|
The support post ‘Add price as separate column in the Events table view?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.