Home › Forums › Ticket Products › Event Tickets Plus › How to turn input mode from numbers to checkbox
- This topic has 3 replies, 2 voices, and was last updated 8 years, 3 months ago by
amf.
-
AuthorPosts
-
December 18, 2017 at 1:31 pm #1408198
amf
ParticipantMain Objective: Make the input boxes into checkboxes and have it so a user check the event then fill out the form then proceed to check out.
What i had done before: I blocked the woocommerce_quantity_input code which is
woocommerce_quantity_input( array(
‘input_name’ => ‘quantity_’ . $ticket->ID,
‘input_value’ => 0,
‘min_value’ => 0,
‘max_value’ => $must_login ? 0 : $max_quantity, // Currently WC does not support a ‘disable’ attribute
) );and then i inserted my checkbox code which is
echo ‘<input type = “checkbox” value = “1” name = “quantity_’.$ticket->ID.'” >’;This did succesfully switch out the input text box for a checkbox.
The thing I am having trouble with is that with my checkbox hack I am not able to collect any extra data other than the name and primary information because it is not displaying the meta.php file correctly. Is there any guidance you can give me on how to either change the woocommerce quantity input to use checkboxes or any other alternative methodsDecember 19, 2017 at 1:03 pm #1409121Jaime Marchwinski
KeymasterHi Ford,
Thanks so much for reaching out!
It sounds like you are making a lot of progress with your customizations, which is great!
Just to let you know, we are limited by our Support Policy in how much we can help with customizations, but I will try to point you in the right direction.
A great place to start would be our Themer’s Guide, which can show you what views and templates that you can copy and edit to achieve the results that you are looking for.
https://theeventscalendar.com/knowledgebase/themers-guide/
If this functionality is a requirement for your intended project, I’d suggest that a third-party developer would be the best way to make this feature happen on a short timeline. ? We maintain a list of developers who work with our plugins on our Knowledgebase here:
https://theeventscalendar.com/knowledgebase/find-a-customizer/
Let me know how it goes!
Thanks,
Jaime
January 10, 2018 at 8:37 am #1422517Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘How to turn input mode from numbers to checkbox’ is closed to new replies.
