Add to Cart Button "Qyt"

Home Forums Ticket Products Event Tickets Plus Add to Cart Button "Qyt"

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1247759
    Hildegard
    Participant

    Hi

    This code does not work with me, but I have this of your support and this works.

    function tribe_events_alter_tickets_default_quantity() {
    wp_enqueue_script( ‘jquery’ );
    ?>
    <style>
    tr.tribe-tickets-meta-row {
    display: table-row !important;
    }
    </style>
    <script>
    jQuery(document).ready( function () {
    jQuery( ‘.single-tribe_events input.text’ ).val( 1 );
    });
    </script>
    <?php
    }
    add_action( ‘wp_head’, ‘tribe_events_alter_tickets_default_quantity’ );

    But if I have 2 different tickets and the customer chooses one go both tickets to the shopping cart. Better the button is locked at Zero.

    Regards

    ========================
    PLEASE LEAVE FOR SUPPORT
    Reporting the same issue as: https://theeventscalendar.com/support/forums/topic/add-to-cart-with-0-zero-tickets-selected/

    #1248309
    Geoff
    Member

    Hi Hildegard,

    Thanks for getting in touch!

    I appreciate you sharing this snippet and letting us know it works for you. That’s awesome!

    Just to confirm, you didn’t have any questions about the snippet, right? Just want to make sure before closing this thread. 🙂

    Cheers!
    Geoff

    #1248447
    Hildegard
    Participant

    Thanks but…………one Question is open see the post…..

    “”””””””””But if I have 2 different tickets and the customer chooses one go both tickets to the shopping cart. Better the button is locked at Zero.
    “””””””””””””””””””””””””””””

    Regards

    #1248693
    Geoff
    Member

    Hi Hildegard,,

    Thanks for following up!

    I’m afraid that what you’re looking for will take a fair amount of custom development that we are unfortunately unable to support here in the forums. What I can do is refer you to a list of developers who we can recommend for this level of custom work:

    https://theeventscalendar.com/knowledgebase/find-a-customizer/

    Sorry I don’t have a working snippet for you, but I hope that the list of developers helps get the ball rolling.

    Thanks,
    Geoff

    #1250315
    Hildegard
    Participant

    This reply is private.

    #1250385
    Geoff
    Member

    This reply is private.

    #1250594
    Hildegard
    Participant

    This reply is private.

    #1250751
    Geoff
    Member

    This reply is private.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Add to Cart Button "Qyt"’ is closed to new replies.