Forum Replies Created
-
AuthorPosts
-
September 6, 2017 at 12:59 pm in reply to: Ticket stock being reduced twice & stock count doubled in table view #1345643Callie MintonParticipant
Hi Andras,
Thanks for getting back to me. Good, I will keep posted for the bug fix!
Callie
September 4, 2017 at 11:41 am in reply to: Ticket stock being reduced twice & stock count doubled in table view #1344523Callie MintonParticipantJust wanted to update you – Issue # 2 – I have figured out the cause for the ticket stock being reduced twice!
I still need assistance with the stock totals being doubled in the event list view.
September 4, 2017 at 10:08 am in reply to: Ticket stock being reduced twice & stock count doubled in table view #1344502Callie MintonParticipantThis reply is private.
September 4, 2017 at 10:07 am in reply to: Ticket stock being reduced twice & stock count doubled in table view #1344498Callie MintonParticipantThis reply is private.
Callie MintonParticipantIf you click “edit in woocommerce” under the product data options -> Inventory: You can check the box “Enable this to only allow one of this item to be bought in a single order”
Hope this helps 🙂
Callie MintonParticipantThis reply is private.
Callie MintonParticipantThis reply is private.
Callie MintonParticipantHi Courtney,
Just wanted to update – in my haste to get to work I saw the characters were similar to my key and just pasted the correct key in. Instead, I should’ve double checked and compared license keys…had I did that I would’ve realized that it wasn’t missing characters but is actually an invalid license key and it keeps replacing my actual valid key. 🙁
I can paste my key, save it and it will work but within 20 or so minutes – it updates to an incorrect/expired license key that I don’t have 🙁
Any suggestions as to why it would be converting to an invalid key that I didn’t input?
Thanks!
Callie MintonParticipantFound the issue! I manually compared the keys and it had extra characters added to the beginning of the license key.
Callie MintonParticipantHi, Andras! Your post was the one I was referring to above. Thank you!
We will probably just stick with our script but I’ll check out your solution and see if thats something we are willing to implement.
Callie MintonParticipantThis reply is private.
Callie MintonParticipantHunter,
So I think I’ve identified the issue when comparing event-tickes-plus/src/views/wootickets/tickets.php versions 4.2.6 and versions 4.2.7-4.3.3. I think its a missing <div> that actually prints the message – all the versions post 4.2.6 I’ve downloaded are missing it. However, when you add the <div> the message will print, remove it and it won’t.
The code in tickets.php 4.2.7+:
<?php $content = ob_get_clean(); if ( $is_there_any_product ) { echo $content; // @todo remove safeguard in 4.3 or later if ( $unavailability_messaging ) { // If we have rendered tickets there is generally no need to display a 'tickets unavailable' message // for this post $this->do_not_show_tickets_unavailable_message(); } } else { // @todo remove safeguard in 4.3 or later if ( $unavailability_messaging ) { $unavailability_message = $this->get_tickets_unavailable_message( $tickets ); // if there isn't an unavailability message, bail if ( ! $unavailability_message ) { return; } } }
The code that works and prints the message from 4.2.6:
<?php $content = ob_get_clean(); if ( $is_there_any_product ) { echo $content; } else { $unavailability_message = $this->get_tickets_unavailable_message( $tickets ); // if there isn't an unavailability message, bail if ( ! $unavailability_message ) { return; } ?> <div class="tickets-unavailable"> <?php echo esc_html( $unavailability_message ); ?> </div> <?php }
Could you confirm my theory?
Callie
Callie MintonParticipantHunter,
The break point for me is 4.3 versions of Event Tickets and Event Tickets Plus. TEC & TECPro are fine at 4.3 and do not impact the message. For now, until someone or I can narrow down the cause for this issue, I’m going to roll back on our prod site to 4.2.7. Not ideal but necessary.
Callie
Callie MintonParticipantHunter,
I went ahead and rolled back to the following and the last time I remember them working:
The Events Calendar 4.2.7
Event Tickets 4.2.6
Events Cal Pro 4.2.6
Event Tickets Plus 4.2.6And lo and behold the messages are back as they should be – however I did notice that the plugins were not all wanting me to update which is odd considering they are all are at 4.3. Screenshots below.
I’m hoping that this either reveals the bug or something I’m overlooking to the cause of the issue. I plan to go ahead and upgrade step by step and see where it breaks to narrow it down further. I will let you know if I get the chance and at what point it breaks.
Callie
- This reply was modified 7 years, 5 months ago by Callie Minton.
Callie MintonParticipantI’m really frustrated and I think its great its working for you BUT its not working for me! I don’t know how else to explain/show you but it does not display “Tickets aren’t available yet” or “Tickets aren’t available as this event has passed.” As shown in the screen shots I’ve provided.
Honestly I’m beginning to think about rolling back releases on my test server so I can see at what point it broke because at one time it WAS working – now its not displaying at all. I need to get this fixed so my client isn’t being bombarded for tickets she can no longer provide because the sales date has passed or hasn’t opened up yet.
-
AuthorPosts