== Changelog ==

= 5.4.2 =
* Support for Add to Cart links in Archive or Shop page.
* Compatibility for Bock Based WooCommerce Checkout.
* Minor bugfixes and improvements.

= 5.4.1 =
* New setting for limit of possible referrals.

= 5.4 =
* Displays old editing experience for Redemption Products in relation to the new introduced Gutenberg Blocks for Product Editing in WooCommerce 8.6.0 and above.
* Compatibility for latest WooCommerce version.

= 5.3.1 =
* Use of new WooCommerce message components instead of old messages.
* Fixes a bug with holidays.
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 5.3 =
* New function to edit course options of the course post type via the QuickEdit feature.
* Option for International Women's Day.
* Better compatibility for different time formats.
* DEV: New function cbs_get_price_level_name().
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 5.2 =
* New Gutenberg Block and Shortcode for a preview of upcoming events with a specific date.
* Function cbs_get_courses() orders by day and date by default.
* Live preview within the plugin library before installing the plugin (blueprint.json file added).
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 5.1.11 =
* Minor bugfixes and improvements.

= 5.1.10 =
* Courses in holidays are hidden or grayed out same as cancelled courses depending on settings.
* Compatibility for latest WooCommerce version.

= 5.1.9 =
* Fixes a bug which throws a fatal error on activation of the plugin.

= 5.1.8 =
* Minor bugfixes and improvements.

= 5.1.7 =
* Add capabilities to contributor user role to edit and add courses.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.

= 5.1.6 =
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.

= 5.1.5 =
* Fixes a bug with mixed cards.
* Fixes a bug which throws a fatal error on activation of the plugin.
* Allows admins to go further back in the timetable.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.

= 5.1.4 =
* Fixes a rare bug which throws an error upon activation.
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 5.1.3 =
* Courses on holidays are getting hidden/disabled in timetable.
* Fixes a bug for courses on Sundays.
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 5.1.2 =
* Quick Fix: Shortcode Error.
* Fixes a bug where bookings via admins resulted in wrong dates.

= 5.1.1 =
* Faster livesearch to book user into courses.
* Minor bugfixes and improvements.

= 5.1 =
* New gutenberg block to implement timetable easily without any shortcode.
* New widget for Elementor to implement timetable easily without any shortcode.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 5.0.4 =
* New option to show cancelled courses in the timetable.
* Minor bugfixes and improvements.

= 5.0.3 =
* If booking in advance is only 1 week the pagination is not displayed in the timetable shortcode and a full week in dates is always visible.
* Fixes a bug where waitlist members are not getting booked automatically for free courses.
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 5.0.2 =
* Cancelled courses are not displayed in the timetable anymore.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.

= 5.0.1 =
* Minor bugfixes and improvements.

= 5.0 =
* New custom post type for courses: You can now find your courses in the Backend under "Courses".
* New easier handling of courses.
* New designs available in plugin settings (default, divided and list).
* Optimized performance for better User Experience.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.

= 4.2.5 =
* Comparison in the statistics in the backend.

= 4.2.4 =
* New feature to see course statistics in the Backend under Settings > Course Booking System > Statistics.
* Compatibility for latest WooCommerce version.

= 4.2.3 =
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 4.2.2 =
* Users with the role contributor cannot see booked names of courses with other trainers. If you want to allow your contributors to see all bookings of other trainers please use another role.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 4.2.1 =
* Minor bugfixes and improvements.

= 4.2 =
* New feature to move to past or future dates in the timetable.
* New feature for customers to delete account within dashboard.
* Link to add new customer if you search for a customer on the course page and no results were found.
* From now on it is mandatory to activate plugin for the whole network if you are using a multisite.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 4.1.5 =
* New responsive email template (same as in WooCommerce)
* Compatibility for latest WooCommerce version.

= 4.1.4 =
* The customer has to confirm if a course gets cancelled.
* Reset button for selected video options in Backend.

= 4.1.3 =
* The video library supports now YouTube playlists.
* New actions cbs_single_course_after_availability, cbs_single_course_before_booking_options and cbs_single_course_after_booking_options.
* Any user can now added to the waitlist manually by logged in administrators as soon as a course reached the maximum number of participants.
* New function to write an email to all members of a waitlist.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 4.1.2 =
* New action cbs_single_course_before_availability added.
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 4.1.1 =
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 4.1 =
* New function to reverse a booking in goodwill with adding a credit to a card within the set time frame.
* New function to add video products to a redemption product additionally. The videos will be showed in the video library automatically after a successful purchase.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 4.0.5 =
* Links to our english translated documentation on our website added.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 4.0.4 =
* If the auto cancel feature is set, courses with no participants will be cancelled automatically about 12 hours in advance before the course starts.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 4.0.3 =
* On a new subscription redemption by the customer the date for normal cards gets now extended to allow the customer to book courses throughout the end of the subscription.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.

= 4.0.2 =
* Minor bugfixes and improvements.

