Posted: June 15, 2014 at 10:29 pm
|
Hi, I would like to set the default quantity of every ticket to 0 and not to 1. Thank you by advance.
|
|
Hi Luca, If you are not using Multiple Event Registration (the cart) addon, then the tickets will always set to 1, but you can only order one ticket type at a time. (This seems to be the case on your site). If you do use the Multiple Event Registration addon, then the tickets in the cart automatically start at 0 as you can order multiple ticket types in one go. If this doesn’t answer your query, please provide a link to an example event. |
|
Hi Dean, I’m not using Multiple Event Registration, is it compatible with EE4 ? It seems not on the addon’s page. There is the link if you want to see my issue : http://sandbox.saltmeatscheese.com.au/events/pastaravioli-class-with-lunch-34/ Thank you. |
Hi Luca, This looks like a script from the theme or more than likely another plugin is changing the ticket selector. Unless otherwise set, there will always be a zero option. In this case, there’s a script on the page (JavaScript) that’s removing the zero option. Please watch this short video that shows what happens when JavaScript is disabled when viewing your web page: http://screencast.com/t/5O6Co6bovdXx You’ll notice that when JavaScript is disabled, the zero option appears. You can find which plugin or script is potentially causing this by temporarily deactivating the other plugins one by one. You might also try another theme. Please don’t worry, we are not asking you to deactivate the plugin or change the theme permanently, we only want some help to narrow down which script is causing this, then we can go from there. |
|
|
Thank you for the video Josh, I’ve tested with twenty fourteen theme and the 0 is set. It means that is not a plugin who create this modification. What can I do now to identify which script is modifying these values ? Thank you for your help. |
Hi Luca, This is causing it: <!-- START GOOGLE ANALYTICS --> <!-- END GOOGLE ANALYTICS --> <script type="text/javascript"> jQuery(document).ready(function () { jQuery("option[value='0']").remove(); }); </script> — |
|
|
Hey Lorenzo, thank it works well now and thank you to everyone to helped me to solve this issue. |
The support post ‘By default qty ticket is 1’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.