Support

Home Forums Event Espresso Premium By default qty ticket is 1

By default qty ticket is 1

Posted: June 15, 2014 at 10:29 pm

Viewing 6 reply threads


Luca Sellarulo

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.
I have some events with different tickets for different dates and when I click on register, it orders 1 of each ticket.

Thank you by advance.
Alex.

  • This topic was modified 10 years, 5 months ago by Dean. Reason: moved to correct forum


Dean

June 16, 2014 at 12:48 am

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.


Luca Sellarulo

June 16, 2014 at 5:58 pm

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/
I want to let the client select the day he wants to order the ticket. In this case, when he clicks on “Register now” EE sells the two tickets at the same time. The customer can’t choose the day he wants.

Thank you.


Josh

  • Support Staff

June 16, 2014 at 8:53 pm

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.


Luca Sellarulo

June 16, 2014 at 11:28 pm

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.


Lorenzo Orlando Caum

  • Support Staff

June 17, 2014 at 1:24 am

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>


Lorenzo


Luca Sellarulo

June 17, 2014 at 5:43 pm

Hey Lorenzo,

thank it works well now and thank you to everyone to helped me to solve this issue.

Viewing 6 reply threads

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.

Event Espresso