Show how many seats are left 2

Home Forums Ticket Products Event Tickets Plus Show how many seats are left 2

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #1214829
    websource
    Participant

    Hi george

    Some Time ago i created this post:
    https://theeventscalendar.com/support/forums/topic/show-how-many-seats-are-left/
    and this UserVoice Thread: https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/5605710–sold-out-only-x-positions-left-etc-type-label

    As there is still no update on this one i’ll go ahead and pass you some questions to the snippet here:
    https://gist.github.com/ggwicz/bb71d468a8139b1918e830ea302bc7af

    Could you work some more on the snipped that it also shows me the Summary of all Tickets (dont matter if they are RSVP or WooCommerce or any else)? Functionality is great as it is. Just need to have all the possible Tickettypes to be shown.

    Thanks
    Brian

    #1215425
    Andras
    Keymaster

    Hello Brian,

    Thanks for reaching out!

    Per our terms and conditions we support features of the plugins and although we try to help get you started on customization but for the most part you are going to have to take it on to complete.

    I will check with the team is there is anyone who could help out with this and will let you know, but I cannot guarantee anything. I’ll let you know as soon as have something.

    Or you can hire someone to help you out with this customization. Here’s a list of some developers who are well known in the community and are not affiliated with us, they might be able to help you out with this as well:

    https://theeventscalendar.com/knowledgebase/find-a-customizer/

    Thanks for your understanding.

    Cheers,
    Andras

    #1215444
    Andras
    Keymaster

    A clarification question:

    Event Tickets Plus supports WooCommerce, Easy Digital Downloads, Shopp and WP eCommerce. Plus RSVPs by default.

    Would you like to have all of these included or only WooCommerce + RSVP?

    When listing the availability, do you want a total number shown or separate totals by provider?

    Thanks!

    Andras

    PS: I still couldn’t get a hold of anybody yet…

    #1216031
    websource
    Participant

    Hi Andras

    Thanks for your reply. It would make sense to include all if possible.
    They done need to be shown seperate. A Total is great.

    Thanks
    Brian

    #1216087
    Andras
    Keymaster

    Thanks for the clarification Brian.

    We will try to look into it, might take a couple of days. I’ll be in touch.

    Andras

    #1218891
    websource
    Participant

    Hi Andras
    When will you be able to take a look at this?
    Thanks
    Brian

    #1219273
    Andras
    Keymaster

    Hello Brian,

    We have tweaked the ticket a bit further, as much as our time allowed. You can get a count of remaining tickets separately. For that you will need add another instance of the snippet, but just swap the line of code that cites the Woo class so that it cites the RSVP class instead.

    Here’s the snippet again, and you will be able to see the comments in it.

    https://gist.github.com/ggwicz/1926214a50e286182fd13950bc23e17f

    This is as much as we can do about this. I hope this helps.

    Cheers,
    Andras

    #1219496
    websource
    Participant

    This reply is private.

    #1219659
    Andras
    Keymaster

    Hi Brian,

    I don’t see anything in your functions.php that would stand out. What I can think of is the awkward case of more tickets being sold than the stock.

    Try changing like 464 from this:
    if ( $stock_count - $sold_count == 0 ) {

    to this
    if ( $stock_count - $sold_count <= 0 ) {

    So it will also print the message if the result is negative.

    I just tested the code on my test site and it worked.

    Let me know if that help solve it.

    Cheers,
    Andras

    #1219687
    websource
    Participant

    Hi there

    Just tested this one: http://support.websource.li/events/list/
    Also added some interesting information for you.

    Is there something we have to fix at this function?
    StockCount seems to be wrong when all are sold out.

    Thanks
    Brian

    #1220252
    Andras
    Keymaster

    Hey Brian,

    That looks quite promising!

    I think nothing needs to be adjusted. Check on the WooCommerce product page what are the details for stock, and also you can check on the event admin page. Did you set up a stock at all for the first event? I could imagine that is why it’s happening.

    Also, when you set up a ticket, some are sold, then you make changes to stock count, that could mix up things a bit. Although I didn’t test it, but I believe this can be fixed on the WooCommerce product page.

    Does this help?

    Andras

    #1220851
    websource
    Participant

    This reply is private.

    • This reply was modified 7 years, 2 months ago by websource.
    #1221420
    Andras
    Keymaster

    This reply is private.

    #1221471
    websource
    Participant

    This reply is private.

    #1222282
    Andras
    Keymaster

    This reply is private.

Viewing 15 posts - 1 through 15 (of 21 total)
  • The topic ‘Show how many seats are left 2’ is closed to new replies.