Remaining ticket

Home Forums Ticket Products Event Tickets Plus Remaining ticket

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #958788
    marc-andre
    Participant

    Hi, i like, i need to be able to show how many ticket availible, and how many ticket total… something like : 12/20 ticket availible. It’s a must for people to know, hey hurry it’s almost full !… how do i do that ?

    #958879
    George
    Participant

    Hey Marc!

    You should be able to add ticket stocks in the admin side of your site easily while you’re creating tickets โ€“ย just add the stock in the “Stock” field, as shown in this screenshot โ†’ https://cloudup.com/ctpRcz6Q0fb

    On the public side of your site, to show the ticket stock somewhere on your theme unfortunately requires a bit of custom coding. You can poke around in the plugin code to find different ways of doing this, but here’s a snippet I wrote a while ago that might help โ†’ https://gist.github.com/momnt/31f9d9774e938846d635

    Try placing that code in your theme’s functions.php file. You can then just add this function anywhere you want to display the stock information:

    
    <?php example_displaying_stock_information(); ?>
    

    Let us know if this helps!

    Thanks,
    George

    #961649
    marc-andre
    Participant

    Work fine, thanks

    #961787
    George
    Participant

    Great! Be sure to keep good backups of your site and any custom code like this ๐Ÿ™‚

    Cheers,
    George

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