WPBooking_Order

The WPBooking_Order class is used for manage cart, checkout page, handle cart, checkout, validate complete purchase for Redirect Gateway, show Order Infomation in Order Detail Page functions. Here are actions and filters that our class used Add To Cart Ajax Handler:  add_action('wp_ajax_wpbooking_add_to_cart', array($this, 'add_to_cart')); Delete Cart Item Handler:  add_action('template_redirect', array($this, '_delete_cart_item')); Checkout Ajax Handler:  add_action('wp_ajax_wpbooking_do_checkout', array($this, 'do_checkout')); Validate Complete Purchase: function: _complete_purchase_validate() Register Shortcode to […]

Read More