Home › Forums › Ticket Products › Event Tickets Plus › Add to Cart Button "Qyt"
- This topic has 8 replies, 3 voices, and was last updated 9 years, 2 months ago by
Hildegard.
-
AuthorPosts
-
March 1, 2017 at 8:48 am #1247759
Hildegard
ParticipantHi
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/March 2, 2017 at 7:18 am #1248309Geoff
MemberHi 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!
GeoffMarch 2, 2017 at 8:40 am #1248447Hildegard
ParticipantThanks 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
March 2, 2017 at 3:48 pm #1248693Geoff
MemberHi 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,
GeoffMarch 7, 2017 at 12:36 am #1250315Hildegard
ParticipantThis reply is private.
March 7, 2017 at 6:36 am #1250385Geoff
MemberThis reply is private.
March 7, 2017 at 9:00 am #1250594Hildegard
ParticipantThis reply is private.
March 7, 2017 at 1:51 pm #1250751Geoff
MemberThis reply is private.
-
AuthorPosts
- The topic ‘Add to Cart Button "Qyt"’ is closed to new replies.
