Preset ticket count to 1

Home Forums Ticket Products Event Tickets Plus Preset ticket count to 1

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #928001
    Simon
    Participant

    Hello EC,

    I have a few questions and hope I can add them all here to speed up support.

    So here goes…

    1) Can I set a ticket to be set at 1 instead of as they currently list at 0?

    2) Can I set the add to cart button to remain on the product page rather than go to the cart page?

    3) (Off topic) I have been having trouble editing the events page. It seems that editing the page and viewing the page don’t exactly match. How can I say it? When I preview and edit, I can’t see the calendar and when I look at the calendar page, I can’t see the edit… Anyway, sorry if that is confusing and off topic.

    Simon

    #928765
    Barry
    Member

    Hi Simon!

    We do try to stick to one issue/question per topic, so if anything else crops up in the future it would be appreciated if you could post them individually – I appreciate your wish to speed up support, but to ensure fast and fair service to all we’d ask you avoid taking this approach 🙂

    1) Can I set a ticket to be set at 1 instead of as they currently list at 0?

    Yes it can!

    Please read through our Themer’s Guide first of all as it explains the basics of the template override process. In this case, you would set up a custom override for the wootickets/tickets.php template.

    Starting around line 49 you should see the start of the woocommerce_quantity_input() function and just below it you can see where the min_value (minimum value) is specified – simply update this from 0 to 1.

    2) Can I set the add to cart button to remain on the product page rather than go to the cart page?

    That should definitely be possible – take a look at the same template I just referenced and you can probably just remove the form action (around line 9).

    3) (Off topic) I have been having trouble editing the events page. It seems that editing the page and viewing the page don’t exactly match. How can I say it? When I preview and edit, I can’t see the calendar and when I look at the calendar page, I can’t see the edit… Anyway, sorry if that is confusing and off topic.

    Event pages don’t live as pages in the traditional WordPress sense, rather they are generated views, so if you happen to have a page with the slug /events/ that isn’t going to work.

    There are still numerous ways to customize it and I’d recommend reading through the Themer’s Guide in the first instance to understand why (if you have further questions on this however it would be best to create a new topic).

    Thanks!

     

     

    #938180
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Preset ticket count to 1’ is closed to new replies.