CodeLab

Enjoy all additional useful tools, codes, snippets and custom solutions in one library

Specify your needs

Plugins
Select
Plugins
Categories
Select
Categories
Types
Select
Types
Programming languages
Select
Programming languages
Builders
Select
Builders
Show all filters Collapse

CodeLab

Enjoy all additional useful tools, codes, snippets and custom solutions in one library

Prevent Calendar Content Translation in Multilingual Sites
Copy link
Link copied
  • JetAppointment
  • GTranslate
  • Booking & Appointments
  • JavaScript
Adds a CSS class to JetAppointment calendars to exclude their content from automatic translation by plugins like GTranslate.
Link WooCommerce Coupons to Appointment Services
Copy link
Link copied
  • WooCommerce
  • JetAppointment
  • Booking & Appointments
  • Woo & eCommerce
  • PHP
Create relationships between WooCommerce coupons and appointment services to enable service-specific discounts and coupon validation logic.
Exclude Partial Duration Appointment Slots
Copy link
Link copied
  • JetAppointment
  • Booking & Appointments
  • PHP
This snippet filters out appointment time slots that don’t meet the full duration requirement, preventing incomplete time slots from being booked. It ensures only properly sized appointment slots are available for selection.
Manage Appointments Using JetAppointment REST API
Copy link
Link copied
  • JetAppointment
  • Booking & Appointments
  • PHP
This snippet demonstrates how to interact with the JetAppointment REST API for managing appointments. It shows how to authenticate using application passwords, fetch unavailable (excluded) dates, retrieve available weekdays, and create new appointments by sending appointment data arrays.
REST API for Appointments Management
Copy link
Link copied
  • JetEngine
  • JetAppointment
  • Booking & Appointments
  • PHP
Authenticate with an Application Password for a user with manage_options capability. Use it to check unavailable days and available weekdays, and to submit new appointment data.

Let’s build together

Have your own solution?

Came up with a great solution and want to show it to the Crocoblock community?

Request a new feature

Leave a feature request through GitHub, and our developers will consider it