Reply to: as in php code with a loop, where they change event_type_2, find out if there is an event for each of them

sorry for my English
I will try again

 

<?php
global $post;
$args = array(
‘post_parent’ => 7454,
‘post_type’ => ‘page’,
‘numberposts’ => 50,
‘orderby’ => ‘menu_order ‘,
‘order’ => ‘ASC’,
);
$posts = get_posts( $args );
foreach($posts as $post){ setup_postdata($post);

$event_type2_id = get_post_meta($post->ID, ‘event_type2_id’, true);

$sortcode_event = “[add_eventon_list number_of_months = “12” hide_empty_months = “yes” hide_end_time = “yes” event_type_2 = “$event_type2_id”]”;
echo do_shortcode($sortcode_event);

#I have on my children’s pages in Custom Fields assigned ID for event_type_2
#if there are events in the database for this condition event_type_2=event_type2_id?
#if there is, it gives a link to the page the_permalink();

?>

Reply to: Hello, I want to sell block of tickets for example 10 tickets in block. And user can use that 10 tickets for 10 different or same events. A

Hi Natasa,

Thank you for clearly explaining this in detail.

After reviewing it, I have realized that this whole work will cost more than your budget, unfortunately.

Doing this through RSVP will cost even more so I would recommend using existing woocommece for package selling.

The expiration feature can be added within this project but the overall budget will be higher.

So, please let us know what you think about it.

Thank You