Free events and booking without any price

[ad_1]

See the following thread: https://projectdmc.org/support/topic/display-price-but-hide-when-price-is-0/

Go to Event Manager Settings then select the Formatting tab. Then select the Advanced mode section and make sure “Advanced Mode” and “Super Advanced Mode” are both enabled. Then select the Events section and then scroll down to the Single Event Page and then modify the “Single event page format”.

Thank you for the quick reply, much appreciated! I am already in Super Advanced Modus, all I can see in the Single Event Page format is

<div style="float:right; margin:0px 0px 15px 15px;">#_LOCATIONMAP</div>
<p>
<strong>Datum, Zeit:</strong> #_EVENTDATES, <i>#_EVENTTIMES</i> Uhr<br>
</p>
{has_location}
<p>
<strong>Veranstaltungsort:</strong> #_LOCATIONLINK <br>
</p>
{/has_location}
<p>
<strong>Kategorien</strong>: #_CATEGORIES
</p>
<br style="clear:both" />
#_EVENTNOTES
{has_bookings}
<h3>Buchungen</h3>

Looks like you didn’t scroll down to see the entire single events page format. Here’s what mine looks like:

<section class="em-item-header" style="--default-border:#_CATEGORYCOLOR">
{has_image}
<div class="em-item-image {no_image}has-placeholder{/no_image}">
#_EVENTIMAGE{medium}
</div>
{/has_image}
<div class="em-item-meta">
<section class="em-item-meta-column">
<section class="em-event-when">
<h3>When</h3>
<div class="em-item-meta-line em-event-date em-event-meta-datetime">
<span class="em-icon-calendar em-icon"></span>
#_EVENTDATES    
</div>
<div class="em-item-meta-line em-event-time em-event-meta-datetime">
<span class="em-icon-clock em-icon"></span>
#_EVENTTIMES
</div>
#_EVENTADDTOCALENDAR
</section>

{has_bookings}
<section class="em-event-bookings-meta">
<h3>Bookings</h3>
{bookings_open}
{not_free}
<div class="em-item-meta-line em-event-prices">
<span class="em-icon-ticket em-icon"></span>
#_EVENTPRICERANGE
</div>
{/not_free}
<a href="#em-event-booking-form" class="button input with-icon-right">
Signup Now <span class="em-icon-ticket em-icon"></span>
</a>
{/bookings_open}
{bookings_closed}
<div class="em-item-meta-line em-event-prices">
<span class="em-icon-ticket em-icon"></span>
Bookings closed </div>
{/bookings_closed}
<p>

</p>
<h3>
SIGNUPS (#_BOOKEDSPACES signups)
</h3>
#_ATTENDEESLIST
</section>
{/has_bookings}
</section>

<section class="em-item-meta-column">
{has_location_venue}
<section class="em-event-where">
<h3>Where</h3>
<div class="em-item-meta-line em-event-location">
<span class="em-icon-location em-icon"></span>
<div>
#_LOCATIONLINK<br>
#_LOCATIONFULLLINE
</div>
</div>
</section>
{/has_location_venue}
{has_event_location}
<section class="em-event-where">
<h3>Where</h3>
<div class="em-item-meta-line em-event-location">
<span class="em-icon-at em-icon"></span>
#_EVENTLOCATION
</div>
</section>
{/has_event_location}
{has_taxonomy}
<section class="em-item-taxonomies">
<h3>Event Type</h3>
{has_category}
<div class="em-item-meta-line em-item-taxonomy em-event-categories">
<span class="em-icon-category em-icon"></span>
#_EVENTCATEGORIES
</div>
{/has_category}
{has_tag}
<div class="em-item-meta-line em-item-taxonomy em-event-tags">
<span class="em-icon-tag em-icon"></span>
<div>#_EVENTTAGS</div>
</div>
{/has_tag}
</section>
{/has_taxonomy}
</section>
</div>
</section>
{has_location_venue}
<section class="em-event-location">
#_LOCATIONMAP{100%,0}
</section>
{/has_location_venue}
<section class="em-event-content">
#_EVENTNOTES
</section>
{has_bookings}
<section class="em-event-bookings">
<a name="em-event-booking-form"></a>
<h2>Bookings (click on "send your booking" to sign up)</h2>
#_BOOKINGFORM
</section>
{/has_bookings}

The part you need to modify comes after the following

<h3>Buchungen</h3>

Trust me, I marked and copied ALL of what was in that field. But I now used the ‘Go back to default’ option and now I have all the other stuff. I can now change the codes on the other thread. Thank you again for the quick reply and your patience, I wasn’t aware the code was shortened, maybe my predecessor did that!

But: Still it shows on the single event page where people can book the event! So it says price for the event and total price/ overall price in the summary. I’d like to hide that. What am I missing?

Sorry, via the browser inspection tool I found the variables and figured out I needed to go to Booking form options, I thought it was part of the single page event. So it is solved now! Thank you so much for your help, @joneiseman

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer