rodriguise

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Add to cart does not work #1614777
    rodriguise
    Participant

    I had to reinstall Woocommerce and remove the side-cart plugin which for some reason worked before.

    in reply to: Add to cart does not work #1614775
    rodriguise
    Participant

    Looking at “plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php” function process_front_end_tickets_form:

    if ( empty( $_REQUEST['wootickets_process'] ) || intval( $_REQUEST['wootickets_process'] ) !== 1 || empty( $_POST['product_id'] ) ) {
                            return;
                    }

    $_REQUEST['wootickets_process'] is always empty.

    Array
    (
        [product_id] => Array
            (
                [0] => 980
            )
    
        [quantity_980] => 1
        [tribe-tickets-meta] => Array
            (
                [980] => Array
                    (
                        [1] => Array
                            (
                                [emergency-contact-name] => test
                                [emergency-contact-phone] => 7755015616
                                [emergency-contact-email-address] => [email protected]
                                [relationship-status] => Engaged
                            )
    
                    )
    
            )
    
        [action] => xoo_wsc_add_to_cart
    )
    Array
    (
        [wc-ajax] => xoo_wsc_add_to_cart
        [product_id] => Array
            (
                [0] => 980
            )
    
        [quantity_980] => 1
        [tribe-tickets-meta] => Array
            (
                [980] => Array
                    (
                        [1] => Array
                            (
                                [emergency-contact-name] => test
                                [emergency-contact-phone] => 7755015616
                                [emergency-contact-email-address] => [email protected]
                                [relationship-status] => Engaged
                            )
    
                    )
    
            )
    
        [action] => xoo_wsc_add_to_cart
        [woocommerce-login-nonce] => 
        [_wpnonce] => 
    )
Viewing 2 posts - 1 through 2 (of 2 total)