• Hi guys,

    I think you have a small bug / typo in file event-tickets-manager-for-woocommerce/public/class-event-tickets-manager-for-woocommerce-public.php on line 257

    You should return the $the_cart_data there instead of just return;

    This causes problems where other plugins are trying to filter the cart data.

Viewing 1 replies (of 1 total)
  • Hello,

    We will check the nonce verification after product type check if it is “event_ticket_manager” product type. instead of checking nonce on top.

        $wps_etmfw_enable = get_option( 'wps_etmfw_enable_plugin', false );
        if ( $wps_etmfw_enable ) {
            $product_types = wp_get_object_terms( $product_id, 'product_type' );
            if ( isset( $product_types[0] ) ) {
                $product_type = $product_types[0]->slug;
                if ( 'event_ticket_manager' == $product_type ) {
                    if ( ! isset( $_POST['wps_etwmfw_atc_nonce'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['wps_etwmfw_atc_nonce'] ) ), 'wps_etwmfw_atc_nonce' ) ) {
                        return;
                    }
    
                    $cart_values = ! empty( $_POST ) ? map_deep( wp_unslash( $_POST ), 'sanitize_text_field' ) : array();

    Regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.