ticket stock

Home Forums Ticket Products Event Tickets Plus ticket stock

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #1054782
    František Lipták
    Participant

    Hi,

    I don’t like the feature which displays number of tickets sold and tickets remaining (e.g. 10 out of 20 available). Can I stop displaying this on my web?

    thank you
    Fero

    #1055000
    Brook
    Participant

    Howdy Fero,

    You can absolutely stop that from displaying by creating a theme override. What ecommerce plugin are you using? WooCommerce? Easy Digital Downloads? If you let me know I can give you more specific insructions.

    Cheers!

    – Brook

    #1055003
    František Lipták
    Participant

    Hi Broke,
    I am using woocommerce.

    #1055568
    Tipiwa
    Participant

    Great question! I would like to know the answer as well. Thank you.

    #1055574
    František Lipták
    Participant

    Hi,
    I got an answer from Geoff on another link. Let me know whether you can access it. There is no easy solution.

    event ticket plus – ticket email optins

    #1055589
    Tipiwa
    Participant

    Thanks František, but I believe that answer was to a different question from the one I have.

    I would like for the text ‘x out of y available’ number to not display next to where the user selects how many tickets they are purchasing. I tried the custom css .tribe-events-tickets .tribe-tickets-remaining {
    display: none;
    }
    as suggested on another thread, removed the whole table, which isn’t what I am after.

    I am still looking forward to an answer…

    #1055607
    František Lipták
    Participant

    Oh yes , sorry I got confused. I had two questions pending 🙂

    #1055758
    Brook
    Participant

    Howdy Guys,

    The easiest way to modify the front-end ticket form is by creating a theme override. Our Themer’s Guide  walks you through creating those. You will then want to modify one of the templates inside of public_html/wp-content/plugins/event-tickets-plus/src/views/  and remove the section you’re not interested. Which template and which thing to remove though depends on which exommerce platform you are using. Hence why I was wondering, that way i could give you more specific instructions.

    Fero, it sounds like you found a solution then. Awesome! Let me know if you need anything else.

    Tipiwa, if you need more specific instructions than the above we’d love to walk you through it. Mind opening a topic dedicated to your issue, and let us know what platform you’re using? That way we’ll avoid spamming Fero’s inbox.

    Cheers!

    – Brook

    #1055763
    František Lipták
    Participant

    Hi Brook,

    I still don’t have the solution, so I would welcome more guidance. As I said I am using woocommerce.

    What I pasted above was an answer to a different topic, I am sorry for the confusion.

    #1056020
    Tipiwa
    Participant

    Thanks for the response, Brook. I’m guessing I can continue to post here as Fero is also still looking for an answer.

    I am using Woocommerce too. I tried the override that you suggested here: https://theeventscalendar.com/support/forums/topic/remove-tickets-sold-stock/#dl_post-1045631

    and it makes complete sense. I deleted line 54, but that did not get rid of the text on my site. Maybe I’m doing it wrong?

    Please let me know if it is still best I open a separate thread. I would greatly appreciate a walk-through.

    Thanks

    #1056214
    Tipiwa
    Participant

    I tried again, paying closer attention and it worked. Thank you for your help.
    Fero, I hope you figure it out as well.

    #1056221
    František Lipták
    Participant

    I need my friend to have a look at it. I am sort of install and activate plug in guy 🙂 but on the second look it actually does not look as complicate. I might have a go myself. Cheers guys

    #1056329
    Brook
    Participant

    Excellent Tipiwa! Thanks for confirming it worked. Happy to hear you’re where you want to be. 🙂

    If I can be of more help Fero please let me know. To summarize, you should create a “theme override” for: public_html/wp-content/plugins/event-tickets-plus/src/views/wootickets/tickets.php On about line 54 you will see this:

    echo sprintf( esc_html__( '%1$s out of %2$s available', 'event-tickets-plus' ), esc_html( $remaining ), esc_html( $ticket->original_stock() ) );

    If you delete this line you should no longer see any mention of how many tickets are available. We have a step by step guide for creating theme overrides here: Themer’s Guide. I must admit that it takes a little knowhow to follow the guide, unfortunately that is somewhat necessary for changes like this. But if you have questions along the way, or if you friend does, we’ll be here.

    Cheers!

    – Brook

    #1058117
    barback
    Participant

    I hid the number of tickets sold by adding this to my custom css:

    .tribe-tickets-remaining {display:none;}

    #1058290
    Brook
    Participant

    Thanks for chiming in Barback! That is an easier solution.

    Using CSS like that does prevent it from being easily visible. But the information is still there if a competitor or interested party investigates, they can still find out how many tickets you’ve sold and how many total are available. The last person who requested this was quite privacy conscious, so I only thought to share the same method I shared with them – which does fully remove the info from the public. But if you’re really only interested in masking over the data then Barback’s solution is much easier and does the job perfectly.

    As always, let me know if I can be anymore help.

    – Brook

Viewing 15 posts - 1 through 15 (of 16 total)
  • The topic ‘ticket stock’ is closed to new replies.