How to add condition if ticket price is empty

Hello everybody, I have this code that follows where I would like to add a condition that says that if there is no price specified (for a certain event), there should be shown a CTA button to “enquire”.

Differently now either way price set is equal to 0 or is another number it just shows “book now” cta button

		
				
				
				
                <div class="col-12 col-sm-6 col-lg-4 d-flex">
                    <div class="px-6 py-8 aos-init aos-animate w-100" data-aos="fade-up">
                        <div class="d-inline-block mb-6">
							<i data-feather="dollar-sign" class="text-dark-blue opacity_20 fs-40"></i>
						</div>
                        <h5 class="text-dark-blue mb-1 fw-400 fs-32">
                        	<?php echo royaltickets_get_event_tickets_prices( $event_id ); ?>
                    	</h5>
                    	<a href="#" class="btn-icon-right btn-sm position-relative btn btn-danger fw-400 mt-3 lift view_tickets">
					        <!-- HOW TO PUT HERE OPTION TO SHOW EITHER A BUTTON IF empty($ticket_prices) IS VALID OR NOT? --> <?php esc_html_e('Book a Ticket', 'royaltickets'); ?> 
					        <span class="btn-icon-holder overflow-hidden">
								<i class="fas fa-ticket-alt"></i>
							</span>
					    </a>
                    </div>
                </div>
			

So toss in an if condition here.

Sponsor our Newsletter | Privacy Policy | Terms of Service