Robert

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 33 total)
  • Author
    Posts
  • in reply to: Formatted Event Date Shortcode not working #1576641
    Robert
    Participant

    Didn’t work in the least. I think there is something wrong with the extension, it’s probably not been updated since the other updates to the core plugins.

    The "timezone" argument for this shortcode is invalid. Please reference http://php.net/manual/timezones.php. (This message is only shown to Contributors and higher level users.) – The "timezone" argument for this shortcode is invalid. Please reference http://php.net/manual/timezones.php. (This message is only shown to Contributors and higher level users.)

    in reply to: Display only tickets on sale #1563811
    Robert
    Participant

    Thanks I appreciate it! 🙂

    in reply to: Display only tickets on sale #1563125
    Robert
    Participant

    Thank you!

    In what scenarios might it not cover just out of curiosity?

    What I typically have is an early bird ticket that is scheduled for a certain time, then after that expires another ticket is scheduled for the same day the other one expired. So essentially two tickets but one is always hidden. Both use the global inventory.

    I just want to make sure I won’t run into any issues. I’m not sure of what problems would arise and don’t want to use the snippet if you think there are some cases where it will show as sold out when it’s not.

    Thanks!

    in reply to: Display only tickets on sale #1562339
    Robert
    Participant

    Thank you Victor!

    This is more or less what I came up with. It seems to work but just wanted to double check if this is the best way to do it. Thanks!

    <?
    
    $count = 0;
    echo '<ul>';
    foreach ( $tickets as $ticket ) {
    	global $product;
    	$count++;
    	if ( class_exists( 'WC_Product_Simple' ) ) $product = new WC_Product_Simple( $ticket->ID );
    	else $product = new WC_Product( $ticket->ID );
    	$price = $product->get_price_html();
    	$link = '<a href="' . $product->get_permalink() . '">Buy now</a>';
    	
    		if ( tribe_events_ticket_is_on_sale( $ticket ) ) {
            
    		$qunt= $ticket->stock;
    		
    		
    		if($qunt!='0')
    		{
    	     
    	echo "$price $link <br> $ticket->description  - [$ticket->stock] Available";
    		}
    		else 
    		{
    
    		echo '<p class="stockout">Out Of Stock</p>';
    		}
    	} 
    	
    }
    if ( 0 === $count )
    	echo '<li> There are no tickets available for this event </li>';
    echo '</ul>';
    
    
    in reply to: Cost range #1509310
    Robert
    Participant

    Thanks Victor.

    How would I use that new function? Would it just override get_tribe_cost and I wouldn’t have to do anything else? I have yet to test it.

    in reply to: Cost range #1508249
    Robert
    Participant

    Thanks. While this does technically override the cost range, it’s a manual process it seems, where I’d have to replace the value each and every time with the ID. Hardly an effective solution…

    in reply to: Cost range #1507145
    Robert
    Participant

    Thanks, but repeating exactly what I already stated back to me and offering no actual guidance in how to do that did not help. Perhaps you can clarify on exactly how to do it? Even though it’s “default” behavior, I think one would agree that it’s not necessarily “right” behavior since it makes little to no sense to show a cost range if a ticket is no longer being shown.

    in reply to: Inventory issue #1259577
    Robert
    Participant

    Besides “canceling” an order would deleting it or some other method result in the inventory going back up?

    in reply to: Can't create a single day event? #1259530
    Robert
    Participant

    Disregard, it was because i cloned an event instead of creating a new one, I guess that’s a bug.

    in reply to: Show ticket sale end date #1256832
    Robert
    Participant

    Awesome that pretty much accomplished what I was looking for. One other thing however… is it possible to show the cost of the other ticket so you can see the price difference? Or better yet show the other ticket greyed out until the date available to show?

    in reply to: Stripe payment option not showing up #1219609
    Robert
    Participant

    I got you, thanks!

    in reply to: Stripe payment option not showing up #1219280
    Robert
    Participant

    I did not mention an error. I said that the OPTION for Stripe is not showing up under check out. You’re saying that has nothing to do with you guys? Don’t you have payment gateway options for events ticket plus?

    in reply to: Quantity box issue #1218801
    Robert
    Participant

    Theme issue.

    in reply to: Editing meta title and description #1217381
    Robert
    Participant

    Figured it out with Yoast.

    in reply to: Embed Calendar on page #1126063
    Robert
    Participant

    That makes sense. Thank you!

Viewing 15 posts - 1 through 15 (of 33 total)