Home › Forums › Ticket Products › Event Tickets Plus › Display remaining tickets only when stocks low
- This topic has 4 replies, 3 voices, and was last updated 6 years, 10 months ago by Adam.
-
AuthorPosts
-
June 29, 2017 at 1:08 am #1311399AdamParticipant
Hi there, I’m using the following:
.tribe-tickets-remaining { display: none !important; }
Which is working, but I’d like to have tickets remaining show when stock reaches an arbitrary amount.
For example, some events might only have 20 tickets, so I’d want to set it as around 4 for that event, whereas my current events have around 3×200 tickets, so I would like the number to be around 20 for each ticket type.
I tried this,
https://theeventscalendar.com/support/forums/topic/number-of-tickets-available/
but I’m not sure it’s what I’m looking for, as I nearly always have multiple tickets per event.Thanks for your help – tested it all out for the first time today (with a $1 ticket), and checked the ticket in also – so far so good! Great work guys!
June 29, 2017 at 8:43 pm #1313365CliffMemberHi, Adam. Thanks for your detailed question.
Just earlier today I logged an internal feature request to follow WooCommerce’s setting for this at the bottom of /wp-admin/admin.php?page=wc-settings&tab=products§ion=inventory
I would suggest following the code in that other thread and make your own version to target the Buy Now Button functionality.
Please let me know if you have any follow-up questions on this topic.
July 2, 2017 at 10:35 pm #1315414AdamParticipantThanks Cliff, really appreciate that!
Looking forward to trying it out, and love ETP so far!
July 7, 2017 at 3:04 pm #1317694CarolineMemberHi Adam,
Thanks so much for the kind words–we’re thrilled to hear that you’re enjoying working with Event Tickets Plus! 😀 It looks like you’ve gotten what you needed here, so I’m going to go ahead and close this thread out for now, if that’s alright! Thanks again, and please don’t hesitate to follow up with a new thread if there’s anything else that we can do to assist!
-
AuthorPosts
- The topic ‘Display remaining tickets only when stocks low’ is closed to new replies.