Ex-Themes

Ex-Themes supports this item

Supported

This author's response time can be up to 1 business day.

522 comments found.

Hi, before I purchase I just need to check some functionality.

My client runs fitness classes and the booking/appointment system needs to be able to handle multiple and single bookings. It also needs to be able to apply a discount for block bookings or classes purchased. For example: a 6 class booking would get a 20% discount.

Would this be possible?

Hi,

It is possible, but you will need use discount addon with WooEvent:https://wordpress.org/plugins/woocommerce-bulk-discount/ or:https://wordpress.org/plugins/woo-discount-rules/ or:https://codecanyon.net/item/woocommerce-dynamic-pricing-discounts/7119279

Best regards, ExThemes.

Hi,

Is it possible in the woocommerce shop page to order by start date? In that case i have a list of upcoming events.

Hi,

To order event by start date and show only upcoming event then You could add this custom code:

if(!function_exists('we_show_upcoming_only')){
   function we_show_upcoming_only( $query ) {
       if ( ! is_admin() && in_array ( $query->get('post_type'), array('product') )) {
           $time_now =  strtotime("now");
           $gmt_offset = get_option('gmt_offset');
           if($gmt_offset!=''){
               $cure_time = $cure_time + ($gmt_offset*3600);
           }
           $meta_valu = array(
           array(
                   'key'     => 'we_startdate',
                   'value'   => $time_now,
                   'compare' => '>=',
               ),
           );
           $query->set('orderby', 'meta_value_num');
           $query->set('order', 'ASC');
           $query->set('meta_key', 'we_startdate');
           $query->set('meta_query', $meta_valu);
       }
   }
   add_action( 'pre_get_posts', 'we_show_upcoming_only',199 );
}

To /themes/Your_theme_folder/functions.php

Best regards, ExThemes.

by
by
by
by
by
by