Support

Home Forums Multiple Event Registration Add-on Multi Event Hide Add To Cart Button

Multi Event Hide Add To Cart Button

Posted: May 23, 2017 at 9:09 am


Joshua Dickard

May 23, 2017 at 9:09 am

Is it possible to hide the button after a user clicks Add to Event Cart? For example, the user would select a ticket, click “Add to Event Cart” button, then instead of the button changing to say “View Event Cart” I want the button to be hidden. My main event page is here: http://www.charlestonlibraryconference.com/conference-registration/


Tony

  • Support Staff

May 23, 2017 at 9:24 am

Hi there,

I don’t really recommend it, but you can do that with a little CSS:

.ticket-selector-submit-btn[value="View Event Cart"] {
    display: none;
}

That checks if the value of the ticket selector button is ‘View Event Cart’ and if so, hides the button with display: none.


Joshua Dickard

May 23, 2017 at 9:44 am

I was torn about the ramifications of hiding it, but I am using the mini cart widget as well as a pre-programmed button at the bottom of the page to prevent users from not being able to proceed. Can you think of any other drawbacks to hiding it?


Tony

  • Support Staff

May 23, 2017 at 10:35 am

Really the only draw back is any locations it may pop up that aren’t obvious and are then missed, leaving the user stuck.

The event list and single event pages are the main examples, any location that you use the ESPRESSO_TICKET_SELECTOR shortcode etc.

I can’t think of any other issues so as long as you fully test the process and confirm it expects how you want it should work ok.

The support post ‘Multi Event Hide Add To Cart Button’ 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