Why is the add to cart button at the bottom?

Home Forums Ticket Products Event Tickets Plus Why is the add to cart button at the bottom?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #56065
    Les
    Participant

    Not going to get ANY orders hidden way down there. How do I move it up to be directly underneath the event, and above the venue? SEE: http://grab.by/oBPw

    #56507
    Barry
    Member

    Hi leslietp, can you see my second post in this thread which gives an example of moving the ticket form to a higher position – does that help?

    You might also be interested in this thread which basically uses the same process but moves it even higher.

    #56512
    Les
    Participant

    Thank you! Perfect.

    Related followup question… how do I get the default # of tickets to be added to be “1” instead of “0”.

    Thank you!

    #56526
    Barry
    Member

    Please familiarize yourself with our updated Themer’s Guide if you haven’t already done so (as a few things have recently changed).

    Then, please copy wootickets/views/tickets.php and place your copy in YOUR_THEME/events/tickets.php.

    Locate this section:

    woocommerce_quantity_input( array( 'input_name' => 'quantity_' . $ticket->ID,
    'input_value' => 0,
    'min_value' => 0,
    'max_value' => $product->backorders_allowed() ? '' : $product->get_stock_quantity(), ) );

    And change ‘input_value’ => 0 to ‘input_value’ => 1 instead (1 being the default value the quantity selector will then use).

    Important! We are shortly going to release a maintenance release at which point the above approach will not work. So if you find that is the case please move your template override from:

    YOUR_THEME/events/tickets.php

    To:

    YOUR_THEME/tribe-events/wootickets/tickets.php

    And you should find your customization comes back to life. You could of course set it up in both locations right from the start, in which case the customization will carry over without interruption.

    I hope that all makes sense but please just let me know if it does not.

    #61036
    Barry
    Member

    Closing this out since it’s been a while.

    #979513
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Why is the add to cart button at the bottom?’ is closed to new replies.