= 4.0.1 =
* Minor bugfixes and improvements.

= 4.0 =
* New function to sell subscription courses. You can choose between fixed start dates or a subscription start immedietly for a specific amount of months.
* New function to sell specific products only once per customer.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 3.6.12 =
* New function to log all future course cancellations and show them under the bookings table in every course, if available.

= 3.6.11 =
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 3.6.10 =
* Minor bugfixes and improvements.

= 3.6.9 =
* Minor bugfixes and improvements.

= 3.6.8 =
* Minor bugfixes and improvements.

= 3.6.7 =
* Fixed a bug with customers on the waitlist.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 3.6.6 =
* Better compatibility for PHP 8.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 3.6.5 =
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 3.6.4 =
* Minor bugfixes and improvements.

= 3.6.3 =
* Multisite functionality.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 3.6.2 =
* New holidays settings for Easter Sunday and Whit Sunday.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 3.6.1 =
* If a customer clicks on the download link in the order email the customer gets redirected to the account without redemption. So the customer gets the error message on the account page.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.
* Minor bugfixes and improvements.

= 3.6 =
* New option to offer a free credit on a price level of your choice to referrer and new customers.
* New courses are getting marked with a label in the timetable.
* Compatibility for latest WooCommerce version.
* Compatibility for latest WordPress version.

= 3.5.9 =
* New option to toggle email on expiry.
* Minor bugfixes and improvements.

= 3.5.8 =
* Minor bugfixes and improvements.

= 3.5.7 =
* Minor bugfixes and improvements.

= 3.5.6 =
* When a order gets cancelled redeemed cards are getting withdrawn.
* If you use a custom order status named wc-paid (as slug) in your WooCommerce Store all completed orders are getting marked as padi automatically except these payment methods: bacs, cheque, cod, invoice.
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 3.5.5 =
* Toggle logs in the backend on the profile edit page of any user for debug issues.
* Minor bugfixes and improvements.

= 3.5.4 =
* The import function works now with titles instead of ids, too.
* Compatibility for latest WordPress version.

= 3.5.3 =
* Bookings can now be reversed and cancelled from the backend.

= 3.5.2 =
* Filters products automatically by price level when a customer needs a new card.
* Compatibility for latest WooCommerce version.

= 3.5.1 =
* New import function to import bookings via the backend.
* The upcoming and most recent bookings and wait lists are now visible in the backend on each user's page.

= 3.5 =
* Cards can now have fixed durations with a start and end date.

= 3.4.2 =
* Minor bugfixes and improvements.

= 3.4.1 =
* Setting to book waitlist participants automatically if a place is getting free.
* Settings rarranged. All email settings are now visible in the tab "E-Mails".
* Bug fixed where under circumstances some waitlists have not been visible.

= 3.4 =
* 5 price levels instead of 3.

= 3.3.3 =
* Minor bugfixes and improvements.

= 3.3.2 =
* Minor bugfixes and improvements.

= 3.3.1 =
* Minor bugfixes and improvements.

= 3.3 =
* New redemption system for the newest WooCommerce version. Attention: Please update all redemption and video products to have a proper experience.

= 3.2.9 =
* Bugfix for newest WooCommerce version.
* Compatibility for latest WordPress version.
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 3.2.8 =
* Readme updated.

= 3.2.7 =
* New customers are getting flagged in the bookings table for 7 days after registration.

= 3.2.6 =
* In the event of cancellation, the e-mail will be also sent to the trainer of the course (CC).
* Compatibility for latest WordPress version.
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 3.2.5 =
* If a course reached the maximum number of participants an administrator or employee is now able to add any customer to the waiting list.
* Compatibility for latest WordPress version.
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 3.2.4 =
* Smoother hover effects in timetable.
* Compatibility for latest WordPress version.
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 3.2.3 =
* As logged in administrator, shop_manager, editor, author or contributor you are now able to slide to past dates on the single course page.

= 3.2.2 =
* An valid expiry date gets set on card change if date is empty or in the past
* Individual events are displayed in the list to choose whether no course ID is selected.

= 3.2.1 =
* Set the attendance individually per course and date.
* Compatibility for latest WordPress version.
* Compatibility for latest WooCommerce version.

= 3.2 =
* New design options. Choose between the default and a new modern design.
* Minor bugfixes and improvements.

= 3.1 =
* Important WooCommerce settings are set automatically on plugin activation.
* You get more detailed informations if WooCommerce settings are not set as recommended.
* The settings page is now displayed in tabs for a better handling.
* Fallback if php has been compiled without --enable-calendar.

= 3.0.4 =
* More detailed statistics for courses per trainer.
* Minor bugfixes and improvements.

= 3.0.3 =
* Show post thumbnails in the background of the events in the time schedule.

= 3.0.2 =
* New feature added to show a required password for videos.
* Minor bugfixes and improvements.

= 3.0.1 =
* New payment method "card redemption" for videos.

