Support

Home Forums Event Espresso Premium Espresso Events Displaying as FREE and Ticket price incorrect

Espresso Events Displaying as FREE and Ticket price incorrect

Posted: June 8, 2013 at 4:36 pm

Viewing 6 reply threads


aanderson

    June 8, 2013 at 4:36 pm

    Hi guys,

    I’m back. Okay So I was using the calendar feature not the list and didn’t notice that after this update everything got messed up again.

    I had to remove this code from event list display to get rid of it saying FREE but now I noticed AGAIN that the amounts are incorrect. Can someone please help?

     

    <?php } else { ?><p id=”p_event_price-<?php echo $event_id ?>” class=”event_price”>

    <?php echo __(‘Free Event’, ‘event_espresso’); ?></p>

    http://www.newyorkbroadwaytours.com/event-registration/

     


    Dean

    • Support Staff

    June 10, 2013 at 4:48 am

    Hi

    Can you clarify a little bit here, what prices are wrong? How are they wrong?


    aanderson

      June 10, 2013 at 2:08 pm

      Hi. Okay. So

      1.) The price should never list as FREE

      2.) I do have other prices available they start at $25, $20, $15, and then 0 for kids 10 and under.

      In the list of events some of the tours are listing as FREE when they are $25 for general admission and some of them don’t even say $25 at all.

      Can someone please advise how to fix? -AA


      Josh

        June 11, 2013 at 7:57 am

        Hi there,

        The event list template will display one of the available prices. There’s a template modification that will force it to display the first price entered. If you open up event-list-display.php and look for the code (near the end of line 70) that says:

        <?php echo  $org_options['currency_symbol'].$event->event_cost; ?>

        you can replace it with:

        <?php echo  $org_options['currency_symbol'].do_shortcode('[EVENT_PRICE event_id="'.$event_id.'" number="0"]'); ?>

        Then, if you copy the event_list_display.php template into the active WP theme’s folder, the changes will not get overwritten on the next software update.


        aanderson

          June 11, 2013 at 12:29 pm

          Thanks so much! It’s not saying Free anymore but now sometimes it shows the price and then sometimes it doesn’t.  Is there any way to correct that part? Sorry. -AA


          aanderson

            June 11, 2013 at 12:29 pm

            Sorry the link is: http://www.newyorkbroadwaytours.com/event-registration/


            Josh

              June 12, 2013 at 9:04 am

              That’s kind of strange. Can you copy the section of code that was changed in event-list-display.php and post here so we can take a look? (it would help to see a few lines above and below)

              Viewing 6 reply threads

              The support post ‘Espresso Events Displaying as FREE and Ticket price incorrect’ 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.

              Event Espresso - Staging Server