checkout page with 0 product on the event page

Home Forums Ticket Products Event Tickets Plus checkout page with 0 product on the event page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1145043
    Sallé Alexander
    Participant

    hello,

    on the event page, in section to select the ticket, if we don’t select 1, we let 0, we can also go to the checkout page.

    u can see it here:
    http://mda.axionweb.fr/site/event/test-evenement/

    it’s not good if we need the attendee information, it generate error in the order if the client don’t see that !

    All the best

    Alexander

    #1145302
    Brook
    Participant

    Howdy Alexander,

    I would love to help you with this.

    It is possible to prevent a user from checking out without anything in their cart, if you’re so inclined. All you need to do is add a snippet to your site.

    Paste the following snippet at the top of your theme’s functions.php file. Replace the opening “<?php” with this snippet, as this snippet includes that opening tag.

    https://gist.github.com/elimn/30c533fad7ee5ce4c3cb8a0f727c7190

    Did that do what you wanted?

    Cheers!

    – Brook

    #1145456
    Sallé Alexander
    Participant

    hello

    yes that’s it but rhe snippet doesn’t do anything:
    you can see on that page
    http://mda.axionweb.fr/site/event/test-evenement/

    all the best

    Alexander

    #1145458
    Sallé Alexander
    Participant

    ok it works !

    all the best

    Alexander

    #1146296
    Brook
    Participant

    Oh awesome, I am happy to hear that worked in the end. Thank you very much for getting back.

    Cheers!

    – Brook

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘checkout page with 0 product on the event page’ is closed to new replies.