= 3.0 =
* New feature added to sell videos and stream them through the account page.
* All bookings and cancellations are now logged in a database for debugging issues.
* You can now access the settings page via the plugin page.

= 2.8.3 =
* Hot Fix: No auto cancellation for Personal Trainings.

= 2.8.2 =
* New option added to set courses automatically to „Course is cancelled if attendance is below a certain amount.
* Minor bugfixes and improvements.

= 2.8.1 =
* Minor bugfixes and improvements.

= 2.8 =
* New option added to send an email to the customer if an admin cancels a course.
* Minor bugfixes and improvements.

= 2.7 =
* New option added to send an email if a customer books a course.
* New option added for the Reformation Day (German Holiday).
* The custom templates directory gets deleted now after deactivation of the plugin.
* Minor bugfixes and improvements.

= 2.6.2 =
* New option to add an alternate email address for the course cancellation email.
* Minor bugfixes and improvements.

= 2.6.1 =
* Hot Fix: Abo cancellation.

= 2.6 =
* New option added to send an email if a customer cancels a course.

= 2.5 =
* New support for indication of unpaid orders. Simply add a custom order status named wc-paid (as slug) to your WooCommerce Store. All orders not marked with this new custom order status will be marked as unpaid in the booking overview in the frontend.
* Hot Fix: Attendance in timetable.

= 2.4.9 =
* Minor bugfixes and improvements.

= 2.4.8 =
* New feature added to show "more than 5 availability"

= 2.4.7 =
* New feature added to see attendance in timetable.
* Minor bugfixes and improvements.

= 2.4.6 =
* New feature added to set an opening date.
* New and optimized statistics within the statistics shortcode.

= 2.4.5 =
* Hot Fix: Daily statistics.

= 2.4.4 =
* Minor bugfixes and improvements.

= 2.4.3 =
* New feature added to see the date registered of all users and sort them by this value (ASC and DESC).
* New feature added where a customer gets asked to book a course again if he booked this course already.
* Minor bugfixes and improvements.

= 2.4.2 =
* New feature added for automatic card redeems from the backend if an order is created by an admin or shop manager.
* Flats are now getting extended if the expiry date is in the future.
* Minor bugfixes and improvements.

= 2.4.1 =
* New feature added for notices on every course date.
* Option added to set an offset for info boxes and messages.
* Minor bugfixes and improvements.

= 2.4 =
* New powerful feature added to manage all emails of the plugin.
* Optimized responsive design of the timetable list.
* Minor bugfixes and improvements.

= 2.3.2 =
* Option added to allow customers to book courses with cards with a higher price levels.
* Minor bugfixes and improvements.

= 2.3.1 =
* New features and optimized design on column pages (weekdays).
* Optimized redirection to the last visited course after a successful purchase.
* Minor bugfixes and improvements.

= 2.3 =
* New feature added to get to the last visited course after a successful purchase.
* Better and more Cron Jobs and email reminder to customers if card or flat expires soon.
* WordPress 5.4 is required now.

= 2.2 =
* New feature added for flatrates.
* New feature added to buy a product to upgrade a card.
* New feature added to send a required password for an inviation link.
* Minor bugfixes and improvements.

= 2.1.1 =
* Minor bugfixes and improvements.

= 2.1 =
* New feature added for mixed cards as WooCommerce products.
* New feature added to purchase and redeem multiple cards of one type at once.
* Option added to hide availability of courses.
* Option added for birthdays with automatic email to customers.
* Course are now linked in the user account dashboard for a better user experience.
* The course invitation links now will not be send via email any more. The user gets an email with the link to his account where the invitation link is be shown.

= 2.0.2 =
* Minor bugfixes and improvements.

= 2.0.1 =
* Minor bugfixes and improvements.

= 2.0 =
* Added full language support.
* New options added on the settings page.
* Even better WooCommerce integration.

= 1.8 =
* Option added for free courses.
* Option added for variable expiry dates of cards.
* New design options.

= 1.7 =
* Option added for variable price level names.
* Option added to send invitation links to all booked users automatically for online courses (15 minutes before the course starts).

= 1.6 =
* Option added to complete an order automatically.
* Option added to set an individual value for deletions in advance.

= 1.5.2 =
* Minor bugfixes and improvements.

= 1.5.1 =
* Minor bugfixes and improvements.

= 1.5 =
* Automatic redirect for redemption after purchase of a ticket.
* Added button support for bootstrap.
* Minor bugfixes and improvements.

= 1.4.1 =
* Compatibility for latest WordPress version.
* Compatibility for latest WooCommerce version.
* Minor bugfixes and improvements.

= 1.4 =
* Added support for pro features with license available in the ComMotion Online-Shop.

= 1.3 =
* Added special event support.
* Fixed a bug with holidays.

= 1.2 =
* Added uninstall support.

= 1.1 =
* Added holiday support.

= 0.1 =
* Minor bugfixes and improvements.