Home › Forums › Ticket Products › Event Tickets Plus › Show how many seats are left 2
- This topic has 21 replies, 4 voices, and was last updated 7 years, 1 month ago by websource.
-
AuthorPosts
-
January 8, 2017 at 3:03 am #1214829websourceParticipant
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-labelAs 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/bb71d468a8139b1918e830ea302bc7afCould 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
BrianJanuary 9, 2017 at 4:14 pm #1215425AndrasKeymasterHello 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,
AndrasJanuary 9, 2017 at 4:40 pm #1215444AndrasKeymasterA 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…
January 10, 2017 at 11:21 am #1216031websourceParticipantHi 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
BrianJanuary 10, 2017 at 1:07 pm #1216087AndrasKeymasterThanks for the clarification Brian.
We will try to look into it, might take a couple of days. I’ll be in touch.
Andras
January 16, 2017 at 1:02 am #1218891websourceParticipantHi Andras
When will you be able to take a look at this?
Thanks
BrianJanuary 16, 2017 at 2:53 pm #1219273AndrasKeymasterHello 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,
AndrasJanuary 17, 2017 at 12:58 am #1219496websourceParticipantThis reply is private.
January 17, 2017 at 8:44 am #1219659AndrasKeymasterHi 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,
AndrasJanuary 17, 2017 at 9:25 am #1219687websourceParticipantHi 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
BrianJanuary 18, 2017 at 8:01 am #1220252AndrasKeymasterHey 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
January 19, 2017 at 4:00 am #1220851websourceParticipantThis reply is private.
- This reply was modified 7 years, 2 months ago by websource.
January 20, 2017 at 2:23 am #1221420AndrasKeymasterThis reply is private.
January 20, 2017 at 5:35 am #1221471websourceParticipantThis reply is private.
January 23, 2017 at 5:36 am #1222282AndrasKeymasterThis reply is private.
-
AuthorPosts
- The topic ‘Show how many seats are left 2’ is closed to new replies.